LinHES Forums
http://forums.linhes.org/

PVR-150 -- Error Locating Firmware?
http://forums.linhes.org/viewtopic.php?f=2&t=14224
Page 1 of 2

Author:  seano [ Fri Feb 16, 2007 9:35 pm ]
Post subject:  PVR-150 -- Error Locating Firmware?

Sometimes I reboot and my PVR-150 card works and sometimes it doesn't - and lately it seems like it takes a few reboots to make it work.

Here's the key portion (I think) of my kern.log:

Feb 16 19:03:35 mythtv kernel: ivtv0 warning: Encoder mailbox not found
Feb 16 19:03:35 mythtv kernel: ivtv0 warning: Decoder mailbox not found
Feb 16 19:03:35 mythtv kernel: ivtv0: Error locating firmware.
Feb 16 19:03:35 mythtv kernel: ivtv0: Error -12 on initialization
Feb 16 19:03:35 mythtv kernel: ivtv: probe of 0000:01:08.0 failed with error -12


And here's the entire ivtv portion of my kern.log:

Code:
Feb 16 19:03:35 mythtv kernel: ivtv:  ==================== START INIT IVTV ====================
Feb 16 19:03:35 mythtv kernel: ivtv:  version 0.8.2 (tagged release) loading
Feb 16 19:03:35 mythtv kernel: ivtv:  Linux version: 2.6.18-chw-13 SMP preempt mod_unload 586 gcc-4.1
Feb 16 19:03:35 mythtv kernel: ivtv:  In case of problems please include the debug info between
Feb 16 19:03:35 mythtv kernel: ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
Feb 16 19:03:35 mythtv kernel: ivtv:  any module options, when mailing the ivtv-users mailinglist.
Feb 16 19:03:35 mythtv kernel: tuner 3-0043: chip found @ 0x86 (cx88[1])
Feb 16 19:03:35 mythtv kernel: tda9887 3-0043: tda988[5/6/7] found @ 0x43 (tuner)
Feb 16 19:03:35 mythtv kernel: tuner 3-0061: chip found @ 0xc2 (cx88[1])
Feb 16 19:03:35 mythtv kernel: tuner 3-0061: type set to 60 (Thomson DTT 761X (ATSC/NTSC))
Feb 16 19:03:35 mythtv kernel: lirc_dev: IR Remote Control driver registered, at major 61
Feb 16 19:03:35 mythtv kernel:
Feb 16 19:03:35 mythtv kernel: lirc_mceusb2: Philips eHome USB IR Transciever and Microsoft MCE 2005 Remote Control driver for LIRC v0.26
Feb 16 19:03:35 mythtv kernel: lirc_mceusb2: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>
Feb 16 19:03:35 mythtv kernel: cx88[1]/0: found at 0000:01:09.0, rev: 5, irq: 20, latency: 32, mmio: 0xfb000000
Feb 16 19:03:35 mythtv kernel: cx88[1]/0: registered device video1 [v4l2]
Feb 16 19:03:35 mythtv kernel: cx88[1]/0: registered device vbi1
Feb 16 19:03:35 mythtv kernel: cx88[1]/0: registered device radio1
Feb 16 19:03:35 mythtv kernel: ACPI: PCI Interrupt 0000:01:09.2[A] -> Link [APC4] -> GSI 19 (level, low) -> IRQ 20
Feb 16 19:03:35 mythtv kernel: cx88[1]/2: found at 0000:01:09.2, rev: 5, irq: 20, latency: 32, mmio: 0xfa000000
Feb 16 19:03:35 mythtv kernel: cx88[1]/2: cx2388x based dvb card
Feb 16 19:03:35 mythtv kernel: DVB: registering new adapter (cx88[1]).
Feb 16 19:03:35 mythtv kernel: DVB: registering frontend 1 (Oren OR51132 VSB/QAM Frontend)...
Feb 16 19:03:35 mythtv kernel: ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 19
Feb 16 19:03:35 mythtv kernel: ice1724: Invalid EEPROM version 1
Feb 16 19:03:35 mythtv kernel: usb 2-2: reset full speed USB device using ohci_hcd and address 2
Feb 16 19:03:35 mythtv kernel: ivtv0: Autodetected Hauppauge card (cx23416 based)
Feb 16 19:03:35 mythtv kernel: ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
Feb 16 19:03:35 mythtv kernel: ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 22
Feb 16 19:03:35 mythtv kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
Feb 16 19:03:35 mythtv kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Feb 16 19:03:35 mythtv kernel: lirc_mceusb2[2]: Philips eHome Infrared Transceiver on usb2:2
Feb 16 19:03:35 mythtv kernel: usbcore: registered new driver lirc_mceusb2
Feb 16 19:03:35 mythtv kernel: ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0010dc00007ca6ea]
Feb 16 19:03:35 mythtv kernel: eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
Feb 16 19:03:35 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Feb 16 19:03:35 mythtv kernel: tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #0)
Feb 16 19:03:35 mythtv kernel: tveeprom 4-0050: Hauppauge model 26052, rev C199, serial# 8165198
Feb 16 19:03:35 mythtv kernel: tveeprom 4-0050: tuner model is TCL 2002N 5H (idx 99, type 50)
Feb 16 19:03:35 mythtv kernel: tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
Feb 16 19:03:35 mythtv kernel: tveeprom 4-0050: audio processor is CX25843 (idx 37)
Feb 16 19:03:35 mythtv kernel: tveeprom 4-0050: decoder processor is CX25843 (idx 30)
Feb 16 19:03:35 mythtv kernel: tveeprom 4-0050: has no radio, has IR remote
Feb 16 19:03:35 mythtv kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150
Feb 16 19:03:35 mythtv kernel: ivtv0: reopen i2c bus for IR-blaster support
Feb 16 19:03:35 mythtv kernel: tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #0)
Feb 16 19:03:35 mythtv kernel: cx25840 4-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
Feb 16 19:03:35 mythtv kernel: cx25840 4-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
Feb 16 19:03:35 mythtv kernel: wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #0)
Feb 16 19:03:35 mythtv kernel: ivtv0 warning: Encoder mailbox not found
Feb 16 19:03:35 mythtv kernel: ivtv0 warning: Decoder mailbox not found
Feb 16 19:03:35 mythtv kernel: ivtv0: Error locating firmware.
Feb 16 19:03:35 mythtv kernel: ivtv0: Error -12 on initialization
Feb 16 19:03:35 mythtv kernel: ivtv: probe of 0000:01:08.0 failed with error -12
Feb 16 19:03:35 mythtv kernel: cx2388x blackbird driver version 0.0.6 loaded
Feb 16 19:03:35 mythtv kernel: ivtv:  ====================  END INIT IVTV  ====================




