Re: Any chance of help with v4l-dvb-experimental / Avermedia A16D please?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <timf@xxxxxxxxxxxx> 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)

<snip>
[   14.520000] 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 0000:00:05.0[A] -> Link [APC7] -> GSI
16 (level, low) -> IRQ 20
[   14.896000] PCI: Setting latency timer of device 0000: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.920000] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x4c00
[   14.920000] 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 0000:04:09.0[A] -> Link [APC2] -> GSI
17 (level, low) -> IRQ 21
[   14.952000] saa7133[0]: found at 0000: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.200000] tuner' 2-0061: Setting mode_mask to 0x0e
[   15.200000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
[   15.200000] tuner' 2-0061: tuner 0x61: Tuner type absent
[   15.200000] tuner' 2-0061: switching to v4l2
[   15.200000] tuner' 2-0061: tv freq set to 400.00
[   15.200000] tuner' 2-0061: tuner type not set
[   15.200000] tuner' 2-0061: tv freq set to 400.00
[   15.200000] tuner' 2-0061: tuner type not set
[   15.200000] saa7133[0]: registered device video0 [v4l2]
[   15.200000] saa7133[0]: registered device vbi0
[   15.200000] saa7133[0]: registered device radio0
[   15.200000] 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 0000:00:10.1[B] -> Link [AAZA] -> GSI
22 (level, low) -> IRQ 17
[   15.332000] PCI: Setting latency timer of device 0000:00:10.1 to 64
<snip>

2) do:
        sudo make rmmod
        sudo modprobe saa7134 tuner=71 i2c_scan=1 (dmesg)

<snip>
[   14.520000] 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 0000:00:05.0[A] -> Link [APC7] -> GSI
16 (level, low) -> IRQ 20
[   14.896000] PCI: Setting latency timer of device 0000: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.920000] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x4c00
[   14.920000] 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 0000:04:09.0[A] -> Link [APC2] -> GSI
17 (level, low) -> IRQ 21
[   14.952000] saa7133[0]: found at 0000: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.200000] tuner' 2-0061: Setting mode_mask to 0x0e
[   15.200000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
[   15.200000] tuner' 2-0061: tuner 0x61: Tuner type absent
[   15.200000] tuner' 2-0061: switching to v4l2
[   15.200000] tuner' 2-0061: tv freq set to 400.00
[   15.200000] tuner' 2-0061: tuner type not set
[   15.200000] tuner' 2-0061: tv freq set to 400.00
[   15.200000] tuner' 2-0061: tuner type not set
[   15.200000] saa7133[0]: registered device video0 [v4l2]
[   15.200000] saa7133[0]: registered device vbi0
[   15.200000] saa7133[0]: registered device radio0
[   15.200000] 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 0000:00:10.1[B] -> Link [AAZA] -> GSI
22 (level, low) -> IRQ 17
[   15.332000] PCI: Setting latency timer of device 0000:00:10.1 to 64
[   15.748000] loop: module loaded
[   15.764000] lp0: using parport0 (interrupt-driven).
[   15.840000] Adding 9767512k swap on /dev/sda3.  Priority:-1 extents:1
across:9767512k
[   16.156000] EXT3 FS on sda4, internal journal
[   16.908000] kjournald starting.  Commit interval 5 seconds
[   16.908000] EXT3 FS on sda2, internal journal
[   16.908000] EXT3-fs: mounted filesystem with ordered data mode.
[   17.652000] No dock devices found.
[   17.804000] input: Power Button (FF) as /class/input/input5
[   17.804000] ACPI: Power Button (FF) [PWRF]
[   17.804000] input: Power Button (CM) as /class/input/input6
[   17.804000] ACPI: Power Button (CM) [PWRB]
[   18.116000] powernow-k8: Found 2 AMD Athlon(tm) 64 X2 Dual Core
Processor 3600+ processors (version 2.00.00)
[   18.116000] powernow-k8: MP systems not supported by PSB BIOS
structure
[   18.116000] powernow-k8: MP systems not supported by PSB BIOS
structure
[   18.972000] ppdev: user-space parallel port driver
[   19.132000] audit(1205548700.095:3):  type=1503
operation="inode_permission" requested_mask="a" denied_mask="a"
name="/dev/tty" pid=5101 profile="/usr/sbin/cupsd"
[   19.168000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[   19.168000] apm: disabled - APM is not SMP safe.
[   19.424000] Failure registering capabilities with primary security
module.
[   19.592000] Bluetooth: Core ver 2.11
[   19.592000] NET: Registered protocol family 31
[   19.592000] Bluetooth: HCI device and connection manager initialized
[   19.592000] Bluetooth: HCI socket layer initialized
[   19.604000] Bluetooth: L2CAP ver 2.8
[   19.604000] Bluetooth: L2CAP socket layer initialized
[   19.636000] Bluetooth: RFCOMM socket layer initialized
[   19.636000] Bluetooth: RFCOMM TTY layer initialized
[   19.636000] Bluetooth: RFCOMM ver 1.8
[   24.084000] NET: Registered protocol family 17
[   27.728000] NET: Registered protocol family 10
[   27.728000] lo: Disabled Privacy Extensions
[   38.064000] eth0: no IPv6 routers present
[  293.084000] saa7134 ALSA driver for DMA sound unloaded
[  346.088000] Linux video capture interface: v2.00
[  346.108000] saa7130/34: v4l2 driver version 0.2.14 loaded
[  346.108000] saa7133[0]: found at 0000:04:09.0, rev: 209, irq: 21,
latency: 32, mmio: 0xfdbff000
[  346.108000] saa7133[0]: subsystem: 1461:f936, board: AVerMedia Hybrid
TV/Radio (A16D) [card=137,autodetected]
[  346.108000] saa7133[0]: board init: gpio is effffff
[  346.268000] saa7133[0]: i2c eeprom 00: 61 14 36 f9 00 00 00 00 00 00
00 00 00 00 00 00
[  346.268000] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 00 08 ff
00 0e ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 1e ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.268000] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
[  346.284000] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[  346.292000] saa7133[0]: i2c scan: found device @ 0xc2  [???]
[  346.324000] tuner' 2-0061: Setting mode_mask to 0x0e
[  346.324000] tuner' 2-0061: chip found @ 0xc2 (saa7133[0])
[  346.324000] tuner' 2-0061: tuner 0x61: Tuner type absent
[  346.324000] tuner' 2-0061: switching to v4l2
[  346.324000] tuner' 2-0061: tv freq set to 400.00
[  346.324000] tuner' 2-0061: tuner type not set
[  346.324000] tuner' 2-0061: tv freq set to 400.00
[  346.324000] tuner' 2-0061: tuner type not set
[  346.324000] saa7133[0]: registered device video0 [v4l2]
[  346.324000] saa7133[0]: registered device vbi0
[  346.324000] saa7133[0]: registered device radio0
[  346.328000] tuner' 2-0061: Cmd TUNER_SET_STANDBY accepted for analog
TV
[  346.340000] saa7134 ALSA driver for DMA sound loaded
[  346.340000] saa7133[0]/alsa: saa7133[0] at 0xfdbff000 irq 21
registered as card -2
<snip>
----

Just for interest, tried tvtime, but, no signal.

A question - in lsmod it has always showed that tuner, tuner_xc2028
modules are loading, but why does it load xc5000? 

Regards,
Tim

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux