[linux-dvb] saa7134-dvb initialised before dvbdev

Simon Arlott simon at arlott.org
Sat Jun 3 12:33:56 CEST 2006


When both are compiled into the kernel, saa7134-dvb is initialised before dvbdev so registering dvb devices will fail since
dvb_class is NULL.

[4294667.296000] Linux version 2.6.17-rc5-git (byte at redrum) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #13
PREEMPT Sat Jun 3 10:42:27 BST 2006

[4294671.449000] Linux video capture interface: v1.00
[4294671.450000] saa7130/34: v4l2 driver version 0.2.14 loaded
[4294671.451000] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[4294671.451000] PCI: setting IRQ 10 as level-triggered
[4294671.451000] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
[4294671.451000] saa7134[0]: found at 0000:00:09.0, rev: 1, irq: 10, latency: 32, mmio: 0xd5006000
[4294671.451000] saa7134[0]: subsystem: 11bd:002d, board: Pinnacle PCTV 300i DVB-T + PAL [card=50,autodetected][4294671.451000]
saa7134[0]: board init: gpio is c806000
[4294671.573000] saa7134[0]: i2c eeprom 00: bd 11 2d 00 f8 f8 1c 00 43 43 a9 1c 55 d2 b2 92
[4294671.573000] saa7134[0]: i2c eeprom 10: 00 f0 04 04 ff 20 ff ff ff ff ff ff ff ff ff ff
[4294671.574000] saa7134[0]: i2c eeprom 20: 01 40 01 02 03 ff 03 01 08 ff 00 25 ff ff ff ff
[4294671.574000] saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[4294671.575000] saa7134[0]: i2c eeprom 40: ff 16 00 c0 86 3c 01 01 ff ff ff ff ff ff ff ff
[4294671.576000] saa7134[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[4294671.576000] saa7134[0]: i2c eeprom 60: 0c 22 17 44 03 11 e1 a1 ff ff ff ff ff ff ff ff
[4294671.577000] saa7134[0]: i2c eeprom 70: 00 30 8d 18 3b 02 ff ff 74 50 ff ff ff ff ff ff
[4294671.578000] saa7134[0]: registered device video0 [v4l2]
[4294671.578000] saa7134[0]: registered device vbi0

drivers/media/video/saa7134/saa7134-dvb.c: dvb_init

[4294671.578000] saa7134[0]: pinnacle 300i dvb setup

.drivers/media/video/video-buf-dvb.c: videobuf_dvb_register
..drivers/media/dvb/dvb-core/dvbdev.c: dvb_register_adapter

[4294671.581000] DVB: registering new adapter (saa7134[0]).

..drivers/media/dvb/dvb-core/dvb_frontend.c: dvb_register_frontend

[4294671.581000] DVB: registering frontend 0 (Zarlink MT352 DVB-T)...

...drivers/media/dvb/dvb-core/dvbdev.c: dvb_register_device
dvb_register_device uses uninitialised dvb_class
....drivers/base/class.c: class_device_create

[4294671.581000] class_device_create: error: cls == NULL

dprintk from dvb_register_device (ignores class_device_create return value)
[4294671.581000] DVB: register adapter0/frontend0 @ minor: 3 (0x03)

....drivers/base/class.c: class_device_create
[4294671.581000] class_device_create: error: cls == NULL

dprintk from dvb_register_device (ignores class_device_create return value)
[4294671.581000] DVB: register adapter0/demux0 @ minor: 4 (0x04)

....drivers/base/class.c: class_device_create
[4294671.581000] class_device_create: error: cls == NULL

dprintk from dvb_register_device (ignores class_device_create return value)
[4294671.581000] DVB: register adapter0/dvr0 @ minor: 5 (0x05)

....drivers/base/class.c: class_device_create
[4294671.581000] class_device_create: error: cls == NULL

dprintk from dvb_register_device (ignores class_device_create return value)
[4294671.581000] DVB: register adapter0/net0 @ minor: 7 (0x07)

[4294671.599000] tuner 0-0060: Chip ID is not zero. It is not a TEA5767
[4294671.599000] tuner 0-0060: chip found @ 0xc0 (saa7134[0])
[4294671.606000] tuner 0-0060: microtune: companycode=3cbf part=42 rev=2f
[4294671.614000] tuner 0-0060: microtune MT2050 found, OK
[4294671.618000] tda9887 0-0043: chip found @ 0x86 (saa7134[0])

drivers/media/dvb/dvb-core/dvbdev.c: init_dvbdev

[4294671.620000] init_dvbdev
[4294671.620000] init_dvbdev: class_create...
[4294671.620000] init_dvbdev: dvb_class=c0716f04

-- 
Simon Arlott

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 829 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060603/e5ff4162/signature.pgp


More information about the linux-dvb mailing list