Friday, July 2, 2010

Under Construction

As everyone noticed, this blog is poorly updated. Kindly be patient =) for its update as it is currently under construction. I will post all the progress soon.

And yes, the project is successful.

I will try to respond to all comments as soon as possible.

Thanks.

Wednesday, February 24, 2010

Getting started with Mythbuntu 9.10

After I have re-formatted my PC and started a clean installation of Mythbuntu 9.10 32-bit, now is the time for our quest to make this thing work with our new TV card.

Download the driver here.

Then you will find a H826D_Installer_x86_0.10-Beta_091126.tar.gz file.

Untar it

$ tar -xvf H826D_Installer_x86_0.10-Beta_091126.tar.gz

Then

$ cd H826D_Installer_x86_0.10-Beta

You will find an INSTALL.txt inside

AVerTV Volar HX/AX/MAX Driver Install Howto


1. Launch command terminal
2. Act as root to install driver. There are two ways to do this.

(1) Use sudo. Recommended for Ubuntu Linux users. You need to type your own
password:

$ sudo ./AVERMEDIA-Linux-x86-H826D-0.10-beta.sh
Password:"Type your password here"

(2) Use su. Recommended for most users. You need to type root password:

$ su
Password:"Type root password here"
# ./AVERMEDIA-Linux-x86-H826D-0.10-beta.sh

Then run the script. Make sure you are within the same directory of the script. If not, include the path of the script.

bitto@bitto:~$ ./AVERMEDIA-Linux-x64-H826D-0.10-beta.sh

After successfully running the script, just like I've described in the previous post.

Then unplug and plug your USB card
12 12:11:52 bitto kernel: [ 7.832640] Linux video capture interface: v2.00
Feb 12 12:11:52 bitto kernel: [ 7.926196] AVerMedia USB Wrapper for H826D version 0.28 loaded
Feb 12 12:11:52 bitto kernel: [ 7.942119] h826d: module license 'AVerMedia TECHNOLOGIES, Inc.' taints kernel.
Feb 12 12:11:52 bitto kernel: [ 7.942123] Disabling lock debugging due to kernel taint
Feb 12 12:11:52 bitto kernel: [ 7.956350] AVerTV Volar HX AX MAX version 0.10 loaded
Feb 12 12:11:52 bitto kernel: [ 8.254918] EXT4-fs (sda1): internal journal on sda1:8
Feb 12 12:11:52 bitto kernel: [ 8.494350] RPC: Registered udp transport module.
Feb 12 12:11:52 bitto kernel: [ 8.494353] RPC: Registered tcp transport module.
Feb 12 12:11:52 bitto kernel: [ 9.016091] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Feb 12 12:11:52 bitto kernel: [ 9.205696] type=1505 audit(1265947912.292:11): operation="profile_replace" pid=860 name=/sbin/dhclient3
Feb 12 12:11:52 bitto kernel: [ 9.841778] A827 registered V4L2 device video0[video]
Feb 12 12:11:52 bitto kernel: [ 9.841804] A827 registered V4L2 device vbi0[vbi]
Feb 12 12:11:52 bitto kernel: [ 9.841824] A827 registered V4L2 device radio0[radio]
Feb 12 12:11:52 bitto kernel: [ 9.842077] A827 registered ALSA sound card 1
Feb 12 12:11:52 bitto kernel: [ 9.842097] usbcore: registered new interface driver AVerTV Volar HX AX MAX

You will find these in your dmesg.

Well, the card is detected in this new platform.



Wednesday, February 17, 2010

Now, Its Mythbuntu 9.10 32-bit


As you can see, that is the picture of our desktop. We have switched to Mythbuntu 9.10 32-bit now.

Until then.

Tuesday, February 9, 2010

Card Detected!


I updated my kernel yesterday. from 2.6.31-17 to 2.6.31-19

So, for today, I am hoping for a fresh start because I think I have messed up my old kernel pretty bad already.

bitto@bitto:~$ lsmod
Module Size Used by
binfmt_misc 10220 1
snd_hda_codec_realtek 277860 1
snd_hda_intel 31880 2
snd_hda_codec 87584 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 9352 1 snd_hda_codec
snd_pcm_oss 44704 0
snd_mixer_oss 18976 1 snd_pcm_oss
snd_pcm 93160 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 3460 0
snd_seq_oss 33440 0
snd_seq_midi 8192 0
snd_rawmidi 27360 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 60608 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
iptable_filter 3872 0
snd_timer 26992 2 snd_pcm,snd_seq
snd_seq_device 8308 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ip_tables 21200 1 iptable_filter
x_tables 25832 1 ip_tables
ppdev 8232 0
fglrx 2234552 32
amd64_edac_mod 26688 0
parport_pc 37352 1
edac_core 48876 1 amd64_edac_mod
i2c_piix4 11728 0
psmouse 57124 0
snd 77096 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 9088 1 snd
snd_page_alloc 10928 2 snd_hda_intel,snd_pcm
serio_raw 6596 0
dvb_usb_af9015 32964 0
shpchp 37756 0
dvb_usb 19276 1 dvb_usb_af9015
dvb_core 104528 1 dvb_usb
lp 11908 0
parport 40528 3 ppdev,parport_pc,lp
usbhid 43968 0
sky2 55556 0

Then I installed the driver again.

bitto@bitto:~$ ./AVERMEDIA-Linux-x64-H826D-0.10-beta.sh

Follow all the steps and voila'.

Succesful!


Now,

