Author |
Message |
Mythuser
|
Posted: Thu Sep 08, 2005 8:52 pm |
|
Joined: Thu Sep 08, 2005 8:41 pm
Posts: 20
|
I have extracted the ivtv-fw-dec.bin ivtv-fw-enc.bin files from the pvr48wdm_1.8.22037.exe file using ivtvfwextract, and copied the files to /lib/modules/ as outlined in some of the docs I have found. On loading ivtv I am getting these errors regarding firmware:
root@mythtv:~# dmesg | grep ivtv
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.7 (k) loading
ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 250 card (iTVC16 based)
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
ivtv: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
msp34xx: ivtv version
ivtv: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21]
ivtv: requesting ivtv-fw-enc.bin from hotplug
ivtv: firmware load failed
ivtv warning: failed loading encoder firmware
ivtv warning: Error loading firmware -3!
ivtv: Error -3 initializing firmware.
ivtv: Error -12 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:01:0a.0 failed with error -12
ivtv: ==================== END INIT IVTV ====================
Here are the contents of /etc/modprobe.d/ivtv:
root@mythtv:~# cat /etc/modprobe.d/ivtv
alias char-major-81 videodev
alias char-major-81-0 ivtv
Any help would be appreciated. As of right now, when I choose "watch TV" in Mythtv, the screen just goes black and I see nothing. Probably expected with ivtv not loading the firmware for the tuner correctly though  . Thanks!
|
|
Top |
|
 |
tjc
|
Posted: Thu Sep 08, 2005 9:35 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
|
Top |
|
 |
Mythuser
|
Posted: Thu Sep 08, 2005 9:45 pm |
|
Joined: Thu Sep 08, 2005 8:41 pm
Posts: 20
|
Thx for the reply! Im not sure it applies really. Attaching the full output of dmesg:
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.7 (k) loading
ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: User specified WinTV PVR 250 card (detected iTVC16 based chip)
ACPI: PCI interrupt 0000:01:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 32062, rev = C199, serial# = 8115463
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP3445 (type = c)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin:sample_rate: 10
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
tuner: type set to 39 (LG NTSC (newer TAPC series)) by insmod option
tuner: The type=<n> insmod option will go away soon.
tuner: Please use the tuner=<n> option provided by
tuner: tv aard core driver (bttv, saa7134, ...) instead.
msp34xx: ivtv version
msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode, simpler (G)
no-thread mode
msp34xx: $Id$ compiled on: Sep 8 2005 17:56:00
ivtv: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21]
ivtv: requesting ivtv-fw-enc.bin from hotplug
ivtv: firmware load failed
ivtv warning: failed loading encoder firmware
ivtv warning: Error loading firmware -3!
ivtv: Error -3 initializing firmware.
ivtv: Error -12 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:01:0a.0 failed with error -12
ivtv: ==================== END INIT IVTV ====================
|
|
Top |
|
 |
tjc
|
Posted: Thu Sep 08, 2005 9:50 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Properly detected...
Quote: tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50) Improperly overridden? Quote: tuner: type set to 39 (LG NTSC (newer TAPC series)) by insmod option
BTW - much of the PVR-150 stuff is applicable to the newer PVR-250s and vice-versa...
|
|
Top |
|
 |
Mythuser
|
Posted: Thu Sep 08, 2005 10:04 pm |
|
Joined: Thu Sep 08, 2005 8:41 pm
Posts: 20
|
SOrry the last dmesg output I had put in a few extra things in /etc/modprobe.d/ivtv trying to get things to work. When I remove the options as I had originally, this is the output:
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.7 (k) loading
ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 250 card (iTVC16 based)
ACPI: PCI interrupt 0000:01:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 32062, rev = C199, serial# = 8115463
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP3445 (type = c)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin:sample_rate: 10
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
msp34xx: ivtv version
msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Sep 8 2005 17:56:00
ivtv: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21]
ivtv: requesting ivtv-fw-enc.bin from hotplug
ivtv: firmware load failed
ivtv warning: failed loading encoder firmware
ivtv warning: Error loading firmware -3!
ivtv: Error -3 initializing firmware.
ivtv: Error -12 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:01:0a.0 failed with error -12
ivtv: ==================== END INIT IVTV ====================
I have looked through a lot of the 150 and 250 posts on multiple sites, but there isnt much info on problems loading firmware. Thanks for the help!
|
|
Top |
|
 |