Any ideas?

Thanks!

Sean

Author:  seano [ Sat Feb 17, 2007 3:06 pm ]
Post subject: 

I installed the latest ivtv 0.10.0 and their provided firmware. Same problem - new error message.


Feb 17 12:55:07 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
Feb 17 12:55:07 mythtv kernel: ivtv0 warning: Encoder mailbox not found
Feb 17 12:55:07 mythtv kernel: ivtv0: Retry loading firmware
Feb 17 12:55:07 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
Feb 17 12:55:07 mythtv kernel: ivtv0 warning: Encoder mailbox not found
Feb 17 12:55:07 mythtv kernel: ivtv0: Error initializing firmware
Feb 17 12:55:07 mythtv kernel: ivtv0: Error -19 on initialization


Here's the ivtv part of the kern.log:
Code:
Feb 17 12:55:07 mythtv kernel: ivtv:  ==================== START INIT IVTV ====================
Feb 17 12:55:07 mythtv kernel: ivtv:  version 0.10.0 (tagged release) loading
Feb 17 12:55:07 mythtv kernel: ivtv:  Linux version: 2.6.18-chw-13 SMP preempt mod_unload 586 gcc-4.1
Feb 17 12:55:07 mythtv kernel: ivtv:  In case of problems please include the debug info between
Feb 17 12:55:07 mythtv kernel: ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
Feb 17 12:55:07 mythtv kernel: ivtv:  any module options, when mailing the ivtv-users mailinglist.
Feb 17 12:55:07 mythtv kernel: ivtv0: Autodetected Hauppauge card (cx23416 based)
Feb 17 12:55:07 mythtv kernel: ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
Feb 17 12:55:07 mythtv kernel: ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 22
Feb 17 12:55:07 mythtv kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
Feb 17 12:55:07 mythtv kernel: ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0010dc00007ca6ea]
Feb 17 12:55:07 mythtv kernel: eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
Feb 17 12:55:07 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
Feb 17 12:55:07 mythtv kernel: ivtv0 warning: Encoder mailbox not found
Feb 17 12:55:07 mythtv kernel: ivtv0: Retry loading firmware
Feb 17 12:55:07 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
Feb 17 12:55:07 mythtv kernel: ivtv0 warning: Encoder mailbox not found
Feb 17 12:55:07 mythtv kernel: ivtv0: Error initializing firmware
Feb 17 12:55:07 mythtv kernel: ivtv0: Error -19 on initialization
Feb 17 12:55:07 mythtv kernel: ivtv:  ====================  END INIT IVTV  ====================