bitto@bitto:~/Downloads/H826D_Installer_x64_0.10-Beta$ lsmod
Module Size Used by
h826d 677072 1
averusbh826d 105000 1 h826d
videodev 43360 2 h826d
v4l1_compat 16804 1 videodev
v4l2_compat_ioctl32 13344 1 videodev
binfmt_misc 10220 1
snd_hda_codec_realtek 277860 1
snd_hda_intel 31880 2
snd_hda_codec 87584 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 9352 1 snd_hda_codec
snd_pcm_oss 44704 0
snd_mixer_oss 18976 1 snd_pcm_oss
snd_pcm 93160 4 h826d,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 3460 0
snd_seq_oss 33440 0
snd_seq_midi 8192 0
snd_rawmidi 27360 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 60608 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
iptable_filter 3872 0
snd_timer 26992 2 snd_pcm,snd_seq
snd_seq_device 8308 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ip_tables 21200 1 iptable_filter
x_tables 25832 1 ip_tables
ppdev 8232 0
fglrx 2234552 32
amd64_edac_mod 26688 0
parport_pc 37352 1
edac_core 48876 1 amd64_edac_mod
i2c_piix4 11728 0
psmouse 57124 0
snd 77096 17 h826d,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 9088 1 snd
snd_page_alloc 10928 2 snd_hda_intel,snd_pcm
serio_raw 6596 0
dvb_usb_af9015 32964 0
shpchp 37756 0
dvb_usb 19276 1 dvb_usb_af9015
dvb_core 104528 2 h826d,dvb_usb
lp 11908 0
parport 40528 3 ppdev,parport_pc,lp
usbhid 43968 0
sky2 55556 0

bitto@bitto:~ dmesg
.
.
.[ 6828.699051] Linux video capture interface: v2.00
[ 6828.727749] AVerMedia USB Wrapper for H826D version 0.28 loaded
[ 6828.753866] AVerTV Volar HX AX MAX version 0.10 loaded
[ 6828.753901] usbcore: registered new interface driver AVerTV Volar HX AX MAX
[ 6877.720032] usb 2-4: new high speed USB device using ehci_hcd and address 3
[ 6878.355154] usb 2-4: configuration #1 chosen from 1 choice
[ 6878.663504] A827 registered V4L2 device video0[video]
[ 6878.663548] A827 registered V4L2 device vbi0[vbi]
[ 6878.663585] A827 registered V4L2 device radio0[radio]
[ 6878.664057] A827 registered ALSA sound card 1

Detected!

Anyway, we are still making things to work with MythTV. Our MythTV-Backend seems to be accidentally uninstalled by the way. Am not sure whether it's because of the kernel updates.

Status: waiting for the answer from the mythtv mailinglist guys.

Monday, February 8, 2010

Configuring AverTV Volar AX

Now, we are trying to configure new TV capture card to make sure it'll work with MythTV or at least detected by the PC.

First, download the driver

Then, unzip.

bitto@bitto:~/Downloads$ unzip C038A827H826_Installer_x64_0.10-Beta_091126.zip Archive: C038A827H826_Installer_x64_0.10-Beta_091126.zip creating: H826D_Installer_x64_0.10-Beta/ inflating: H826D_Installer_x64_0.10-Beta/Trouble_Shooting.txt inflating: H826D_Installer_x64_0.10-Beta/TV_Player.txt inflating: H826D_Installer_x64_0.10-Beta/API.txt inflating: H826D_Installer_x64_0.10-Beta/AVERMEDIA-Linux-x64-H826D-0.10-beta.sh inflating: H826D_Installer_x64_0.10-Beta/H826D_LinuxDrv_ReleaseNotes_0.10-Beta.txt inflating: H826D_Installer_x64_0.10-Beta/INSTALL.txt bitto@bitto:~/Downloads$ cd H826D_Installer_x64_0.10-Beta/ bitto@bitto:~/Downloads/H826D_Installer_x64_0.10-Beta$ ls API.txt AVERMEDIA-Linux-x64-H826D-0.10-beta.sh H826D_LinuxDrv_ReleaseNotes_0.10-Beta.txt INSTALL.txt Trouble_Shooting.txt TV_Player.tx

Then,
bitto@bitto:~$ sudo ./AVERMEDIA-Linux-x64-H826D-0.10-beta.sh




But it produces this error. I don't know what happened.

Then, I followed another source's instruction.

bitto@bitto:~$ mkdir tvdriver

bitto@bitto:~$ cd tvdriver


bitto@bitto:~/tvdriver$ sudo apt-get install mercurial linux-headers-$(uname -r) build-essential subversion gcc make

[sudo] password for bitto:

Reading package lists... Done
Building dependency tree Reading state information...
Done
mercurial is already the newest version.
linux-headers-2.6.31-17-generic is already the newest version.
build-essential is already the newest version.
gcc is already the newest version.

make is already the newest version.

The following extra packages will be installed:
libsvn1
Suggested packages: subversion-tools db4.7-util
The following NEW packages will be installed:
libsvn1
subversion
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded. Need to get 1,271kB of archives. After this operation, 6,492kB of additional disk space will be used. Do you want to continue [Y/n]? y
Get:1 http://ubuntu.bytecraft.com.my karmic/main libsvn1 1.6.5dfsg-1ubuntu1 [892kB]

