Author |
Message |
lhassell
|
Posted: Mon Jul 14, 2008 5:58 pm |
|
Joined: Wed Sep 27, 2006 4:47 pm
Posts: 46
|
I have a card not supported by the DVB drivers in 5.5, but there is a driver in the latest V4L-DVB package. I downloaded it, and tried to compile after installing the kernel source. Here are the last few lines of the make log.
Code: CC [M] /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/saa7146_core.o CC [M] /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/saa7146_fops.o CC [M] /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/saa7146_video.o CC [M] /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/saa7146_hlp.o CC [M] /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/saa7146_vbi.o CC [M] /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.o /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.c: In function 'smscore_detect_mode': /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.c:689: error: 'uintptr_t' undeclared (first use in this function) /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.c:689: error: (Each undeclared identifier is reported only once /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.c:689: error: for each function it appears in.) /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.c: In function 'smscore_set_device_mode': /storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.c:820: error: 'uintptr_t' undeclared (first use in this function) make[3]: *** [/storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l/smscoreapi.o] Error 1 make[2]: *** [_module_/storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.23-chw-4' make[1]: *** [default] Error 2 make[1]: Leaving directory `/storage/v4l-dvb/v4l-dvb-0ebffe1cc136/v4l' make: *** [all] Error 2
Can anyone help me figure out what is keeping it from compiling? My linux-fu is sketchy at best, but I'm not afraid to ask.
Thanks.
|
|
Top |
|
|
babblefish
|
Posted: Tue Jul 15, 2008 3:50 am |
|
Joined: Sun Mar 05, 2006 11:27 am
Posts: 44
Location:
Edinburgh, Scotland
|
Looks like a problem was introduced into the development tree a few days ago. I have not looked into why it is failing, but I happened to checkout revision 8250 last week and it compiles OK.
You can checkout this particular version as follows.
Code: hg clone -r 8250 http://linuxtv.org/hg/v4l-dvb
I haven't done any real testing with this revision. In the past using the v4l-dvb development tree has had incompatibilities with ivtv based cards. I am not sure of the current position though.
Edit: Added Caveat
|
|
Top |
|
|
auttila
|
Posted: Tue Jul 15, 2008 12:16 pm |
|
Joined: Tue Nov 28, 2006 3:38 am
Posts: 82
Location:
Kangasala, Finland
|
Thanks babblefish!
I was just about to build a KM box to our cabin, and I have a USB anysee tuner lying around. I compiled the v4l drivers three days ago, but my trusty old 40 GB disk blew. And now that I tried it - wont compile. Almost posted here if anyone has any hints to fix it, and obviously someone did.
Once again.
What a magnificient community!
_________________ Jari-Matti
MBE&FE: GeForce MX440, Athlon XP 2000+, MSI KT333 Ultra, onboard audio, 512 MB, 2 x Technotrend T1500 DVB-T, LiteOn DVD±RW 16x DW1650-488C, Seagate 250 GB FE: 1500MHz Geforce MX200-V, int. audio, 256MB
|
|
Top |
|
|
lhassell
|
Posted: Wed Jul 16, 2008 4:10 pm |
|
Joined: Wed Sep 27, 2006 4:47 pm
Posts: 46
|
Well, I got it to compile, but the system won't recognize any channels on the DVB. More work...
|
|
Top |
|
|
auttila
|
Posted: Wed Jul 16, 2008 11:52 pm |
|
Joined: Tue Nov 28, 2006 3:38 am
Posts: 82
Location:
Kangasala, Finland
|
With Anysee E30+ there were some problems also.
I compiled the v4l drivers, and they worked like a charm. Scan went through nicely. I even installed Kaffeine, because it's said to have best chnanel scan features and I got the TV visible in a couple of minutes. I anticipated more problems, because I had the device attached to a prodige USB -card. My poor K7T Turbo only has USB 1.1 built in.
There are some pauses in the image, but it is most likely because I'm using the telescope antenna. Once I get a proper signal, I'll post a howto for Anysee.
Ok, so that went well. However, on MythTV side there were problems. I selected the "v4l-device" from cards-section in mythtv-setup. Tried everything. Put /dev/dvb/adapter0/frontend0 as a device and the same as VBI device. Nothing. No matter what I did.
Then, suddenly, I changed to the "normal" dvb-card setup, and it found some Zarlink ZL10353 based device in PCI 0. Scanned channels and everything seems to be working.
_________________ Jari-Matti
MBE&FE: GeForce MX440, Athlon XP 2000+, MSI KT333 Ultra, onboard audio, 512 MB, 2 x Technotrend T1500 DVB-T, LiteOn DVD±RW 16x DW1650-488C, Seagate 250 GB FE: 1500MHz Geforce MX200-V, int. audio, 256MB
|
|
Top |
|
|
auttila
|
Posted: Sat Jul 19, 2008 1:28 pm |
|
Joined: Tue Nov 28, 2006 3:38 am
Posts: 82
Location:
Kangasala, Finland
|
Ok - it is not so easy... Now I've tried it with indoors antenna, and ran into some problems. I'm using the "DVB-DTV -card(v3.x)" in mythtv-setup, and using the default values, except that multirec is set to 1. The device (Anysee E30+) is shown as Zarlink ZL10353 DVB-T device. Tied it to EIT -only video source.
I can scan the channels, and it finds the correct ones. Te signal is now between 75% and 80%. That should be plenty, and Kaffeine can display the channels without any problems.
But on MythTV there is a problem: when ever I try to watch TV, there's no image, and the info display shows "Signal 19% | BError 0 | (l__) No lock" And of course after a couple of seconds I get "The channel should have tuned already" -message.
I wonder what does the BError 0 mean?
Another approach would be to use the device as v4l-card. If I try the v4l -device in mythtv-setup, I guess I should use /dev/dvb/adapter0/dvr0 as a video device, but it can't be opened. Tried giving it permissions, chowning it to mythtv user but nothing worked.
With my limited skills I checked the logs, and found no reason. dmesg reports nothing exceptional.
Any help would be appreciated.
_________________ Jari-Matti
MBE&FE: GeForce MX440, Athlon XP 2000+, MSI KT333 Ultra, onboard audio, 512 MB, 2 x Technotrend T1500 DVB-T, LiteOn DVD±RW 16x DW1650-488C, Seagate 250 GB FE: 1500MHz Geforce MX200-V, int. audio, 256MB
|
|
Top |
|
|
babblefish
|
Posted: Sun Jul 20, 2008 4:23 am |
|
Joined: Sun Mar 05, 2006 11:27 am
Posts: 44
Location:
Edinburgh, Scotland
|
The head of the v4l-dvb development tree now compiles again. I have successfully compiled revision 8420.
|
|
Top |
|
|