Any ideas?
Did my card die? It's being detected... just not initializing the FW.

I've been using this card with no problems for over a year...

Thanks!

-SeanO

Author:  seano [ Mon Feb 19, 2007 10:02 pm ]
Post subject: 

I'm alone on this one eh?

I did read some other threads that moving the PCI card fixed things - but I'm betting that that advice falls under the same category as:
- reboot
- power down completely - unplug everything, wait 10 min, say the following chant, plug everything back in, boot up

And reboot works for me - about 1 in 20 times. Though lately I'm having trouble finding down time to do a reboot. (I have 2 DVB cards going along just fine...)

-SeanO

Author:  craigtv [ Mon Feb 19, 2007 10:29 pm ]
Post subject: 

seano wrote:
I installed the latest ivtv 0.10.0 and their provided firmware.


I've been trying to install ivtv 0.10.0, and I can't get it to compile. I've loaded the kernel source and used these directions ...

Code:
cd /usr/src/linux-source-2.6.18-chw-13; cp /boot/config-2.6.18-chw-13 .config; make
cd /usr/src; rm linux; ln -s linux-source-2.6.18-chw-13 linux


but the make for ivtv fails looking for instructions for module.

Any tips?

Author:  craigtv [ Tue Feb 20, 2007 9:11 pm ]
Post subject: 

Answering my own post ...

I got ivtv to build by changing

/lib/modules/2.6.18-chw-13/build

so it links to

/usr/src/linux-source-2.6.18-chw-13

rather than the headers.

So far ivtv 0.10.0 is working well for me ... no dropped frames so far.

I haven't seen anything like you're seeing with your card ... I'd agree with your assessment that it looks like the card itself has a problem. Might be worth reseating the card in the PCI slot if you haven't tried that.

Author:  tjc [ Tue Feb 20, 2007 9:21 pm ]
Post subject: 

Craig could you add a note to that effect in step 1 here: http://www.knoppmythwiki.org/index.php?page=CompileIvtv-0.10.0

Unfortunately I didn't have a vanilla R5E50 system to check that part of the instructions on...

Author:  craigtv [ Tue Feb 20, 2007 9:52 pm ]
Post subject: 

tjc wrote:
Craig could you add a note to that effect in step 1 ....


Done!

That's my first crack at editing the wiki, so don't hesitate to let me know if I screwed something up!

C.

Author:  seano [ Tue Feb 20, 2007 10:08 pm ]
Post subject: 

