[ivtv-users] PVR-350 Firmware Problem

Ingemar Nilsson init at kth.se
Mon Mar 27 18:13:50 CEST 2006


Hi!

I built and installed ivtv-0.6.1 on my computer today, along with the 
proper firmware according to

http://www.ivtvdriver.org/index.php/Firmware

Loading the module works, but there seems to be some problem with the 
firmware (dmesg output):

[Lines removed]
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000d2 with result 0xfffffff0
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000d2 with result 0xfffffff0
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000d2 with result 0xfffffff0
ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
ivtv:  ====================  END INIT IVTV  ====================

I also noticed higher up in the dmesg output that the driver claims that 
the v4l-cx2341x-dec.fw and v4l-cx2341x-enc.fw firmware files are exactly 
the same size, 262144 bytes, even though they differ a lot on disk.

dmesg output:

[Lines removed]
msp3400 1-0040: MSP4418G-B3 supports nicam and radio, mode is autodetect 
and autoselect
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
[Lines removed]

ls -l /lib/firmware
total 808
-r--r--r-- 1 root root 262144 Mar 27 16:11 v4l-cx2341x-dec.fw
-r--r--r-- 1 root root 376836 Mar 27 16:06 v4l-cx2341x-enc.fw
-r--r--r-- 1 root root 155648 Mar 27 16:14 v4l-cx2341x-init.mpg
-r--r--r-- 1 root root  14264 Mar 27 16:07 v4l-cx25840.fw

Since the module seemed to load, I tried

cat /dev/video0 > foo.mpg

and the process hung. I could not even kill it with kill -KILL [pid]. 
Dmesg also gave more messages:

ivtv0 warning: No Free Mailbox for cmd 0x000000c9 after 100 tries!
ivtv0 warning: Mailbox[0] 0x000000d3 flags 0x00000003
ivtv0 warning: Mailbox[1] 0x000000d3 flags 0x00000003
ivtv0 warning: Mailbox[2] 0x000000d9 flags 0x00000003
ivtv0 warning: Firmware UNRESPONSIVE when trying cmd 0x000000c9!!!
ivtv0 warning: No Free Mailbox for cmd 0x000000dc after 100 tries!
ivtv0 warning: Mailbox[0] 0x000000db flags 0x00000003
ivtv0 warning: Mailbox[1] 0x000000dc flags 0x00000003
ivtv0 warning: Mailbox[2] 0x000000dc flags 0x00000003
ivtv0 warning: Firmware UNRESPONSIVE when trying cmd 0x000000dc!!!
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000b7 with result 0xfffffff0
ivtv0 warning: No Free Mailbox for cmd 0x000000c8 after 100 tries!
ivtv0 warning: Mailbox[0] 0x000000dc flags 0x00000003
ivtv0 warning: Mailbox[1] 0x000000d7 flags 0x00000003
ivtv0 warning: Mailbox[2] 0x000000d6 flags 0x00000003
ivtv0 warning: Firmware UNRESPONSIVE when trying cmd 0x000000c8!!!
ivtv0 warning: init error 21. Code -16
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000b7 with result 0xfffffff0
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000b7 with result 0xfffffff0
[Lines removed]

The last two lines then repeats themselves indefinitely, with a pair 
added every couple of seconds.

I use Fedora Core 5 with the stock kernel (2.6.15-1.2054_FC5).

Regards
Ingemar

Firmware md5sums:

305dba74bbe5905447add8883f3ecb68  /lib/firmware/v4l-cx2341x-dec.fw
5f5fa240ada73c3565f5f7de4c7b5138  /lib/firmware/v4l-cx2341x-enc.fw
0661f8b2693fe3123e6234557353eacc  /lib/firmware/v4l-cx2341x-init.mpg
3a4803384f749d644ee1f1ca9dcb12fa  /lib/firmware/v4l-cx25840.fw

Full dmesg output from module initialization:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.6.1 (tagged release) loading
ivtv:  Linux version: 2.6.15-1.2054_FC5 686 REGPARM 4KSTACKS gcc-4.1
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 WinTV PVR-350 card (cx23415 based)
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 20
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom 1-0050: Hauppauge model 48139, rev K257, serial# 2913026
tveeprom 1-0050: tuner model is Philips FM1216 ME MK3 (idx 57, type 38)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) 
(eeprom 0x74)
tveeprom 1-0050: audio processor is MSP4418 (idx 25)
tveeprom 1-0050: decoder processor is SAA7115 (idx 19)
tveeprom 1-0050: has radio, has IR remote
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
tda9887 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
msp3400 1-0040: MSP4418G-B3 found @ 0x80 (ivtv i2c driver #0)
msp3400 1-0040: MSP4418G-B3 supports nicam and radio, mode is autodetect 
and autoselect
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB 
total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000d2 with result 0xfffffff0
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000d2 with result 0xfffffff0
ivtv0 warning: 1000 ms time out waiting for firmware
ivtv0 warning: Failed api call 0x000000d2 with result 0xfffffff0
ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
ivtv:  ====================  END INIT IVTV  ====================



More information about the ivtv-users mailing list