I have a Debian box (Kernel version 2.6.13.2-chw-3)
My /etc/hotplug/firmware.agent has the following line in it:

FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware
/usr/lib/hotplug/firmware /lib/modules"

Checking for the Firmware finds the files in the following folders

/lib/firmware/v4l-cx2341x-enc.fw
/lib/modules/v4l-cx2341x-enc.fw
/usr/lib/hotplug/firmware/v4l-cx2341x-enc.fw

And yet, in dmesg, after the system boots I get the following:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.2 (tagged release) loading
ivtv:  Linux version: 2.6.13.2-chw-3 SMP preempt 586 gcc-3.3
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 WinTV PVR 250 card (cx23416 based)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 6
PCI: setting IRQ 6 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 6 (level,
low) -> IRQ 6
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
msp3400 1-0040: ivtv driver
msp3400 1-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio mode=simpler
msp3400 1-0040: msp34xxg daemon started
ivtv0: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
saa7115 1-0021: ivtv driver
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
tveeprom: ivtv version
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 2908903
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP3445 (type = c)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
ivtv0: unable to open firmware v4l-cx2341x-enc.fw
ivtv0: did you put the firmware in the hotplug firmware directory?
ivtv0 warning: failed loading encoder firmware
ivtv0 warning: Error loading firmware -3!
ivtv0: Error -3 initializing firmware.
ivtv0: Error -12 on initialization
ivtv: probe of 0000:00:09.0 failed with error -12
ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level,
low) -> IRQ 10
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
msp3400 1-0040: ivtv driver
msp3400 1-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio mode=simpler
msp3400 1-0040: msp34xxg daemon started
ivtv0: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
saa7115 1-0021: ivtv driver
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
tveeprom: ivtv version
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 2909030
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP3445 (type = c)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
ivtv0: unable to open firmware v4l-cx2341x-enc.fw
ivtv0: did you put the firmware in the hotplug firmware directory?
ivtv0 warning: failed loading encoder firmware
ivtv0 warning: Error loading firmware -3!
ivtv0: Error -3 initializing firmware.
ivtv0: Error -12 on initialization
ivtv: probe of 0000:00:0a.0 failed with error -12
ivtv:  ====================  END INIT IVTV  ====================

But, modprobeing by hand after init has finished (rmmod ivtv &&
modprobe ivtv) returns the following:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.2 (tagged release) loading
ivtv:  Linux version: 2.6.13.2-chw-3 SMP preempt 586 gcc-3.3
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 WinTV PVR 250 card (cx23416 based)
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 6 (level,
low) -> IRQ 6
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
msp3400 1-0040: ivtv driver
msp3400 1-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio mode=simpler
msp3400 1-0040: msp34xxg daemon started
ivtv0: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
saa7115 1-0021: ivtv driver
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
tveeprom: ivtv version
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 2908903
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP3445 (type = c)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv0: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin: sample_rate: 10
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 250, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected WinTV PVR 250 card (cx23416 based)
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level,
low) -> IRQ 10
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
msp3400 2-0040: ivtv driver
msp3400 2-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio mode=simpler
msp3400 2-0040: msp34xxg daemon started
ivtv1: i2c attach to card #1 ok [client=MSP3445G-B8, addr=40]
saa7115 2-0021: ivtv driver
saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=saa7115, addr=21]
tveeprom: ivtv version
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 2909030
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP3445 (type = c)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv1: i2c attach to card #1 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin: sample_rate: 10
ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv1: Encoder revision: 0x02050032
ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #1
ivtv1: Initialized WinTV PVR 250, card #1
ivtv:  ====================  END INIT IVTV  ====================


It looks like something needs to load before ivtv's initialised
(Perhaps hotplug isn't loaded yet). How do I change the load order in
Debian, or can I disable loading IVTV and let hotplug do that?

I *THINK* hotplug is trying to load IVTV itself, but IVTV's already
loaded earlier (And has failed to find the firmware), as in
/var/log/messages, after the IVTV init, I see:

Mar 26 09:23:21 mythtv pci.agent[5977]:      ivtv: already loaded
Mar 26 09:23:22 mythtv pci.agent[6024]:      ivtv: already loaded
--
Robert "Anaerin" Johnston

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

Reply via email to