craigtv wrote:
I've been trying to install ivtv 0.10.0...
Any tips?


Hey Craig,

Sorry I didn't respond before you solve it.

I saw that IVTV was looking for source in the headers so...
I made a backup of the headers dir then copied all of the src into the headers dir. Then I ran the ivtv make, make install and then I dropped the firmware where it told me to (/usr/lib/hotplug/firmware/ ???)

-SeanO

Author:  seano [ Tue Feb 20, 2007 10:10 pm ]
Post subject: 

Back on topic...

Anyone ever see this issue before?

If I have dead hardware I'll just go get one of those PVR-500 cards.
I don't have a PC that I can toss the card into for a quick check.

-SeanO

Author:  bbear [ Wed Mar 07, 2007 3:33 pm ]
Post subject: 

seano,
did you go out and get a PVR-500? I also have a similar 'dead' system, but in my case it was as a result of trying to install a PVR-500 and I wonder if there is something screwed up with these Hauppauge cards or with the drivers for them in KnoppMyth.

I can't get the probe to work in R5E50 (I think this means it is not detected on the PCI bus). If I go to mythtv setup/capture cards I see that it has failed to 'probe' the card.

Some background:

Initially I took my working R5E50 system and added the PVR-500 but it was not able to probe the card. So I did a clean install with just the PVR-500 installed and the probed worked ok.

Then I added my Airstar HD capture card back in and after that the probe of the PVR-500 failed.

Last night I decided to try a clean install again, this time with my Airstar and the PVR-500 installed. Once again the probe failed. I noticed some message during the KnoppMyth install where its said that there was some problem with interrupts, about trying to clear the interrupt but finding that it was already cleared. I ignored the error message and finished the R5E50 install but perhaps the error message is a pointer to the problem I am now experiencing with probe failing.

I am beginning to wonder if there is some problem with the PVR-500 and interrupts. Perhaps being a dual-tuner it has two interrupts on the Pci but for some reason KnoppMyth only thinks it has one. Perhaps then it is getting confused with the interrupt from the Airstar card.

Anyway, this is all just theory for now but I have read of people with these Hauppauge cards with problem which are sometimes fixed by just moving to another PCI slot. I only have two Pci slots so my options are limited, all I can do is swap the Airstar and the PVR-500 over.

I know this doesn't really help, but perhaps someone reading this forum might spot a common thread and come up with some suggestions.

Kevin

Author:  tjc [ Wed Mar 07, 2007 7:44 pm ]
Post subject: 

Have you tried the ivtv 0.10.1 driver to see if that helps?

Author:  bbear [ Wed Mar 07, 2007 9:26 pm ]
Post subject: 

No, I have not tried the ivtv 0.10.1 driver; I will read up on how to install that.

The strange thing is that I did have the PVR-500 working, or at least the PCI probe was working, it was only after I did the other steps (updated Nvidia driver, installed wifi, etc) that it has become 'broken'.

I have now removed the Airstar card and the wifi but still it can’t probe the card. In the original messages file, when it was first able to probe the card I could see:

