Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Sat, 15 Mar 2008 18:33:56 +0900 timf <[EMAIL PROTECTED]> wrote: > [ 15.00] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid > TV/Radio (A16D) [card=137,autodetected] > [ 15.296000] tuner' 2-0061: Setting mode_mask to 0x0e > [ 15.296000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) > [ 15.296000] tuner' 2-0061: tuner 0x61: Tuner type absent The above is not right. It should be using type=71 for the tuner. I think I found the bug: the tuner addresses should be set to ADDR_UNSET, instead of keeping it blank. Please do an "hg pull -u" and try again, recompiling and re-installing the modules: hg pull -u make rmmod make make install modprobe saa7134 > 8) The chip on my card is xc3018. Why does module xc5000 load? This is an issue on the way cards are attached, at tuner_core. Since they directly access xc5000 code, with: if (!xc5000_attach(&t->fe, t->i2c->adapter, &xc5000_cfg)) { xc5000 module will be loaded, even if not used. It shouldn't be hard to fix this, by using the macro dvb_attach(). Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Mon, 17 Mar 2008 19:28:32 + "Richard (MQ)" <[EMAIL PROTECTED]> wrote: > Mauro Carvalho Chehab wrote: > > > Sorry for a late answer. Too busy from my side :( > > And apologies from me for very slow response too. I've been away, and > although I'm back I'm now using a different box for this problem, with a > brand new Linux installation. I'm running OpenSuSE 11.0 Alpha-2 and > having big problems compiling the hg code - I think it's my (admittedly > alpha) system. You could also get the latest tarball via: http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2 Of course, having mercurial installed is much better ;) > > I'll keep at it and get back to you as soon as I can test your patch. > Not sure whether timf's issues are the same but I'm following that > thread too. > > Thanks for your patience ! ;-) You're welcome. Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Mauro Carvalho Chehab wrote: > Sorry for a late answer. Too busy from my side :( And apologies from me for very slow response too. I've been away, and although I'm back I'm now using a different box for this problem, with a brand new Linux installation. I'm running OpenSuSE 11.0 Alpha-2 and having big problems compiling the hg code - I think it's my (admittedly alpha) system. I'll keep at it and get back to you as soon as I can test your patch. Not sure whether timf's issues are the same but I'm following that thread too. Thanks for your patience ! ;-) -- Richard (MQ) ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Hi Mauro, On Fri, 2008-03-14 at 17:21 -0300, Mauro Carvalho Chehab wrote: > On Sat, 15 Mar 2008 04:34:34 +0900 > timf <[EMAIL PROTECTED]> wrote: > > > > > Now, do two tests, with v4l-dvb tree + the patch: > > Of course, you'll need to compile and install v4l-dvb ;) > make > make install > > > cx88-dvb or saa7134-dvb ? > saa7134-dvb. > > > Cheers, > Mauro This time: 1) new install of ubuntu 7.10 2) mercurial v4l-dvb, patched 3) make, sudo make install 4) in /etc/modprobe.d/options [EMAIL PROTECTED]:~$ sudo cat /etc/modprobe.d/options [sudo] password for timf: # Enable double-buffering so gstreamer et. al. work options quickcam compatible=2 # Default hostap to managed mode options hostap_pci iw_mode=2 options hostap_cs iw_mode=2 options tuner-xc2028 debug=1 options tuner debug=1 options saa7134 tuner=71 i2c_scan=1 [EMAIL PROTECTED]:~$ 5) xc3028-v27.fw into /lib/firmware/2.6.22-14-generic sudo chmod 644 xc3028-v27.fw 6) reboot 7) dmesg [ 14.856000] ACPI: PCI Interrupt :00:05.0[A] -> Link [APC7] -> GSI 16 (level, low) -> IRQ 20 [ 14.856000] PCI: Setting latency timer of device :00:05.0 to 64 [ 14.86] NVRM: loading NVIDIA UNIX x86 Kernel Module 100.14.19 Wed Sep 12 14:12:24 PDT 2007 [ 14.86] parport_pc 00:08: reported by Plug and Play ACPI [ 14.86] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] [ 14.936000] Linux video capture interface: v2.00 [ 14.952000] usbcore: registered new interface driver xpad [ 14.952000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/joystick/xpad.c: driver for Xbox controllers v0.1.6 [ 14.996000] saa7130/34: v4l2 driver version 0.2.14 loaded [ 15.00] ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17 [ 15.00] ACPI: PCI Interrupt :04:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 21 [ 15.00] saa7133[0]: found at :04:09.0, rev: 209, irq: 21, latency: 32, mmio: 0xfdbff000 [ 15.00] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=137,autodetected] [ 15.00] saa7133[0]: board init: gpio is 2fa00 [ 15.168000] saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.168000] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff 00 0e ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.168000] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.184000] saa7133[0]: i2c scan: found device @ 0xa0 [eeprom] [ 15.196000] saa7133[0]: i2c scan: found device @ 0xc2 [???] [ 15.296000] tuner' 2-0061: Setting mode_mask to 0x0e [ 15.296000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) [ 15.296000] tuner' 2-0061: tuner 0x61: Tuner type absent [ 15.304000] tuner' 2-0061: switching to v4l2 [ 15.304000] tuner' 2-0061: tv freq set to 400.00 [ 15.304000] tuner' 2-0061: tuner type not set [ 15.304000] tuner' 2-0061: tv freq set to 400.00 [ 15.304000] tuner' 2-0061: tuner type not set [ 15.304000] saa7133[0]: registered device video0 [v4l2] [ 15.304000] saa7133[0]: registered device vbi0 [ 15.304000] saa7133[0]: registered device radio0 [ 15.304000] tuner' 2-0061: Cmd TUNER_SET_STANDBY accepted for analog TV [ 15.332000] saa7134 ALSA driver for DMA sound loaded [ 15.332000] saa7133[0]/alsa: saa7133[0] at 0xfdbff000 irq 21 registered as card -2 [ 15.392000] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22 [ 15.392000] ACPI: PCI Interrupt :00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low) -> IRQ 17 [ 15.392000] PCI: Setting latency timer of device :00:10.1 to 64 7) lsmod loop 19076 0 snd_hda_intel 263712 1 saa7134_alsa 15648 0 snd_pcm_oss44672 0 snd_mixer_oss 17664 1 snd_pcm_oss tuner 27724 0 tea5767 8324 1
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Hi Mauro, On Fri, 2008-03-14 at 17:21 -0300, Mauro Carvalho Chehab wrote: > On Sat, 15 Mar 2008 04:34:34 +0900 > timf <[EMAIL PROTECTED]> wrote: > > > > > Now, do two tests, with v4l-dvb tree + the patch: > > Of course, you'll need to compile and install v4l-dvb ;) > make > make install > > > cx88-dvb or saa7134-dvb ? > saa7134-dvb. > > > Cheers, > Mauro OK, (apologies, I got very sleepy!- 5:00AM - Now, it's 12:00noon) 1) Please add this at modprobe.conf (or modprobe.d): options tuner-xc2028 debug=1 options tuner debug=1 2) Also, let's remove the old v4l modules from your kernel: sudo make rminstall sudo make rmmod 3) compile and install v4l-dvb ;) make sudo make install 4) Now, do two tests, with v4l-dvb tree + the patch: 1) do a modprobe saa7134 and collect the logs that start after you modprobe saa7134; sudo modprobe saa7134 (dmesg) [ 14.52] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] [ 14.612000] Linux video capture interface: v2.00 [ 14.644000] nvidia: module license 'NVIDIA' taints kernel. [ 14.896000] ACPI: PCI Interrupt Link [APC7] enabled at IRQ 16 [ 14.896000] ACPI: PCI Interrupt :00:05.0[A] -> Link [APC7] -> GSI 16 (level, low) -> IRQ 20 [ 14.896000] PCI: Setting latency timer of device :00:05.0 to 64 [ 14.896000] NVRM: loading NVIDIA UNIX x86 Kernel Module 100.14.19 Wed Sep 12 14:12:24 PDT 2007 [ 14.92] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x4c00 [ 14.92] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x4c40 [ 14.936000] usbcore: registered new interface driver xpad [ 14.936000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/joystick/xpad.c: driver for Xbox controllers v0.1.6 [ 14.952000] saa7130/34: v4l2 driver version 0.2.14 loaded [ 14.952000] ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17 [ 14.952000] ACPI: PCI Interrupt :04:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 21 [ 14.952000] saa7133[0]: found at :04:09.0, rev: 209, irq: 21, latency: 32, mmio: 0xfdbff000 [ 14.952000] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=137,autodetected] [ 14.952000] saa7133[0]: board init: gpio is 2f000 [ 15.112000] saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.112000] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff 00 0e ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.112000] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.20] tuner' 2-0061: Setting mode_mask to 0x0e [ 15.20] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) [ 15.20] tuner' 2-0061: tuner 0x61: Tuner type absent [ 15.20] tuner' 2-0061: switching to v4l2 [ 15.20] tuner' 2-0061: tv freq set to 400.00 [ 15.20] tuner' 2-0061: tuner type not set [ 15.20] tuner' 2-0061: tv freq set to 400.00 [ 15.20] tuner' 2-0061: tuner type not set [ 15.20] saa7133[0]: registered device video0 [v4l2] [ 15.20] saa7133[0]: registered device vbi0 [ 15.20] saa7133[0]: registered device radio0 [ 15.20] tuner' 2-0061: Cmd TUNER_SET_STANDBY accepted for analog TV [ 15.224000] saa7134 ALSA driver for DMA sound loaded [ 15.224000] saa7133[0]/alsa: saa7133[0] at 0xfdbff000 irq 21 registered as card -2 [ 15.332000] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22 [ 15.332000] ACPI: PCI Interrupt :00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low) -> IRQ 17 [ 15.332000] PCI: Setting latency timer of device :00:10.1 to 64 2) do: sudo make rmmod sudo modprobe saa7134 tuner=71 i2c_scan=1 (dmesg) [ 14.52] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA] [ 14.612000] Linux video ca
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Sat, 15 Mar 2008 04:34:34 +0900 timf <[EMAIL PROTECTED]> wrote: > > Now, do two tests, with v4l-dvb tree + the patch: Of course, you'll need to compile and install v4l-dvb ;) make make install > cx88-dvb or saa7134-dvb ? saa7134-dvb. Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Fri, 2008-03-14 at 15:58 -0300, Mauro Carvalho Chehab wrote: > On Sat, 15 Mar 2008 03:20:56 +0900 > timf <[EMAIL PROTECTED]> wrote: > > > Hi Mauro, > > > > On Fri, 2008-03-14 at 12:14 -0300, Mauro Carvalho Chehab wrote: > > > On Fri, 14 Mar 2008 10:16:48 +0900 > > > timf <[EMAIL PROTECTED]> wrote: > > > > > > > Hi Mauro, > > > > Improved, but still no tuner-xc3028, no dvb. > > > > Relevant part of my dmesg: > > > > > > > [ 15.12] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) > > > > [ 15.12] tuner' 2-0061: tuner type not set > > > > [ 15.12] tuner' 2-0061: tuner type not set > > > > > > The above messages are very weird... are you passing any option to > > > saa7134? It > > > should autodetect tuner=71... > > > > > > Cheers, > > > Mauro > > > > OK, I have just done a completely new install of ubuntu 7.10. > > (dmesg1.txt, lspci1.txt, lsmod1.txt) > > > > Then v4l-dvb via mercurial (download-via-mercurial.txt) > > > > Then sudo cp xc3028-v27.fw /lib/firmware/2.6.22-14-generic > > (lib-firmware-2.6.22-14-generic.txt) > > > > Then cd v4l-dvb, make, sudo make install, reboot > > (dmesg2.txt, lspci2.txt, lsmod2.txt) > > > > Then cd v4l-dvb, patch -p1 < a16d-patch1.diff, > > (patch-result.txt) > > make, sudo make install, reboot > > (dmesg3.txt, lspci3.txt, lsmod3.txt) > > > > Nothing done to /etc/modprobe.d /etc/modules > > Very weird. It shouldn't print that messages. > > Please add this at modprobe.conf (or modprobe.d): > > options tuner-xc2028 debug=1 > options tuner debug=1 > > Also, let's remove the old v4l modules from your kernel: > make rminstall > make rmmod > > Now, do two tests, with v4l-dvb tree + the patch: > > 1) do a modprobe saa7134 and collect the logs that start after you modprobe > saa7134; > > 2) do: > make rmmod > modprobe saa7134 tuner=71 i2c_scan=1 > >also, collect the logs > > --- > > You should notice that the driver is currently without support for DVB. After > fixing analog, we will need to patch cx88-dvb to inform the kernel about the > demod chip in use by this board, and provide the proper configuration > parameters for the demod. > > Cheers, > Mauro cx88-dvb or saa7134-dvb ? OK. Added file called xc3028 into /etc/modprobe.d containing: options tuner-xc2028 debug=1 options tuner debug=1 Followed your instructions, these appeared at command line: [EMAIL PROTECTED]:~/v4l-dvb$ modprobe saa7134 WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/tveeprom.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/common/ir-common.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/ir-kbd-i2c.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videobuf-core.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videobuf-dma-sg.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/compat_ioctl32.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko': No such file or directory FATAL: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/saa7134/saa7134.ko': No such file or directory [EMAIL PROTECTED]:~/v4l-dvb$ [EMAIL PROTECTED]:~/v4l-dvb$ modprobe saa7134 tuner=71 i2c_scan=1 WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/tveeprom.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/common/ir-common.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/ir-kbd-i2c.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videobuf-core.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videobuf-dma-sg.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/compat_ioctl32.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko': No such file or directory FATAL: Could not o
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Sat, 15 Mar 2008 03:20:56 +0900 timf <[EMAIL PROTECTED]> wrote: > Hi Mauro, > > On Fri, 2008-03-14 at 12:14 -0300, Mauro Carvalho Chehab wrote: > > On Fri, 14 Mar 2008 10:16:48 +0900 > > timf <[EMAIL PROTECTED]> wrote: > > > > > Hi Mauro, > > > Improved, but still no tuner-xc3028, no dvb. > > > Relevant part of my dmesg: > > > > > [ 15.12] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) > > > [ 15.12] tuner' 2-0061: tuner type not set > > > [ 15.12] tuner' 2-0061: tuner type not set > > > > The above messages are very weird... are you passing any option to saa7134? > > It > > should autodetect tuner=71... > > > > Cheers, > > Mauro > > OK, I have just done a completely new install of ubuntu 7.10. > (dmesg1.txt, lspci1.txt, lsmod1.txt) > > Then v4l-dvb via mercurial (download-via-mercurial.txt) > > Then sudo cp xc3028-v27.fw /lib/firmware/2.6.22-14-generic > (lib-firmware-2.6.22-14-generic.txt) > > Then cd v4l-dvb, make, sudo make install, reboot > (dmesg2.txt, lspci2.txt, lsmod2.txt) > > Then cd v4l-dvb, patch -p1 < a16d-patch1.diff, > (patch-result.txt) > make, sudo make install, reboot > (dmesg3.txt, lspci3.txt, lsmod3.txt) > > Nothing done to /etc/modprobe.d /etc/modules Very weird. It shouldn't print that messages. Please add this at modprobe.conf (or modprobe.d): options tuner-xc2028 debug=1 options tuner debug=1 Also, let's remove the old v4l modules from your kernel: make rminstall make rmmod Now, do two tests, with v4l-dvb tree + the patch: 1) do a modprobe saa7134 and collect the logs that start after you modprobe saa7134; 2) do: make rmmod modprobe saa7134 tuner=71 i2c_scan=1 also, collect the logs --- You should notice that the driver is currently without support for DVB. After fixing analog, we will need to patch cx88-dvb to inform the kernel about the demod chip in use by this board, and provide the proper configuration parameters for the demod. Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Fri, 14 Mar 2008 10:16:48 +0900 timf <[EMAIL PROTECTED]> wrote: > Hi Mauro, > Improved, but still no tuner-xc3028, no dvb. > Relevant part of my dmesg: > [ 15.12] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) > [ 15.12] tuner' 2-0061: tuner type not set > [ 15.12] tuner' 2-0061: tuner type not set The above messages are very weird... are you passing any option to saa7134? It should autodetect tuner=71... Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Hi Mauro, Improved, but still no tuner-xc3028, no dvb. Relevant part of my dmesg: [ 14.612000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/joystick/xpad.c: driver for Xbox controllers v0.1.6 [ 14.78] Linux video capture interface: v2.00 [ 14.832000] saa7130/34: v4l2 driver version 0.2.14 loaded [ 14.832000] ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17 [ 14.832000] ACPI: PCI Interrupt :04:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 21 [ 14.832000] saa7133[0]: found at :04:09.0, rev: 209, irq: 21, latency: 32, mmio: 0xfdbff000 [ 14.832000] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=137,autodetected] [ 14.832000] saa7133[0]: board init: gpio is f000 [ 14.992000] saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.992000] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff 00 0e ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.992000] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.12] tuner' 2-0061: chip found @ 0xc2 (saa7133[0]) [ 15.12] tuner' 2-0061: tuner type not set [ 15.12] tuner' 2-0061: tuner type not set [ 15.12] saa7133[0]: registered device video0 [v4l2] [ 15.12] saa7133[0]: registered device vbi0 [ 15.12] saa7133[0]: registered device radio0 [ 15.12] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22 [ 15.12] ACPI: PCI Interrupt :00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low) -> IRQ 17 [ 15.12] PCI: Setting latency timer of device :00:10.1 to 64 [ 15.136000] saa7134 ALSA driver for DMA sound loaded [ 15.136000] saa7133[0]/alsa: saa7133[0] at 0xfdbff000 irq 21 registered as card -2 To match with other firmware, I did chmod 644 xc3028-v27.fw 16 -rw-r--r-- 1 root root 16382 2007-10-13 13:43 v4l-cx25840.fw 8 -rw-r--r-- 1 root root 8192 2007-10-13 13:43 v4l-pvrusb2-24xxx-01.fw 8 -rw-r--r-- 1 root root 8192 2007-10-13 13:43 v4l-pvrusb2-29xxx-01.fw 72 -rw-r--r-- 1 root root 66220 2008-03-14 09:27 xc3028-v27.fw 4 drwxr-xr-x 2 root root 4096 2008-03-14 17:48 zd1211 [EMAIL PROTECTED]:/lib/firmware/2.6.22-14-generic$ Regards, Tim On Thu, 2008-03-13 at 11:46 -0300, Mauro Carvalho Chehab wrote: > Hi Richard, > > On Tue, 12 Feb 2008 18:15:09 + > "Richard (MQ)" <[EMAIL PROTECTED]> wrote: > > Sorry for a late answer. Too busy from my side :( > > > > please forward the errors that it might produce. You may forward the full > > > dmesg > > > errors to me in priv directly. I prefer if you don't generate a tarball, > > > since > > > makes easier for me to comment, the results, if needed. > > > Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c scan: found device @ 0x1e > > [???] > > Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c scan: found device @ 0xa0 > > [eeprom] > > The issue here is that tuner-xc3028 weren't detected. It should have found a > device at 0xc2. > > This could happen on two cases: > > 1) Some saa713x GPIO is needed before we can see xc3028. The better would be > to > take a look on what windows driver is doing with GPIO's. This link helps you > to > understand what should be done on windows: > > http://www.linuxtv.org/v4lwiki/index.php/GPIO_pins > > 2) You need to open an i2c gate on your demod chip. In this case, some > commands > need to be sent to your demod for it to open the i2c gate. > > I suspect that, on your case, it is (1). Please try the enclosed patch. > > --- > > Enable GPIO's for AV A16D > > From: Mauro Carvalho Chehab <[EMAIL PROTECTED]> > > Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> > > diff -r 3580392c30da linux/drivers/media/video/saa7134/saa7134-cards.c > --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Thu Mar 13 > 10:57:22 2008 -0300 > +++ b/linux/driv
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Hi Richard, On Tue, 12 Feb 2008 18:15:09 + "Richard (MQ)" <[EMAIL PROTECTED]> wrote: Sorry for a late answer. Too busy from my side :( > > please forward the errors that it might produce. You may forward the full > > dmesg > > errors to me in priv directly. I prefer if you don't generate a tarball, > > since > > makes easier for me to comment, the results, if needed. > Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c scan: found device @ 0x1e > [???] > Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c scan: found device @ 0xa0 > [eeprom] The issue here is that tuner-xc3028 weren't detected. It should have found a device at 0xc2. This could happen on two cases: 1) Some saa713x GPIO is needed before we can see xc3028. The better would be to take a look on what windows driver is doing with GPIO's. This link helps you to understand what should be done on windows: http://www.linuxtv.org/v4lwiki/index.php/GPIO_pins 2) You need to open an i2c gate on your demod chip. In this case, some commands need to be sent to your demod for it to open the i2c gate. I suspect that, on your case, it is (1). Please try the enclosed patch. --- Enable GPIO's for AV A16D From: Mauro Carvalho Chehab <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> diff -r 3580392c30da linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Thu Mar 13 10:57:22 2008 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Thu Mar 13 11:43:45 2008 -0300 @@ -5499,6 +5499,7 @@ int saa7134_board_init1(struct saa7134_d case SAA7134_BOARD_AVERMEDIA_CARDBUS_506: case SAA7134_BOARD_AVERMEDIA_M115: case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM: + case SAA7134_BOARD_AVERMEDIA_A16D: /* power-up tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x, 0x); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x, 0x); Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Mauro, Many thanks for your efforts. I hope the following is useful. Currently running on OpenSuSE 11.0 Alpha2, kernel 2.6.24-6 Mauro Carvalho Chehab wrote: ... > If you're getting too much errors, it may mean that you're having some > conflicts on your compilation. > > There is a recent patch at the tree that changed the module dependencies. > (before the patch, videodev were dependent on v4l2-common - now, the > dependency > is the reverse. Only after "make distclean", the building system will > correctly deal with this change) > > Please try to do force a cleanup, with this: > make distclean OK - no errors > make OK - no errors but a handful of warnings e.g. possibly uninitialised variables in ov7670 module > make rminstall OK - no errors > make rmmod OK - no errors > make install OK - no errors > modprobe saa7134 tuner=71 entire addition to /var/log/messages follows: Feb 12 17:57:52 DevBox2400 klogd: Linux video capture interface: v2.00 Feb 12 17:57:52 DevBox2400 klogd: saa7130/34: v4l2 driver version 0.2.14 loaded Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: found at :00:0d.0, rev: 209, irq: 19, latency: 32, mmio: 0xe200 Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=133,autodetected] Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: board init: gpio is 2fe00 Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff 00 0e ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: registered device video0 [v4l2] Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: registered device vbi0 Feb 12 17:57:52 DevBox2400 klogd: saa7133[0]: registered device radio0 > please forward the errors that it might produce. You may forward the full > dmesg > errors to me in priv directly. I prefer if you don't generate a tarball, since > makes easier for me to comment, the results, if needed. OK, point taken. It's not huge... In reply to your second message: > I suspect that some gpio is needed before scanning tuners, in order to enable > the i2c bus. Could you please do this: > > modprobe saa7134 i2c_scan=1 > > and send me the complete dmesg after modprobing the board. # rmmod saa7134 # modprobe saa7134 i2c_scan=1 Feb 12 18:03:26 DevBox2400 klogd: saa7130/34: v4l2 driver version 0.2.14 loaded Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: found at :00:0d.0, rev: 209, irq: 19, latency: 32, mmio: 0xe200 Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=133,autodetected] Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: board init: gpio is 2fe00 Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff 00 0e ff ff ff ff Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff ff ff ff ff Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Feb 12 18:03:26 DevBox2400 klogd: saa7133[0]: i2c eep
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Sat, 09 Feb 2008 21:53:01 + "Richard (MQ)" <[EMAIL PROTECTED]> wrote: > Richard (MQ) wrote: > > Mauro Carvalho Chehab wrote: > >> If you're not seeing any mesage from tuner-xc2028, it means that the > >> driver is > >> selecting a different tuner. > >> > >> Please send me the complete dmesg. > >> > >> Also, try to force saa7134 driver to use tuner=71 with: > >> > >> modprobe -vv saa7134 tuner=71 > > > > Please find attached - not posted to list as I don't think everyone will > > want this... > > Just tried re-booting the box with the standard OpenSuSE 10.3 partition, > (and completely re-loaded and re-built the mercurial code) - same odd > behaviour. Kernel now 2.6.22.16 fwiw > > Also may be worth noting - running "make reload" after "make install" > produces lots of errors, though neither the initial "make" nor "make > install" gave any. > > Output of "modprobe -vv saa7134 tuner=71" for this case attached > (smaller than last time!) The file got corrupted here :( If you're getting too much errors, it may mean that you're having some conflicts on your compilation. There is a recent patch at the tree that changed the module dependencies. (before the patch, videodev were dependent on v4l2-common - now, the dependency is the reverse. Only after "make distclean", the building system will correctly deal with this change) Please try to do force a cleanup, with this: make distclean make make rminstall make rmmod make install modprobe saa7134 tuner=71 please forward the errors that it might produce. You may forward the full dmesg errors to me in priv directly. I prefer if you don't generate a tarball, since makes easier for me to comment, the results, if needed. Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Richard (MQ) wrote: > Mauro Carvalho Chehab wrote: >> If you're not seeing any mesage from tuner-xc2028, it means that the driver >> is >> selecting a different tuner. >> >> Please send me the complete dmesg. >> >> Also, try to force saa7134 driver to use tuner=71 with: >> >> modprobe -vv saa7134 tuner=71 > > Please find attached - not posted to list as I don't think everyone will > want this... Just tried re-booting the box with the standard OpenSuSE 10.3 partition, (and completely re-loaded and re-built the mercurial code) - same odd behaviour. Kernel now 2.6.22.16 fwiw Also may be worth noting - running "make reload" after "make install" produces lots of errors, though neither the initial "make" nor "make install" gave any. Output of "modprobe -vv saa7134 tuner=71" for this case attached (smaller than last time!) Hope this helps? -- Cheers Richard (MQ) 20080209a.txt.tar.gz Description: GNU Zip compressed data ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Thu, 07 Feb 2008 20:29:15 + "Richard (MQ)" <[EMAIL PROTECTED]> wrote: > Richard (MQ) wrote: > > Mauro Carvalho Chehab wrote: > >> "Richard (MQ)" <[EMAIL PROTECTED]> wrote: > tuner: Unknown parameter `tuner_xc2028' > >> Hmm... I suspect you did something wrong at modprobe.conf.local. It seems > >> that > >> it is using tuner_xc2028 as a parameter to tuner module. > >> > >> What we need is to have a parameter "debug=1" to both tuner an tuner-xc2028 > >> modules. > > > > I thought I just pasted your lines straight in... > > > > I'll have another try tonight, maybe something is mis-typed. If I load > > with modprobe -v it will show the options being used. > > After booting: > DevBox2400:~ # rmmod tuner tuner-xc2028 saa7134 tuner-simple tuner-types > DevBox2400:~ # modprobe -vv tuner > insmod /lib/modules/.../media/video/tuner-types.ko > insmod /lib/modules/.../media/video/tuner-simple.ko > insmod /lib/modules/.../media/video/tuner-xc2028.ko debug=1 > insmod /lib/modules/.../media/video/tuner.ko debug=1 > DevBox2400:~ # modprobe -vv saa7134 > insmod /lib/modules/.../kernel/drivers/media/video/saa7134/saa7134.ko > > but /var/log/messages shows no sign of the debug messages: > > Feb 7 20:08:49 DevBox2400 kernel: saa7130/34: v4l2 driver version > 0.2.14 loaded > Feb 7 20:08:49 DevBox2400 kernel: saa7133[0]: found at :00:0d.0, > rev: 209, irq: 20, latency: 32, mmio: 0xe200 > Feb 7 20:08:49 DevBox2400 kernel: saa7133[0]: subsystem: 1461:f936, > board: AVerMedia Hybrid TV/Radio (A16D) [card=133,autodetected] > Feb 7 20:08:49 DevBox2400 kernel: saa7133[0]: board init: gpio is 2f600 > Feb 7 20:08:50 DevBox2400 kernel: saa7133[0]: i2c eeprom 00: 61 14 36 > f9 00 00 00 00 00 00 00 00 00 00 00 00 > ... > > modinfo confirms that tuner-xc2028 is your code. I'm completely baffled > by this... If you're not seeing any mesage from tuner-xc2028, it means that the driver is selecting a different tuner. Please send me the complete dmesg. Also, try to force saa7134 driver to use tuner=71 with: modprobe -vv saa7134 tuner=71 Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Richard (MQ) wrote: > Mauro Carvalho Chehab wrote: >> "Richard (MQ)" <[EMAIL PROTECTED]> wrote: tuner: Unknown parameter `tuner_xc2028' >> Hmm... I suspect you did something wrong at modprobe.conf.local. It seems >> that >> it is using tuner_xc2028 as a parameter to tuner module. >> >> What we need is to have a parameter "debug=1" to both tuner an tuner-xc2028 >> modules. > > I thought I just pasted your lines straight in... > > I'll have another try tonight, maybe something is mis-typed. If I load > with modprobe -v it will show the options being used. After booting: DevBox2400:~ # rmmod tuner tuner-xc2028 saa7134 tuner-simple tuner-types DevBox2400:~ # modprobe -vv tuner insmod /lib/modules/.../media/video/tuner-types.ko insmod /lib/modules/.../media/video/tuner-simple.ko insmod /lib/modules/.../media/video/tuner-xc2028.ko debug=1 insmod /lib/modules/.../media/video/tuner.ko debug=1 DevBox2400:~ # modprobe -vv saa7134 insmod /lib/modules/.../kernel/drivers/media/video/saa7134/saa7134.ko but /var/log/messages shows no sign of the debug messages: Feb 7 20:08:49 DevBox2400 kernel: saa7130/34: v4l2 driver version 0.2.14 loaded Feb 7 20:08:49 DevBox2400 kernel: saa7133[0]: found at :00:0d.0, rev: 209, irq: 20, latency: 32, mmio: 0xe200 Feb 7 20:08:49 DevBox2400 kernel: saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=133,autodetected] Feb 7 20:08:49 DevBox2400 kernel: saa7133[0]: board init: gpio is 2f600 Feb 7 20:08:50 DevBox2400 kernel: saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 ... modinfo confirms that tuner-xc2028 is your code. I'm completely baffled by this... Cheers Richard. ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Mauro Carvalho Chehab wrote: > "Richard (MQ)" <[EMAIL PROTECTED]> wrote: >>> tuner: Unknown parameter `tuner_xc2028' > > Hmm... I suspect you did something wrong at modprobe.conf.local. It seems that > it is using tuner_xc2028 as a parameter to tuner module. > > What we need is to have a parameter "debug=1" to both tuner an tuner-xc2028 > modules. I thought I just pasted your lines straight in... I'll have another try tonight, maybe something is mis-typed. If I load with modprobe -v it will show the options being used. >> Is it me doing something wrong, or a problem with the code? > > The code may have some trouble, since it is not tested yet ;) ;-) Cheers Richard. ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
On Wed, 06 Feb 2008 18:49:51 + "Richard (MQ)" <[EMAIL PROTECTED]> wrote: > Mauro Carvalho Chehab wrote: > > I need the tuner-xc2028 dmesg. > > > > Please, add this to /etc/modprobe.conf: > > options tuner debug=1 > > options tuner-xc2028 debug=1 > > Added to /etc/modprobe.conf.local per SuSE scheme > > > DevBox2400:~ # rmmod tuner tuner-xc3028 > > DevBox2400:~ # modprobe -vv tuner > > insmod > > /lib/modules/2.6.24-rc8-git2-5-default/kernel/drivers/media/video/tuner.ko > > debug=1 > > DevBox2400:~ # dmesg > > Linux version 2.6.24-rc8-git2-5-default ([EMAIL PROTECTED]) (gcc version > > 4.3.0 20080117 (experimental) > > dmesg shows only: > > > tuner: Unknown parameter `tuner_xc2028' Hmm... I suspect you did something wrong at modprobe.conf.local. It seems that it is using tuner_xc2028 as a parameter to tuner module. What we need is to have a parameter "debug=1" to both tuner an tuner-xc2028 modules. > modprobe'ing tuner_xc2028 does nothing (no error, nothing added to dmesg) > > No dmesg messages starting "xc2028", in fact > > > DevBox2400:~ # dmesg | grep 2028 > > tuner: Unknown parameter `tuner_xc2028' > > DevBox2400:~ # dmesg | grep firmw > > DevBox2400:~ # > > Is it me doing something wrong, or a problem with the code? The code may have some trouble, since it is not tested yet ;) Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Mauro Carvalho Chehab wrote: > I need the tuner-xc2028 dmesg. > > Please, add this to /etc/modprobe.conf: > options tuner debug=1 > options tuner-xc2028 debug=1 Added to /etc/modprobe.conf.local per SuSE scheme > DevBox2400:~ # rmmod tuner tuner-xc3028 > DevBox2400:~ # modprobe -vv tuner > insmod > /lib/modules/2.6.24-rc8-git2-5-default/kernel/drivers/media/video/tuner.ko > debug=1 > DevBox2400:~ # dmesg > Linux version 2.6.24-rc8-git2-5-default ([EMAIL PROTECTED]) (gcc version > 4.3.0 20080117 (experimental) dmesg shows only: > tuner: Unknown parameter `tuner_xc2028' modprobe'ing tuner_xc2028 does nothing (no error, nothing added to dmesg) No dmesg messages starting "xc2028", in fact > DevBox2400:~ # dmesg | grep 2028 > tuner: Unknown parameter `tuner_xc2028' > DevBox2400:~ # dmesg | grep firmw > DevBox2400:~ # Is it me doing something wrong, or a problem with the code? Cheers Richard. ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Hi again Mauro, Mauro Carvalho Chehab wrote: > Hi Richard, > http://linuxtv.org/hg/~mchehab/cx88-xc2028 > > Some adjustments may be needed for this to work, since tuner-xc2028 needs Ignored this FTTB; just used make && su -c "make install" - no errors > For the driver to work, you'll need to extract xc3028 firmware. Most devices > works fine with Xceive firmware version 2.7. In order to extract, you should > follow the following procedure: Done exactly as you state > > Could you please test it and give us some feedback? Tried without much success - (sorry for longish post): dmesg extract: Linux video capture interface: v2.00 ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22 ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22 ACPI: PCI Interrupt :00:11.5[C] -> Link [ALKC] -> GSI 22 (level, low) -> IRQ 19 PCI: Setting latency timer of device :00:11.5 to 64 saa7130/34: v4l2 driver version 0.2.14 loaded ACPI: PCI Interrupt :00:0d.0[A] -> GSI 17 (level, low) -> IRQ 20 saa7133[0]: found at :00:0d.0, rev: 209, irq: 20, latency: 32, mmio: 0xe200 saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid TV/Radio (A16D) [card=133,autodetected] saa7133[0]: board init: gpio is 2fe00 saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00 00 00 00 00 00 00 saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff 00 0e ff ff ff ff saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: registered device video0 [v4l2] saa7133[0]: registered device vbi0 saa7133[0]: registered device radio0 lsmod extract: tuner 29004 0 tea576710884 1 tuner tda829017028 1 tuner tda18271 34312 1 tda8290 tda827x14212 1 tda8290 tuner_xc2028 22928 1 tuner xc5000 14340 1 tuner firmware_class 13824 2 tuner_xc2028,xc5000 tda988713316 1 tuner tuner_simple 12680 1 tuner tuner_types15616 1 tuner_simple mt20xx 15880 1 tuner tea5761 9092 1 tuner saa7134 140628 0 snd_via82xx33176 0 videodev 35584 2 tuner,saa7134 snd_ac97_codec105764 1 snd_via82xx v4l1_compat16772 1 videodev ac97_bus6144 1 snd_ac97_codec compat_ioctl32 5376 1 saa7134 snd_pcm87812 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec v4l2_common15232 2 tuner,saa7134 snd_timer 27396 2 snd_seq,snd_pcm snd_page_alloc 14728 2 snd_via82xx,snd_pcm snd_mpu401 13196 0 videobuf_dma_sg18180 1 saa7134 snd_mpu401_uart13056 2 snd_via82xx,snd_mpu401 videobuf_core 22532 2 saa7134,videobuf_dma_sg ir_kbd_i2c 13840 1 saa7134 8139cp 27392 0 snd_rawmidi29824 2 snd_seq_midi,snd_mpu401_uart via_agp14336 1 ir_common 40580 2 saa7134,ir_kbd_i2c shpchp 36756 0 snd_seq_device 12684 3 snd_seq_midi,snd_seq,snd_rawmidi 8139too30208 0 rtc_cmos 12704 0 tveeprom 19088 1 saa7134 mii 9472 2 8139cp,8139too button 12944 0 pci_hotplug32928 1 shpchp rtc_core 24712 1 rtc_cmos agpgart37684 1 via_agp i2c_viapro 12564 0 parport_pc 41788 0 snd62388 12 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device ns558 8704 0 rtc_lib 7168 1 rtc_core parport40136 1 parport_pc gameport 19208 3 snd_via82xx,ns558 i2c_core 27776 16 tuner,tea5767,tda8290,tda18271,tda827x,tuner_xc2028,xc5000,tda9887,tuner_simple,mt20xx,tea5761,saa7134,v4l2_common,ir_kbd_i2c,tveeprom,i2c_viapro soundcore 11844 1 snd s
Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
Hi Richard, On Sun, 03 Feb 2008 15:07:27 + "Richard (MQ)" <[EMAIL PROTECTED]> wrote: > I tried contacting Markus with the following but no response - probably > one of you experienced coders on this list will know what's wrong > though? As I say below, the 'standard' v4l-dvb builds fine but is no use > with this card. I've ported Markus patch for cx88 and saa7134 xc3028-based boards into this tree: http://linuxtv.org/hg/~mchehab/cx88-xc2028 Some adjustments may be needed for this to work, since tuner-xc2028 needs to know what firmware it will load for dvb. This is done by those lines, at the end of saa7134-cards.c: /* FIXME: This should be device-dependent */ ctl.demod = XC3028_FE_OREN538; ctl.mts = 1; ctl.demod should have the IF of the used tuner. Most current boards use IF=5.380 MHz. XC3028_FE_OREN538 is an alias for 5380. Another possible value is XC3028_FE_ZARLINK456 (IF = 4560 KHz). ctl.mts affects audio decoding. If you don't have audio on analog mode, you may try to change this to 0. For the driver to work, you'll need to extract xc3028 firmware. Most devices works fine with Xceive firmware version 2.7. In order to extract, you should follow the following procedure: 1) Download the windows driver with something like: wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip 2) Extract the file hcw85bda.sys from the zip into the current dir: unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys 3) run the script: ./linux/Documentation/video4linux/extract_xc3028.pl 4) copy the generated file: cp xc3028-v27.fw /lib/firmware Could you please test it and give us some feedback? Cheers, Mauro ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
[linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
I tried contacting Markus with the following but no response - probably one of you experienced coders on this list will know what's wrong though? As I say below, the 'standard' v4l-dvb builds fine but is no use with this card. Cheers Richard (MQ) > Having another try to get my Avermedia A16D card working with latest hg > code. I'm also using the very latest OpenSuSE 'factory' platform, with > kernel 2.6.24-rc8-git2-5-default. gcc is 4.3.0 > > I can build the 'standard' v4l-dvb tree OK, though as expected it > doesn't see my card. However, when I try to build your > v4l-dvb-experimental tree (in a separate directory) I get > >> > [EMAIL PROTECTED]:~/Progs/v4l-dvb-experimental/v4l> make > ... >> > make -C ../../../linux-2.6.24-rc8-git2-5 >> > O=../linux-2.6.24-rc8-git2-5-obj/i386/default modules >> > CC [M] /home/rpm/Progs/v4l-dvb-experimental/v4l/flexcop-pci.o >> > In file included from >> > /home/rpm/Progs/v4l-dvb-experimental/v4l/flexcop-common.h:23, >> > from >> > /home/rpm/Progs/v4l-dvb-experimental/v4l/flexcop-pci.c:10: >> > /home/rpm/Progs/v4l-dvb-experimental/v4l/dvb_frontend.h:42:33: error: >> > media/v4l_dvb_tuner.h: No such file or directory > > Indeed there's no directory 'media' at the current level, though there's > one at ../linux, so I tried > >> > ln -s ../linux/include/media media > > Now make gets a bit further, but dies building bttv-driver > > Please have you any suggestions? > > By the way - is it more appropriate to post this e.g. at linux-dvb? > > Many thanks > Richard. > ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb