Hi all,

It seems that a dependency is missing in my ivtv
kernel module and I have no idea how to get it back. I
have a PVR-500 and on startup the cx25840.ko and
wm8775.ko modules do not load automatically, resulting
in an error message from i2c (see log below). When I
manually load the two modules before ivtv, everything
works fine.

First, here's the dmesg dump:

ivtv: no version for "cx2341x_ext_ctrls" found: kernel
tainted.
 ivtv:  ==================== START INIT IVTV
====================
 ivtv:  version 0.9.1 (tagged release) loading
 ivtv:  Linux version: 2.6.19.1 SMP mod_unload 586
REGPARM 
 ivtv:  In case of problems please include the debug
info between
 ivtv:  the START INIT IVTV and END INIT IVTV lines,
along with
 ivtv:  any module options, when mailing the
ivtv-users mailinglist.
 ivtv0: Autodetected Hauppauge card (cx23416 based)
 ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 18 (level,
low) -> IRQ 17
 ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144
bytes)
 NET: Registered protocol family 17
 tveeprom 1-0050: Hauppauge model 23559, rev D596,
serial# 9822730
 tveeprom 1-0050: tuner model is Samsung TCPG 6121P30A
(idx 96, type 73)
 tveeprom 1-0050: TV standards PAL(B/G) PAL(I)
SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
 tveeprom 1-0050: second tuner model is Philips
TEA5768HL FM Radio (idx 101, type 62)
 tveeprom 1-0050: audio processor is CX25843 (idx 37)
 tveeprom 1-0050: decoder processor is CX25843 (idx
30)
 tveeprom 1-0050: has radio, has no IR remote
 ivtv0: Autodetected WinTV PVR 500 (unit #1)
 tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
 tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
 tuner 1-0060: TEA5767 detected.
 tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
 tuner 1-0060: type set to 62 (Philips TEA5767HN FM
Radio)
 tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
 ivtv0: Encoder revision: 0x02050032
 ivtv0: Registered device video0 for encoder MPEG
 ivtv0: Registered device video32 for encoder YUV
 ivtv0: Registered device vbi0 for encoder VBI
 ivtv0: Registered device video24 for encoder PCM
audio
 ivtv0: Registered device radio0 for encoder radio
 tuner 1-0061: type set to 73 (Samsung TCPG 6121P30A)
 ivtv0: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv0: i2c addr 0x44 not found for command
0x4008646f!
 ivtv0: i2c hardware 0x00000020 (wm8775) not found for
command 0x4008646d!
 ivtv0: i2c hardware 0x00000001 (cx2584x) not found
for command 0x4008646d!
 ivtv0: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv0: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv0: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
 ivtv:  ======================  NEXT CARD 
======================
 ivtv1: Autodetected Hauppauge card (cx23416 based)
 ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 19 (level,
low) -> IRQ 18
 NET: Registered protocol family 10
 lo: Disabled Privacy Extensions
 ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144
bytes)
 tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #1)
 tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
 tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
 tveeprom 2-0050: Hauppauge model 23559, rev D596,
serial# 9822730
 tveeprom 2-0050: tuner model is Samsung TCPG 6121P30A
(idx 96, type 73)
 tveeprom 2-0050: TV standards PAL(B/G) PAL(I)
SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
 tveeprom 2-0050: second tuner model is Philips
TEA5768HL FM Radio (idx 101, type 62)
 tveeprom 2-0050: audio processor is CX25843 (idx 37)
 tveeprom 2-0050: decoder processor is CX25843 (idx
30)
 tveeprom 2-0050: has radio, has no IR remote
 ivtv1: Correcting tveeprom data: no radio present on