Mar 4 20:03:57 mythtv kernel: tveeprom 4-0050: Hauppauge model 23552, rev E692, serial# 10208907
Mar 4 20:03:57 mythtv kernel: tveeprom 4-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
Mar 4 20:03:57 mythtv kernel: tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
Mar 4 20:03:57 mythtv kernel: tveeprom 4-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
Mar 4 20:03:57 mythtv kernel: tveeprom 4-0050: audio processor is CX25843 (idx 37)
Mar 4 20:03:57 mythtv kernel: tveeprom 4-0050: decoder processor is CX25843 (idx 30)
Mar 4 20:03:57 mythtv kernel: tveeprom 4-0050: has radio, has no IR remote
Mar 4 20:03:57 mythtv kernel: ivtv1: Correcting tveeprom data: no radio present on second unit
Mar 4 20:03:57 mythtv kernel: ivtv1: Autodetected WinTV PVR 500 (unit #2)
Mar 4 20:03:57 mythtv kernel: ivtv1: Encoder revision: 0x02050032
Mar 4 20:03:57 mythtv kernel: ivtv1: Registered device video1 for encoder MPEG
Mar 4 20:03:57 mythtv kernel: ivtv1: Registered device video33 for encoder YUV
Mar 4 20:03:57 mythtv kernel: ivtv1: Registered device vbi1 for encoder VBI
Mar 4 20:03:57 mythtv kernel: ivtv1: Registered device video25 for encoder PCM audio
Mar 4 20:03:57 mythtv kernel: tuner 4-0061: type set to 57 (Philips FQ1236A MK4)
Mar 4 20:03:57 mythtv kernel: ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
Mar 4 20:03:57 mythtv kernel: ivtv: ==================== END INIT IVTV ====================



But after it stopped working I don't see any of these 'type' messages for the card, also in kern.log I now see ..

Mar 4 20:03:57 mythtv kernel: PCI: Setting latency timer of device 0000:00:02.0 to 64
Mar 4 20:03:57 mythtv kernel: pcie_portdrv_probe->Dev[02fc:10de] has invalid IRQ. Check vendor BIOS
Mar 4 20:03:57 mythtv kernel: assign_interrupt_mode Found MSI capability
Mar 4 20:03:57 mythtv kernel: Allocate Port Service[0000:00:02.0:pcie00]
Mar 4 20:03:57 mythtv kernel: Allocate Port Service[0000:00:02.0:pcie03]
Mar 4 20:03:57 mythtv kernel: PCI: Setting latency timer of device 0000:00:03.0 to 64
Mar 4 20:03:57 mythtv kernel: pcie_portdrv_probe->Dev[02fd:10de] has invalid IRQ. Check vendor BIOS
Mar 4 20:03:57 mythtv kernel: assign_interrupt_mode Found MSI capability
Mar 4 20:03:57 mythtv kernel: Allocate Port Service[0000:00:03.0:pcie00]
Mar 4 20:03:57 mythtv kernel: Allocate Port Service[0000:00:03.0:pcie03]
Mar 4 20:03:57 mythtv kernel: PCI: Setting latency timer of device 0000:00:04.0 to 64
Mar 4 20:03:57 mythtv kernel: pcie_portdrv_probe->Dev[02fb:10de] has invalid IRQ. Check vendor BIOS

I have checked my BIOS and cant see a problem. I have the latest BISO for my ASUS M2NPV-VM motherboard.

I will try the ivtv 0.10.1 driver as you suggest,

<edit> Found the Wiki page for updating the ivtv drivers:

http://knoppmythwiki.org/index.php?page=CompileIvtv


thanks for your help,

Kevin

Author:  tjc [ Wed Mar 07, 2007 11:03 pm ]
Post subject: 

There is a dedicated (and much cleaner) page for the new ivtv 0.10.x stuff:
http://www.knoppmythwiki.org/index.php?page=CompileIvtv-0.10.0

Author:  bbear [ Wed Mar 07, 2007 11:07 pm ]
Post subject: 

thanks, I found a link to that page from the original page I mentioned in my last post. I am working through each of the steps right now. So far the install is going ok, I am just checking the md5sum is ok,

Kevin

Author:  bbear [ Wed Mar 07, 2007 11:28 pm ]
Post subject:  ivtv-0.10.0 fixed the probing problem with my PVR-500

tjc,
thanks so much for your help. The ivtv-0.10.0 did the trick. My system is now able to probe the PVR-500. I have installed my Airstar card and I can now see all three tuners (two on the PVR-500).

I am getting a pesistent message when I go to the exit screen about the backend not running but I have seen this before, I don't think it is anything to do with adding the PVR-500. I saw a thread discusing this backend not starting problem (or starting, but not able to do anything), this will be my next project to work on :)

Kevin

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/