Get:2 http://ubuntu.bytecraft.com.my karmic/main subversion 1.6.5dfsg-1ubuntu1 [378kB]
Fetched 1,271kB in 7s (178kB/s) Selecting previously deselected package libsvn1. (Reading database ... 178005 files and directories currently installed.) Unpacking libsvn1 (from .../libsvn1_1.6.5dfsg-1ubuntu1_amd64.deb) ... Selecting previously deselected package subversion. Unpacking subversion (from .../subversion_1.6.5dfsg-1ubuntu1_amd64.deb) ... Processing triggers for man-db ... Setting up libsvn1 (1.6.5dfsg-1ubuntu1) ... Setting up subversion (1.6.5dfsg-1ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place

bitto@bitto:~/tvdriver$ wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw --2010-02-08 17:35:47--
http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw

Resolving www.otit.fi... 130.231.60.120

Connecting to www.otit.fi|130.231.60.120|:80... connected.
HTTP request sent, awaiting response... 200 OK Length: 15913 (16K) [text/plain] Saving to: `dvb-usb-af9015.fw' 100%[===================================================================================================================>] 15,913 22.9K/s in 0.7s 2010-02-08 17:35:49 (22.9 KB/s) - `dvb-usb-af9015.fw' saved
[15913/15913]
bitto@bitto:~/tvdriver$ sudo cp dvb-usb-af9015.fw /lib/firmware/
bitto@bitto:~/tvdriver$ hg clone http://linuxtv.org/hg/~anttip/af9015
destination directory: af9015
requesting all changes
adding changesets
adding manifests

adding file changes added 14067 changesets with 34889 changes to 2653 files
updating working directory
1768 files updated, 0 files merged, 0 files removed, 0 files unresolved

# make

.

.

.

CC /home/bitto/tvdriver/af9015/v4l/videobuf-core.mod.o
LD
[M] /home/bitto/tvdriver/af9015/v4l/videobuf-core.ko
CC /home/bitto/tvdriver/af9015/v4l/videobuf-dma-contig.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/videobuf-dma-contig.ko
CC /home/bitto/tvdriver/af9015/v4l/videobuf-dma-sg.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/videobuf-dma-sg.ko
CC /home/bitto/tvdriver/af9015/v4l/videobuf-dvb.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/videobuf-dvb.ko
CC /home/bitto/tvdriver/af9015/v4l/videobuf-vmalloc.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/videobuf-vmalloc.ko
CC /home/bitto/tvdriver/af9015/v4l/videocodec.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/videocodec.ko
CC /home/bitto/tvdriver/af9015/v4l/videodev.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/videodev.ko
CC /home/bitto/tvdriver/af9015/v4l/vivi.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/vivi.ko
CC /home/bitto/tvdriver/af9015/v4l/vp27smpx.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/vp27smpx.ko
CC /home/bitto/tvdriver/af9015/v4l/vpx3220.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/vpx3220.ko
CC /home/bitto/tvdriver/af9015/v4l/w9966.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/w9966.ko
CC /home/bitto/tvdriver/af9015/v4l/w9968cf.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/w9968cf.ko
CC /home/bitto/tvdriver/af9015/v4l/wm8739.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/wm8739.ko
CC /home/bitto/tvdriver/af9015/v4l/wm8775.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/wm8775.ko
CC /home/bitto/tvdriver/af9015/v4l/xc5000.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/xc5000.ko
CC /home/bitto/tvdriver/af9015/v4l/zc0301.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zc0301.ko
CC /home/bitto/tvdriver/af9015/v4l/zl10036.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zl10036.ko
CC /home/bitto/tvdriver/af9015/v4l/zl10039.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zl10039.ko
CC /home/bitto/tvdriver/af9015/v4l/zl10353.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zl10353.ko
CC /home/bitto/tvdriver/af9015/v4l/zr36016.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zr36016.ko
CC /home/bitto/tvdriver/af9015/v4l/zr36050.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zr36050.ko
CC /home/bitto/tvdriver/af9015/v4l/zr36060.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zr36060.ko
CC /home/bitto/tvdriver/af9015/v4l/zr36067.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zr36067.ko
CC /home/bitto/tvdriver/af9015/v4l/zr364xx.mod.o LD
[M] /home/bitto/tvdriver/af9015/v4l/zr364xx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic' ./scripts/rmmod.pl check found 338 modules -e
Removing obsolete files from /lib/modules/2.6.31-17-generic/kernel/drivers/media/video:
-e
Removing obsolete files from /lib/modules/2.6.31-17-generic/kernel/drivers/media/dvb/cinergyT2:
-e
Removing obsolete files from /lib/modules/2.6.31-17-generic/kernel/drivers/media/common: -e
Removing obsolete files from /lib/modules/2.6.31-17-generic/kernel/drivers/media/dvb/frontends:

Installing kernel modules under /lib/modules/2.6.31-17-generic/kernel/drivers/media/:
video/gspca/m5602/: gspca_m5602.ko dvb/dvb-usb/:
dvb-usb-dtv5100.ko dvb-usb-opera.ko
dvb-usb-cxusb.ko
dvb-usb-vp7045.ko
dvb-usb-af9005-remote.ko dvb-usb-ttusb2.ko
dvb-usb-af9015.ko dvb-usb-dib0700.ko dvb-usb-a800.ko
dvb-usb-gp8psk.ko dvb-usb-dibusb-common.ko
dvb-usb-au6610.ko
dvb-usb-digitv.ko
dvb-usb.ko dvb-usb-dibusb-mc.ko
dvb-usb-af9005.ko
dvb-usb-nova-t-usb2.ko dvb-usb-friio.ko

dvb-usb-ce6230.ko dvb-usb-dtt200u.ko
dvb-usb-cinergyT2.ko
dvb-usb-vp702x.ko
dvb-usb-umt-010.ko dvb-usb-anysee.ko
dvb-usb-dibusb-mb.ko dvb-usb-dw2102.ko
dvb-usb-gl861.ko
dvb-usb-ec168.ko dvb-usb-m920x.ko
video/saa7164/: saa7164.ko

video/zoran/: videocodec.ko zr36050.ko zr36016.ko
zr36060.ko zr36067.ko
video/cx18/: cx18.ko cx18-alsa.ko video/cpia2/: cpia2.ko
dvb/b2c2/: b2c2-flexcop-pci.ko b2c2-flexcop.ko b2c2-flexcop-usb.ko video/ivtv/:
ivtvfb.ko ivtv.ko
dvb/mantis/: mantis_core.ko mantis.ko hopper.ko video/hdpvr/: hdpvr.ko common/tuners/: tuner-xc2028.ko
mt2060.ko tda9887.ko
mt2131.ko mc44s803.ko qt1010.ko
max2165.ko mt20xx.ko tda827x.ko tda18271.ko xc5000.ko
mxl5007t.ko
tea5761.ko tuner-types.ko tda8290.ko
tuner-simple.ko mt2266.ko tea5767.ko
mxl5005s.ko
video/sn9c102/: sn9c102.ko
dvb/dvb-core/: dvb-core.ko video/: videobuf-dma-contig.ko vpx3220.ko videobuf-dma-sg.ko bt856.ko upd64083.ko v4l2-compat-ioctl32.ko stradis.ko videobuf-core.ko ths7303.ko tda9840.ko saa7191.ko cx2341x.ko wm8775.ko meye.ko adv7180.ko w9968cf.ko rj54n1cb0c.ko saa7185.ko tuner.ko mt9t031.ko zr364xx.ko ks0127.ko stv680.ko videobuf-dvb.ko tvaudio.ko tea6420.ko bt866.ko cafe_ccic.ko mt9v011.ko saa5246a.ko msp3400.ko tvp514x.ko tcm825x.ko soc_camera.ko wm8739.ko stkwebcam.ko saa5249.ko cpia_pp.ko soc_mediabus.ko tda7432.ko w9966.ko ir-kbd-i2c.ko mt9m001.ko upd64031a.ko ov511.ko tea6415c.ko dabusb.ko bt819.ko cpia_usb.ko videodev.ko mxb.ko tda9875.ko adv7175.ko vivi.ko soc_camera_platform.ko adv7343.ko cs53l32a.ko s2255drv.ko btcx-risc.ko se401.ko saa7110.ko saa7115.ko saa6588.ko v4l2-common.ko hexium_gemini.ko hexium_orion.ko tw9910.ko tvp5150.ko mt9m111.ko vp27smpx.ko adv7170.ko ov772x.ko ov7670.ko saa7127.ko m52790.ko ov9640.ko mt9v022.ko v4l1-compat.ko videobuf-vmalloc.ko v4l2-int-device.ko c-qcam.ko tveeprom.ko cs5345.ko saa717x.ko cpia.ko tlv320aic23b.ko bw-qcam.ko mt9t112.ko video/cx23885/: cx23885.ko dvb/bt8xx/: dst_ca.ko dvb-bt8xx.ko bt878.ko dst.ko dvb/siano/: smssdio.ko smsdvb.ko smsusb.ko smsmdtv.ko video/cx25840/: cx25840.ko dvb/ttusb-dec/: ttusbdecfe.ko ttusb_dec.ko dvb/dm1105/: dm1105.ko video/cx231xx/: cx231xx.ko cx231xx-dvb.ko cx231xx-alsa.ko video/saa7134/: saa6752hs.ko saa7134-empress.ko saa7134-alsa.ko saa7134-dvb.ko saa7134.ko dvb/ttpci/: dvb-ttpci.ko budget-patch.ko ttpci-eeprom.ko budget-av.ko budget.ko budget-core.ko budget-ci.ko video/et61x251/: et61x251.ko video/gspca/gl860/: gspca_gl860.ko IR/: ir-core.ko ir-common.ko radio/si470x/: radio-usb-si470x.ko dvb/frontends/: nxt6000.ko dib7000m.ko dib0090.ko drx397xD.ko s5h1411.ko tda665x.ko dib8000.ko nxt200x.ko s921.ko s5h1409.ko atbm8830.ko dib3000mb.ko ec100.ko lgs8gl5.ko dib3000mc.ko stv0900.ko sp8870.ko tda8083.ko stv0297.ko tda10086.ko zl10353.ko mb86a16.ko lgs8gxx.ko stv0299.ko dvb-pll.ko cx22702.ko lgdt3304.ko tda8261.ko tua6100.ko bcm3510.ko stb0899.ko or51211.ko cx24113.ko tda826x.ko af9013.ko au8522.ko si21xx.ko s5h1420.ko stv090x.ko stv0288.ko mt352.ko zl10039.ko isl6405.ko sp887x.ko dibx000_common.ko isl6421.ko mt312.ko or51132.ko tda1004x.ko stv6110.ko itd1000.ko stv6110x.ko zl10036.ko lgdt3305.ko dib7000p.ko l64781.ko ves1x93.ko stb6100.ko ves1820.ko dib0070.ko cx22700.ko cx24110.ko dvb_dummy_fe.ko lgdt330x.ko cx24123.ko lnbp21.ko stb6000.ko isl6423.ko tda10023.ko cx24116.ko tda10021.ko tda10048.ko ds3000.ko video/bt8xx/: bttv.ko video/cx88/: cx8802.ko cx8800.ko cx88-blackbird.ko cx88-alsa.ko cx88xx.ko cx88-vp3054-i2c.ko cx88-dvb.ko video/gspca/: gspca_stk014.ko gspca_spca501.ko gspca_spca500.ko gspca_mars.ko gspca_stv0680.ko gspca_sunplus.ko gspca_vc032x.ko gspca_benq.ko gspca_spca505.ko gspca_sn9c20x.ko gspca_zc3xx.ko gspca_sq905c.ko gspca_sonixb.ko gspca_etoms.ko gspca_pac7302.ko gspca_pac207.ko gspca_ov534_9.ko gspca_spca508.ko gspca_sq905.ko gspca_sn9c2028.ko gspca_t613.ko gspca_spca561.ko gspca_ov534.ko gspca_tv8532.ko gspca_jeilinj.ko gspca_spca506.ko gspca_sonixj.ko gspca_main.ko gspca_cpia1.ko gspca_conex.ko gspca_mr97310a.ko gspca_pac7311.ko gspca_ov519.ko gspca_finepix.ko dvb/pluto2/: pluto2.ko video/usbvideo/: ibmcam.ko usbvideo.ko vicam.ko ultracam.ko konicawc.ko quickcam_messenger.ko video/usbvision/: usbvision.ko common/: saa7146_vv.ko saa7146.ko video/gspca/stv06xx/: gspca_stv06xx.ko video/em28xx/: em28xx-dvb.ko em28xx-alsa.ko em28xx.ko radio/: dsbr100.ko radio-maestro.ko si4713-i2c.ko tef6862.ko radio-maxiradio.ko radio-tea5764.ko radio-si4713.ko radio-gemtek-pci.ko radio-mr800.ko video/pvrusb2/: pvrusb2.ko dvb/pt1/: earth-pt1.ko video/uvc/: uvcvideo.ko dvb/ttusb-budget/: dvb-ttusb-budget.ko video/pwc/: pwc.ko video/ovcamchip/: ovcamchip.ko video/zc0301/: zc0301.ko video/au0828/: au0828.ko /sbin/depmod -a 2.6.31-17-generic make -C firmware install make[1]:

Entering directory `/home/bitto/tvdriver/af9015/v4l/firmware'
Installing firmwares at /lib/firmware: vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin make[1]: Leaving directory `/home/bitto/tvdriver/af9015/v4l/firmware'

bitto@bitto:~/tvdriver/af9015/v4l$ echo dvb_usb_af9015 | sudo tee -a /etc/modules dvb_usb_af9015

When I dmesg, this is the output.

# dmesg 13.018589] Linux video capture interface: v2.00 [ 13.022213] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 13.067954] AVerMedia USB Wrapper for H826D version 0.28 loaded [ 13.127233] hda_codec: Unknown model for ALC662 rev1, trying auto-probe from BIOS... [ 13.128844] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input5 [ 13.191101] EXT4-fs (sda1): internal journal on sda1:8 [ 13.198021] h826d: disagrees about version of symbol dvb_dmxdev_release [ 13.198025] h826d: Unknown symbol dvb_dmxdev_release [ 13.198097] h826d: disagrees about version of symbol video_devdata [ 13.198098] h826d: Unknown symbol video_devdata [ 13.198789] h826d: disagrees about version of symbol dvb_dmx_init [ 13.198795] h826d: Unknown symbol dvb_dmx_init [ 13.199178] h826d: disagrees about version of symbol dvb_register_adapter [ 13.199184] h826d: Unknown symbol dvb_register_adapter [ 13.199390] h826d: disagrees about version of symbol dvb_dmx_release [ 13.199396] h826d: Unknown symbol dvb_dmx_release [ 13.200703] h826d: disagrees about version of symbol dvb_dmxdev_init [ 13.200704] h826d: Unknown symbol dvb_dmxdev_init [ 13.200840] h826d: disagrees about version of symbol dvb_unregister_frontend [ 13.200842] h826d: Unknown symbol dvb_unregister_frontend [ 13.201138] h826d: disagrees about version of symbol video_register_device [ 13.201144] h826d: Unknown symbol video_register_device [ 13.201484] h826d: disagrees about version of symbol dvb_dmx_swfilter_packets [ 13.201490] h826d: Unknown symbol dvb_dmx_swfilter_packets [ 13.202997] h826d: disagrees about version of symbol video_device_release [ 13.203003] h826d: Unknown symbol video_device_release [ 13.203461] h826d: disagrees about version of symbol video_device_alloc [ 13.203463] h826d: Unknown symbol video_device_alloc [ 13.203984] h826d: disagrees about version of symbol video_unregister_device [ 13.203990] h826d: Unknown symbol video_unregister_device [ 13.204126] h826d: disagrees about version of symbol dvb_unregister_adapter [ 13.204132] h826d: Unknown symbol dvb_unregister_adapter [ 13.206252] h826d: disagrees about version of symbol dvb_register_frontend [ 13.206258] h826d: Unknown symbol dvb_register_frontend [ 13.208726] usbcore: registered new interface driver dvb_usb_af9015 [ 13.348259] __ratelimit: 9 callbacks suppressed [ 13.348262] type=1505 audit(1265627539.474:14): operation="profile_replace" pid=920 name=/usr/share/gdm/guest-session/Xsession [ 13.349556] type=1505 audit(1265627539.474:15): operation="profile_replace" pid=921 name=/sbin/dhclient3 [ 13.349816] type=1505 audit(1265627539.474:16): operation="profile_replace" pid=921 name=/usr/lib/NetworkManager/nm-dhcp-client.action [ 13.349993] type=1505 audit(1265627539.474:17): operation="profile_replace" pid=921 name=/usr/lib/connman/scripts/dhclient-script [ 13.353228] type=1505 audit(1265627539.474:18): operation="profile_replace" pid=922 name=/usr/bin/evince [ 13.357574] type=1505 audit(1265627539.484:19): operation="profile_replace" pid=922 name=/usr/bin/evince-previewer [ 13.360008] type=1505 audit(1265627539.484:20): operation="profile_replace" pid=922 name=/usr/bin/evince-thumbnailer [ 13.364740] type=1505 audit(1265627539.494:21): operation="profile_replace" pid=924 name=/usr/lib/cups/backend/cups-pdf [ 13.365062] type=1505 audit(1265627539.494:22): operation="profile_replace" pid=924 name=/usr/sbin/cupsd [ 13.366554] type=1505 audit(1265627539.494:23): operation="profile_replace" pid=925 name=/usr/sbin/mysqld

But now, we cannot watch TV even from TVTime.

Stuck again.

New TV Card


We bought a new card. AverTV Volar AX. Just in case our current card will not work for MythTV. We found that it supports Linux and MythTV from here.

Hope this'll work.

Sunday, February 7, 2010

Hanging TVTime

We are trying to scan the channel using TVTime. But our PC 'hang'ed everytime we're doing it. Now, we're stuck here. Still finding solutions to it though..



Stuck..

Saturday, February 6, 2010

Kernel Patch to Device Detected!

I get in touch with one of my contacts and he suggested me to try using tvtime, again.

scanning channel..
$ tvtime-scanner --norm=PAL
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/bitto/.tvtime/tvtime.xml
Scanning using TV standard PAL.
/home/bitto/.tvtime/stationlist.xml: No existing PAL station list "Custom".

Your capture card driver: em28xx [Kaiomy TVnPC U2/usb-0000:00:12.2-5/258]
does not support studio-quality colour images required by tvtime.
This is a hardware limitation of some cards including many
low-quality webcams. Please select a different video device to use
with the command line option --device.

Message from the card was: Device or resource busy

Nothing's found.

bitto@bitto:/lib/firmware$ dmesg | tail
[87829.944624] em28xx #0: AC97 features = 0x6a90
[87829.944628] em28xx #0: Empia 202 AC97 audio processor detected
[87830.784726] tvp5150 1-005c: tvp5150am1 detected.
[87834.463771] em28xx #0: v4l2 driver version 0.1.2
[87835.963945] em28xx #0: Registered radio device as /dev/radio0
[87835.963951] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
[87835.963956] em28xx-audio.c: probing for em28x1 non standard usbaudio
[87835.963960] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[87836.502795] tvp5150 1-005c: tvp5150am1 detected.
[87848.800602] tvp5150 1-005c: tvp5150am1 detected.

My firmware is good.

$ lsmod
Module Size Used by
nls_iso8859_1 5280 1
nls_cp437 6976 1
vfat 13184 1
fat 59832 1 vfat
em28xx_alsa 9508 1
binfmt_misc 10220 1
tuner_xc2028 22560 1
tuner_simple 16468 1
tuner_types 18496 1 tuner_simple
tuner 24520 2
tvp5150 17492 1
snd_hda_codec_realtek 277860 1
snd_hda_intel 31880 2
snd_hda_codec 87584 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 9352 1 snd_hda_codec
snd_pcm_oss 44704 0
snd_mixer_oss 18976 1 snd_pcm_oss
snd_pcm 93160 4 em28xx_alsa,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 3460 0
snd_seq_oss 33440 0
iptable_filter 3872 0
snd_seq_midi 8192 0
snd_rawmidi 27360 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
ip_tables 21200 1 iptable_filter
x_tables 25832 1 ip_tables
snd_seq 60608 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
em28xx 95184 1 em28xx_alsa
snd_timer 26992 2 snd_pcm,snd_seq
ir_common 52740 1 em28xx
snd_seq_device 8308 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
v4l2_common 21024 3 tuner,tvp5150,em28xx
videodev 43360 4 tuner,tvp5150,em28xx,v4l2_common
v4l1_compat 16804 1 videodev
v4l2_compat_ioctl32 13344 1 videodev
videobuf_vmalloc 7844 1 em28xx
videobuf_core 21188 2 em28xx,videobuf_vmalloc
tveeprom 14884 1 em28xx
psmouse 57124 0
serio_raw 6596 0
ppdev 8232 0
fglrx 2234552 33
parport_pc 37352 1
amd64_edac_mod 26688 0
edac_core 48876 1 amd64_edac_mod
snd 77096 19 em28xx_alsa,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 9088 1 snd
shpchp 37756 0
snd_page_alloc 10928 2 snd_hda_intel,snd_pcm
lp 11908 0
i2c_piix4 11728 0
parport 40528 3 ppdev,parport_pc,lp
usb_storage 66016 1
usbhid 43968 0
sky2 55556 0

Then only I know that the fimware has stop its support until kernel 2.6.28 while I'm using 2.6.31

$ uname -r
2.6.31-17-generic

So I have to install the kernel patch which add compatibility with backward kernel. Source

$ hg clone http://linuxtv.org/hg/v4l-dvb
destination directory: v4l-dvb
requesting all changes
adding changesets
adding manifests
adding file changes

This process took a long time that I decided to just download directly from the link.

Untar it.
$ tar xf v4l-dvb-bc2c81548b60.tar.bz2

$ cd v4l-dvb-bc2c81548b60/
$ make

'make' produces this error

/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c: At top level:
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:267: error: variable 'fdtv_driver' has initializer but incomplete type
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:268: error: unknown field 'name' specified in initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:268: warning: excess elements in struct initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:268: warning: (near initialization for 'fdtv_driver')
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:269: error: unknown field 'id_table' specified in initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:269: warning: excess elements in struct initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:269: warning: (near initialization for 'fdtv_driver')
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:270: error: unknown field 'update' specified in initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:270: warning: excess elements in struct initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:270: warning: (near initialization for 'fdtv_driver')
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:271: error: unknown field 'driver' specified in initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:271: error: extra brace group at end of initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:271: error: (near initialization for 'fdtv_driver')
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:274: warning: excess elements in struct initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:274: warning: (near initialization for 'fdtv_driver')
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:277: error: variable 'fdtv_highlevel' has initializer but incomplete type
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:278: error: unknown field 'name' specified in initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:278: warning: excess elements in struct initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:278: warning: (near initialization for 'fdtv_highlevel')
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:279: error: unknown field 'fcp_request' specified in initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:279: warning: excess elements in struct initializer
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:279: warning: (near initialization for 'fdtv_highlevel')
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:286: error: implicit declaration of function 'hpsb_register_highlevel'
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:287: error: implicit declaration of function 'hpsb_register_protocol'
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:290: error: implicit declaration of function 'hpsb_unregister_highlevel'
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.c:297: error: implicit declaration of function 'hpsb_unregister_protocol'
make[3]: *** [/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l'
make: *** [all] Error 2

make[3]: *** [/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/bitto/Downloads/v4l-dvb-bc2c81548b60/v4l'
make: *** [all] Error 2

I have to edit this file '.config'

$ cd v4l
$ sudo gedit .config
From FIREDTV=m to FIREDTV=n

$cd ..
$make
$sudo make install

$lsmod | grep em28xx
em28xx_alsa 9412 1
em28xx 105400 1 em28xx_alsa
v4l2_common 21504 3 tuner,tvp5150,em28xx
videodev 45376 4 tuner,tvp5150,em28xx,v4l2_common
ir_common 53120 1 em28xx
videobuf_vmalloc 7844 1 em28xx
videobuf_core 20964 2 em28xx,videobuf_vmalloc
ir_core 8728 2 em28xx,ir_common
snd_pcm 93160 4 em28xx_alsa,snd_hda_intel,snd_hda_codec,snd_pcm_oss
tveeprom 14820 1 em28xx
snd 77096 19 em28xx_alsa,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,sn

$ dmesg
[ 13.081741] Linux video capture interface: v2.00
[ 13.095654] EXT4-fs (sda1): internal journal on sda1:8
[ 13.110462] em28xx: New device USB 2863 Device @ 480 Mbps (eb1a:e303, interface 0, class 0)
[ 13.110757] em28xx #0: chip ID is em2860
[ 13.116393] hda_codec: Unknown model for ALC662 rev1, trying auto-probe from BIOS...
[ 13.117981] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input5
[ 13.471114] sky2 eth0: enabling interface
[ 13.471364] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.526763] __ratelimit: 9 callbacks suppressed
[ 13.526766] type=1505 audit(1265352709.654:14): operation="profile_replace" pid=949 name=/usr/share/gdm/guest-session/Xsession
[ 13.528074] type=1505 audit(1265352709.654:15): operation="profile_replace" pid=950 name=/sbin/dhclient3
[ 13.528331] type=1505 audit(1265352709.654:16): operation="profile_replace" pid=950 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[ 13.528480] type=1505 audit(1265352709.654:17): operation="profile_replace" pid=950 name=/usr/lib/connman/scripts/dhclient-script
[ 13.531311] type=1505 audit(1265352709.654:18): operation="profile_replace" pid=951 name=/usr/bin/evince
[ 13.535537] type=1505 audit(1265352709.664:19): operation="profile_replace" pid=951 name=/usr/bin/evince-previewer
[ 13.537981] type=1505 audit(1265352709.664:20): operation="profile_replace" pid=951 name=/usr/bin/evince-thumbnailer
[ 13.542718] type=1505 audit(1265352709.664:21): operation="profile_replace" pid=953 name=/usr/lib/cups/backend/cups-pdf
[ 13.543040] type=1505 audit(1265352709.664:22): operation="profile_replace" pid=953 name=/usr/sbin/cupsd
[ 13.544522] type=1505 audit(1265352709.674:23): operation="profile_replace" pid=954 name=/usr/sbin/mysqld
[ 13.589885] em28xx #0: i2c eeprom 00: 1a eb 67 95 1a eb 03 e3 d0 00 5c 03 6a 22 00 00
[ 13.589893] em28xx #0: i2c eeprom 10: 00 00 04 57 4e 03 01 00 00 00 00 00 00 00 00 00
[ 13.589901] em28xx #0: i2c eeprom 20: 06 00 01 00 f0 10 01 00 00 00 00 00 5b 00 00 00
[ 13.589907] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
[ 13.589913] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589919] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589924] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
[ 13.589930] em28xx #0: i2c eeprom 70: 42 00 20 00 32 00 38 00 36 00 33 00 20 00 44 00
[ 13.589936] em28xx #0: i2c eeprom 80: 65 00 76 00 69 00 63 00 65 00 00 00 00 00 00 00
[ 13.589942] em28xx #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589948] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589954] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589959] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589965] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589971] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589977] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 13.589984] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x9dca1441
[ 13.589985] em28xx #0: EEPROM info:
[ 13.589987] em28xx #0: AC97 audio (5 sample rates)
[ 13.589988] em28xx #0: 500mA max power
[ 13.589990] em28xx #0: Table at 0x04, strings=0x226a, 0x0000, 0x0000
[ 13.591500] em28xx #0: Identified as Kaiomy TVnPC U2 (card=63)
[ 13.595277] tvp5150 1-005c: chip found @ 0xb8 (em28xx #0)
[ 13.597551] tuner 1-0000: chip found @ 0x0 (em28xx #0)
[ 13.598782] tuner 1-0061: chip found @ 0xc2 (em28xx #0)
[ 13.706942] tuner-simple 1-0000: unable to probe Alps TSBE1, proceeding anyway.
[ 13.706946] tuner-simple 1-0000: creating new instance
[ 13.706949] tuner-simple 1-0000: type set to 10 (Alps TSBE1)
[ 13.730554] xc2028 1-0061: creating new instance
[ 13.730557] xc2028 1-0061: type set to XCeive xc2028/xc3028 tuner
[ 13.743789] usb 1-5: firmware: requesting xc3028-v27.fw
[ 13.926762] xc2028 1-0061: Error: firmware xc3028-v27.fw not found.
[ 13.943840] input: em28xx IR (em28xx #0) as /devices/pci0000:00/0000:00:12.2/usb1/1-5/input/input6
[ 13.943896] Creating IR device irrcv0
[ 13.944693] em28xx #0: Config register raw data: 0xd0
[ 13.984709] em28xx #0: AC97 vendor ID = 0xffffffff
[ 14.004281] em28xx #0: AC97 features = 0x6a90
[ 14.004283] em28xx #0: Empia 202 AC97 audio processor detected
[ 14.847183] tvp5150 1-005c: tvp5150am1 detected.
[ 15.151073] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
[ 15.168534] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 16.881287] usplash:370 freeing invalid memtype ffffffffd0000000-ffffffffd1000000
[ 18.673773] em28xx #0: v4l2 driver version 0.1.2
[ 20.313863] em28xx #0: Registered radio device as radio0
[ 20.313867] em28xx #0: V4L2 video device registered as video0
[ 20.313869] em28xx #0: V4L2 VBI device registered as vbi0
[ 20.333803] usbcore: registered new interface driver em28xx
[ 20.333807] em28xx driver loaded
[ 20.336965] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 20.336968] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[ 20.337243] Em28xx: Initialized (Em28xx Audio Extension) extension
[ 20.646428] [fglrx] GART Table is not in FRAME_BUFFER range
[ 20.646549] alloc irq_desc for 27 on node 0
[ 20.646551] alloc kstat_irqs on node 0
[ 20.646560] fglrx_pci 0000:01:05.0: irq 27 for MSI/MSI-X
[ 20.647018] [fglrx] Firegl kernel thread PID: 2169
[ 21.512265] [fglrx] Gart USWC size:547 M.
[ 21.512269] [fglrx] Gart cacheable size:215 M.
[ 21.512274] [fglrx] Reserved FB block: Shared offset:0, size:1000000
[ 21.512277] [fglrx] Reserved FB block: Unshared offset:fffb000, size:5000
[ 25.560015] eth0: no IPv6 routers present
[ 387.790506] tvp5150 1-005c: tvp5150am1 detected.
[ 392.110514] tvp5150 1-005c: tvp5150am1 detected.
[ 396.471058] tvp5150 1-005c: tvp5150am1 detected.
[ 400.790694] tvp5150 1-005c: tvp5150am1 detected.
[ 405.110706] tvp5150 1-005c: tvp5150am1 detected.

* Note the capture device part

The device is now detected!

Contacts

Back from the holidays. I finished my time mostly on developing contacts with people who have tried using MythTV and subscribing to mailing list.

LinuxTV: linux-media@vger.kernel.org
MythTV: mythtv-users@mythtv.org
Debian-Multimedia discussion:
dmo-discussion@debian-multimedia.org

I know that I should have done earlier ~

Holidays

Jan 22: Off to holiday~


Installing TVTime

We tried to install TVTime in the effort of testing the TV card.

$ sudo apt-get install tvtime

Finish installing, and we get screen like this.


Scanning for channels..


We didn't get any signals though..

Firmware Needed

In Karmic, we have found sources saying that firmware is needed to make sure the card is detected as tuner card by the system.

$ dmesg

[ 13.646674] em28xx: New device USB 2863 Device @ 480 Mbps (eb1a:e303, interface 0, class 0)
[ 13.646972] em28xx #0: chip ID is em2860
[ 13.652496] hda_codec: Unknown model for ALC662 rev1, trying auto-probe from BIOS...
[ 13.654234] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input5
[ 13.858062] sky2 eth0: enabling interface
[ 13.858298] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.005136] __ratelimit: 9 callbacks suppressed
[ 14.005139] type=1505 audit(1265444227.134:14): operation="profile_replace" pid=910 name=/usr/share/gdm/guest-session/Xsession
[ 14.006448] type=1505 audit(1265444227.134:15): operation="profile_replace" pid=911 name=/sbin/dhclient3
[ 14.006706] type=1505 audit(1265444227.134:16): operation="profile_replace" pid=911 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[ 14.006853] type=1505 audit(1265444227.134:17): operation="profile_replace" pid=911 name=/usr/lib/connman/scripts/dhclient-script
[ 14.009667] type=1505 audit(1265444227.134:18): operation="profile_replace" pid=912 name=/usr/bin/evince
[ 14.013885] type=1505 audit(1265444227.144:19): operation="profile_replace" pid=912 name=/usr/bin/evince-previewer
[ 14.016329] type=1505 audit(1265444227.144:20): operation="profile_replace" pid=912 name=/usr/bin/evince-thumbnailer
[ 14.021055] type=1505 audit(1265444227.144:21): operation="profile_replace" pid=914 name=/usr/lib/cups/backend/cups-pdf
[ 14.021376] type=1505 audit(1265444227.144:22): operation="profile_replace" pid=914 name=/usr/sbin/cupsd
[ 14.022890] type=1505 audit(1265444227.144:23): operation="profile_replace" pid=915 name=/usr/sbin/mysqld
[ 14.129831] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x9dca1441
[ 14.129833] em28xx #0: EEPROM info:
[ 14.129834] em28xx #0: AC97 audio (5 sample rates)
[ 14.129835] em28xx #0: 500mA max power
[ 14.129837] em28xx #0: Table at 0x04, strings=0x226a, 0x0000, 0x0000
[ 14.130850] em28xx #0: Identified as Kaiomy TVnPC U2 (card=63)
[ 14.133131] tvp5150 1-005c: chip found @ 0xb8 (em28xx #0)
[ 14.135076] tuner 1-0000: chip found @ 0x0 (em28xx #0)
[ 14.136064] tuner 1-0061: chip found @ 0xc2 (em28xx #0)
[ 14.292952] tuner-simple 1-0000: unable to probe Alps TSBE1, proceeding anyway.
[ 15.314670] tvp5150 1-005c: tvp5150am1 detected.
[ 15.538277] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
[ 15.538517] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 18.589220] usplash:373 freeing invalid memtype ffffffffd0000000-ffffffffd1000000
[ 19.163768] em28xx #0: v4l2 driver version 0.1.2
[ 20.800118] em28xx #0: Registered radio device as radio0


It did not say anything about 'capture'. As it says, firmware are needed, we did as told

$ sudo su-
$ apt-get install mercurial linux-headers-$(uname -r) linux-source build-essential
$ cd /lib/firmware
$ wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz
$ tar xvzf firmware_v4.tgz
$ hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental

Then, nothing happened. Only then we discovered that the link no longer exist.

So now, we're stuck. Again.

Friday, February 5, 2010

Detection Trouble in Jaunty Solved in Karmic?

Jan 21: Using KWorld is tough. First, we tried to use it inside WinXP (duh) just to make sure the card is not broken. After installing the software needed to make it running, yep, the device works nicely in WinXP (though the reception is quite blurry).

So, we decided to try it with Jaunty. Plugged it in and type

$ lsusb

Generating this output.

Bus 003 Device 003: ID 04b3:310c IBM Corp. Wheel Mouse

Bus 003 Device 002: ID 04b3:3025 IBM Corp.

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 004: ID eb1a:e303 eMPIA Technology, Inc.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Then we tried following the instructions that we got from this site:
Still, no sign of the card is detected by our system. So, we decided to install a package to test whether the card is really detected by this PC.

So we installed kaffeine

$ sudo apt-get install kaffeine libxine1 libxine1-all-plugins phonon-backend-xine

Finished installing, there is still no sign of a capture card is detected. So, my friend suggested that we switched to Karmic. Not willing to take the chance we tried that on his Karmic. At least, it shows a promising sign we we plugged it in. Kaffeine also has a 'Digital TV' button compared to when we used Jaunty, there are no 'Digital TV' button at all.




















* Note the 'Digital TV' button in circle

So we installed Karmic with the hope that it'll automatically detects the device.

Hopefully..

KWorld USB 303U

Jan 21: We borrowed a TV card from a friend. We are very thankful though we knew the card are not listed in the card tested with MythTV.

















Now we have to make sure the card is working with this PC. Well, at least detects it

Obsolete

Jan 18: We received this email from Bro Syed.


To: SYED
Subject: Quotation for Hauppauge Win TV PVR 150

Salam Mr. Syed

Further to our meeting previously, hereby I would like to inform you that the product (Happauge WIN TV PVR 150) which you ask the quotation for is already obsolete. The production already stop to produce it, but I will get the replacement product quotation for you later as your reference or onward consideration.

Thank you.

--
Amirul Ismail


For real? I didn't know about that. I guessed its because it has stopped its production in the US since they are using digital signal there. We have to opt for another card then. (Another research)