second unit
 ivtv1: Autodetected WinTV PVR 500 (unit #2)
 ivtv1: Encoder revision: 0x02050032
 ivtv1: Registered device video1 for encoder MPEG
 ivtv1: Registered device video33 for encoder YUV
 ivtv1: Registered device vbi1 for encoder VBI
 ivtv1: Registered device video25 for encoder PCM
audio
 tuner 2-0061: type set to 73 (Samsung TCPG 6121P30A)
 ivtv1: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv1: i2c addr 0x44 not found for command
0x4008646f!
 ivtv1: i2c hardware 0x00000020 (wm8775) not found for
command 0x4008646d!
 ivtv1: i2c hardware 0x00000001 (cx2584x) not found
for command 0x4008646d!
 ivtv1: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv1: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv1: i2c hardware 0x00000001 (cx2584x) not found
for command 0xc008561c!
 ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
 ivtv:  ====================  END INIT IVTV 
====================

Running depmod -a didn't change anything. I had a look
at modules.dep and the line for ivtv looks like this:

/lib/modules/2.6.19.1/kernel/drivers/media/video/ivtv/ivtv.ko:
/lib/modules/2.6.19.1/kernel/drivers/i2c/algos/i2c-a
lgo-bit.ko
/lib/modules/2.6.19.1/kernel/drivers/media/video/cx2341x.ko
/lib/modules/2.6.19.1/kernel/drivers/media/v
ideo/tveeprom.ko
/lib/modules/2.6.19.1/kernel/drivers/i2c/i2c-core.ko
/lib/modules/2.6.19.1/kernel/drivers/media/vi
deo/videodev.ko
/lib/modules/2.6.19.1/kernel/drivers/media/video/v4l1-compat.ko
/lib/modules/2.6.19.1/kernel/driver
s/media/video/v4l2-common.ko

No cx25840.ko or wm8775.ko there, although they do
each have their own entry in the list, so they can be
found.

When I now remove the ivtv module again and load the
two others manually before reloading ivtv, the whole
thing looks ok. dmesg gives me:

 ivtv1: Removed WinTV PVR 500 (unit #2), card #1
 ivtv0: Removed WinTV PVR 500 (unit #1), card #0
 ivtv:  ==================== START INIT IVTV
====================
 ivtv:  version 0.9.1 (tagged release) loading
 ivtv:  Linux version: 2.6.19.1 SMP mod_unload 586
REGPARM 
 ivtv:  In case of problems please include the debug
info between
 ivtv:  the START INIT IVTV and END INIT IVTV lines,
along with
 ivtv:  any module options, when mailing the
ivtv-users mailinglist.
 ivtv0: Autodetected Hauppauge card (cx23416 based)
 ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144
bytes)
 tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
 tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
 tuner 1-0060: TEA5767 detected.
 tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
 tuner 1-0060: type set to 62 (Philips TEA5767HN FM
Radio)
 tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
 wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
 cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c
driver #0)
 cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382
bytes)
 tveeprom 1-0050: Hauppauge model 23559, rev D596,
serial# 9822730
 tveeprom 1-0050: tuner model is Samsung TCPG 6121P30A
(idx 96, type 73)
 tveeprom 1-0050: TV standards PAL(B/G) PAL(I)
SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
 tveeprom 1-0050: second tuner model is Philips
TEA5768HL FM Radio (idx 101, type 62)
 tveeprom 1-0050: audio processor is CX25843 (idx 37)
 tveeprom 1-0050: decoder processor is CX25843 (idx
30)
 tveeprom 1-0050: has radio, has no IR remote
 ivtv0: Autodetected WinTV PVR 500 (unit #1)
 ivtv0: Encoder revision: 0x02050032
 ivtv0: Registered device video0 for encoder MPEG
 ivtv0: Registered device video32 for encoder YUV
 ivtv0: Registered device vbi0 for encoder VBI
 ivtv0: Registered device video24 for encoder PCM
audio
 ivtv0: Registered device radio0 for encoder radio
 tuner 1-0061: type set to 73 (Samsung TCPG 6121P30A)
 ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
 ivtv:  ======================  NEXT CARD 
======================
 ivtv1: Autodetected Hauppauge card (cx23416 based)
 ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144
bytes)
 tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #1)
 tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
 tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
 wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
 cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c
driver #1)
 cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382
bytes)
 tveeprom 2-0050: Hauppauge model 23559, rev D596,
serial# 9822730
 tveeprom 2-0050: tuner model is Samsung TCPG 6121P30A
(idx 96, type 73)
 tveeprom 2-0050: TV standards PAL(B/G) PAL(I)
SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
 tveeprom 2-0050: second tuner model is Philips
TEA5768HL FM Radio (idx 101, type 62)
 tveeprom 2-0050: audio processor is CX25843 (idx 37)
 tveeprom 2-0050: decoder processor is CX25843 (idx
30)
 tveeprom 2-0050: has radio, has no IR remote
 ivtv1: Correcting tveeprom data: no radio present on
second unit
 ivtv1: Autodetected WinTV PVR 500 (unit #2)
 ivtv1: Encoder revision: 0x02050032
 ivtv1: Registered device video1 for encoder MPEG
 ivtv1: Registered device video33 for encoder YUV
 ivtv1: Registered device vbi1 for encoder VBI
 ivtv1: Registered device video25 for encoder PCM
audio
 tuner 2-0061: type set to 73 (Samsung TCPG 6121P30A)
 ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
 ivtv:  ====================  END INIT IVTV 
====================

For background information: I am running Ubuntu Edgy,
for which I installed an upgraded kernel 2.6.19 to be
able to run ivtv 0.9.1 and have my tuner supported. I
can only imagine that I did something wrong in the
installation, but I have no idea what that could be.

I could work around it and create something in
modprobe.conf to automatically load these two modules.
But I'm afraid that I will run into more trouble later
on caused by the same problem, so any help that anyone
could offer is greatly appreciated.

Thanks, Han.



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to