tjc
|
Posted: Thu Sep 08, 2005 10:08 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Post the results of this...
Code: root@black2:~# ls -al /lib/modules/ total 540 drwxr-xr-x 5 root root 4096 Jun 21 22:28 . drwxr-xr-x 11 root root 4096 May 23 20:20 .. drwxr-xr-x 11 root root 4096 Aug 29 21:57 2.6.11.9-chw-2 drwxr-xr-x 3 root root 4096 Nov 20 2004 extra -rw-r--r-- 1 root root 262144 Jun 21 22:28 ivtv-fw-dec.bin -rw-r--r-- 1 root root 262144 Jun 21 22:28 ivtv-fw-enc.bin drwxr-xr-x 2 root root 4096 Mar 22 23:52 misc
|
|
Top |
|
 |
tjc
|
Posted: Thu Sep 08, 2005 10:09 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Oh, and this too...
Code: root@black2:~# md5sum /lib/modules/*.bin 305dba74bbe5905447add8883f3ecb68 /lib/modules/ivtv-fw-dec.bin ab75947ef1b086e26f9b08e628baa02e /lib/modules/ivtv-fw-enc.bin
Yours may not match these, but it should match one of the ones from the ivtv wiki here: http://ivtv.writeme.ch/tiki-index.php?page=FirmwareVersions
Last edited by tjc on Thu Sep 08, 2005 10:11 pm, edited 1 time in total.
|
|
Top |
|
 |
Mythuser
|
Posted: Thu Sep 08, 2005 10:10 pm |
|
Joined: Thu Sep 08, 2005 8:41 pm
Posts: 20
|
root@mythtv:~# ls -la /lib/modules/
total 560
drwxr-xr-x 5 root root 4096 Sep 8 19:35 .
drwxr-xr-x 11 root root 8192 Sep 8 17:46 ..
drwxr-xr-x 11 root root 4096 Sep 8 22:00 2.6.11.9-chw-2
-r-xr-xr-x 1 root root 14264 Sep 8 19:35 HcwMakoA.ROM
drwxr-xr-x 3 root root 4096 Nov 20 2004 extra
-rw-r--r-- 1 root root 262144 Sep 8 19:39 ivtv-fw-dec.bin
-rw-r--r-- 1 root root 262144 Sep 8 19:39 ivtv-fw-enc.bin
drwxr-xr-x 2 root root 4096 Mar 22 21:52 misc
|
|
Top |
|
 |
Mythuser
|
Posted: Thu Sep 08, 2005 10:11 pm |
|
Joined: Thu Sep 08, 2005 8:41 pm
Posts: 20
|
root@mythtv:~# md5sum /lib/modules/*.bin
305dba74bbe5905447add8883f3ecb68 /lib/modules/ivtv-fw-dec.bin
ab75947ef1b086e26f9b08e628baa02e /lib/modules/ivtv-fw-enc.bin
|
|
Top |
|
 |
tjc
|
Posted: Thu Sep 08, 2005 10:28 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Googling for: "ivtv: firmware load failed" may be productive... Maybe a different rev of the IVTV kernel driver would work better, or the hotplug stuff may expect the files in a different location or with different names...
|
|
Top |
|
 |
shplad
|
Posted: Fri Sep 09, 2005 2:04 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
Hi guys:
I hope you don't mind this minor thread hijack, but I'm also unable to get my firmware
loaded on my PVR-150.
From dmesg:
Code: cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005) cx25840: detecting client on address 0x88 cx25840: writing init values cx25840: Reset cx25840: Boot i2c_adapter i2c-0: sendbytes: error - bailout. cx25840: Failed to upload FW chunk, size 1022, uploaded 3066 bytes. cx25840: Failed to load any FW image file
I googled as tjc suggested, but only found about 7 hits, and they were all to no avail.
Just in case it had to do with hotplug, I copied all the relevant firwmare files (I think?)
to the /usr/lib/hotplug/firmware folder. I take it that's the right place for R5A12?
Anyways, that didn't help.
I'm really open to suggestions at this point. I'm losing hope.
Thanks.
shplad
tjc wrote: Googling for: "ivtv: firmware load failed" may be productive... Maybe a different rev of the IVTV kernel driver would work better, or the hotplug stuff may expect the files in a different location or with different names...
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
Mythuser
|
Posted: Fri Sep 09, 2005 3:39 pm |
|
Joined: Thu Sep 08, 2005 8:41 pm
Posts: 20
|
These look like the applicable firmware directories for hotplug:
Code: FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware /usr/lib/hotplug/firmware" I personally moved mine to /lib/firmware Code: root@mythtv:~# ls -la /lib/firmware/ total 532 drwxr-xr-x 2 root root 4096 Sep 9 10:40 . drwxr-xr-x 11 root root 8192 Sep 8 17:46 .. -rw-r--r-- 1 root root 262144 Sep 9 10:40 ivtv-fw-dec.bin -rw-r--r-- 1 root root 262144 Sep 9 10:40 ivtv-fw-enc.bin
After the move, the firmware loaded successfully. I haven't been home yet to try it out, but it looks promising (I will post after testing). dmesg looks clean now: Code: ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.7 (k) loading ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: Autodetected WinTV PVR 250 card (iTVC16 based) ACPI: PCI interrupt 0000:01:0a.0[A] -> GSI 18 (level, low) -> IRQ 18 ivtv: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: Hauppauge: model = 32062, rev = C199, serial# = 8115463 tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = MSP3445 (type = c) tveeprom: decoder processor = SAA7115 (type = 13) ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50] lirc_i2c: chip found @ 0x18 (Hauppauge IR) ivtv: i2c attach to card #0 ok [client=Hauppauge IR, addr=18] lirc_dev: lirc_register_plugin:sample_rate: 10 tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] msp34xx: ivtv version msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode, simpler (G) no-thread mode msp34xx: $Id$ compiled on: Sep 8 2005 17:56:00 ivtv: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40] ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21] ivtv: requesting ivtv-fw-enc.bin from hotplug ivtv: firmware loaded ivtv: Encoder revision: 0x02040011 ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total) ivtv: Create DMA encoder VBI stream: 0 x 17472 buffers (0KB total) ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) tuner: type set to 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #0 ivtv: Initialized WinTV PVR 250, card #0 ivtv: ==================== END INIT IVTV ====================
|
|
Top |
|
 |
shplad
|
Posted: Fri Sep 09, 2005 8:30 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
Mythuser:
Thanks. You're sure about those locations? I only have one of the three folders you mentioned-
/usr/local/lib/hotplug/firmware
What version KnoppMyth?
shplad
[quote="Mythuser"]These look like the applicable firmware directories for hotplug:
Code: FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware /usr/lib/hotplug/firmware"
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
Mythuser
|
Posted: Fri Sep 09, 2005 8:37 pm |
|
Joined: Thu Sep 08, 2005 8:41 pm
Posts: 20
|
Positive (at least for my install). If you look at the /etc/hotplug/firmware.agent file at the FIRMWARE_DIRS variable:
Code: root@mythtv:~# grep FIRMWARE_DIRS !$ grep FIRMWARE_DIRS /etc/hotplug/firmware.agent FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware /usr/lib/hotplug/firmware" for DIR in $FIRMWARE_DIRS; do
May be different on your install, but looking at where the variable is pointing in the script will tell you where to put them.
|
|
Top |
|
 |
shplad
|
Posted: Fri Sep 09, 2005 10:03 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
Mythuser:
Thanks. Okay, you answered one of my questions, how about the other one?
What version of KnoppMyth are you using?
shplad
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |