You are not logged in.

#1 2008-05-17 02:20:48

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

[SOLVED] Mythtv-failed to open card-PVR-500

Hello all,

I am running Arch64 and trying to get mythtv up and running. It seems to have installed fine (I installed it from the repositories). However when I run mythtv-setup and try to setup my tuner card, which is a Haupauge PVR-500, I get a 'failed to open card' error.

I used to run Ubuntu and mythtv found and used my card just fine, so I am not sure what the deal is here. I also do not know what kind of information that I need to provide for this issue, so anything that is needed, just ask.

I assume that it is a missing driver or something similar but I have no idea how to check for that, or how to test the card outside of mythtv. If I figure any of that out, I will post back.

Any help is greatly appreciated. Thanks.

Okay I just read to try:

cat /dev/video0 > tst.mpg

to see if the card is working. I get a 'no such device' error. I also tried /dev/v4l/video0, with the same problem.

From what I can tell using dmesg | less the card seems to be recognized, so perhaps it is an issue with mounting? It doesn't really seem now that it is a mythtv problem, I guess that I need to get the card working altogether.

Last edited by The Avatar of Time (2008-05-27 14:47:30)

Offline

#2 2008-05-18 06:55:58

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Mythtv-failed to open card-PVR-500

I am still lost. Here is my 'dmesg | less' output (the relevant part at least):

Linux video capture interface: v2.00
ivtv:  Start initialization, version 1.1.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 17
ACPI: PCI Interrupt 0000:06:08.0[A] -> Link [LNKA] -> GSI 17 (level, low) -> IRQ 17
lp0: using parport0 (interrupt-driven).
usb 1-4: configuration #1 chosen from 1 choice
scsi15 : SCSI emulation for USB Mass Storage devices
tveeprom 4-0050: Hauppauge model 23552, rev E692, serial# 10446549
tveeprom 4-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 4-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
tveeprom 4-0050: audio processor is CX25843 (idx 37)
tveeprom 4-0050: decoder processor is CX25843 (idx 30)
tveeprom 4-0050: has radio, has no IR receiver, has no IR transmitter
ivtv0: Autodetected WinTV PVR 500 (unit #1)
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4F11
tuner 4-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 4-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 4-0043: type set to tda9887
TEA5767 detected.
tuner 4-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tea5767 4-0060: type set to Philips TEA5767HN FM Radio
tuner 4-0060: type set to tea5767
tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 4-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #0)
tuner-simple 4-0061: type set to 57 (Philips FQ1236A MK4)
tuner 4-0061: type set to Philips FQ1236A MK4
ivtv0: Registered device video0 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized card #0: WinTV PVR 500 (unit #1)
ivtv1: Initializing card #1
ivtv1: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 16
ACPI: PCI Interrupt 0000:06:09.0[A] -> Link [LNKB] -> GSI 16 (level, low) -> IRQ 16
tuner 5-0043: chip found @ 0x86 (ivtv i2c driver #1)
tda9887 5-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 5-0043: type set to tda9887
tuner 5-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 5-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #1)
tveeprom 5-0050: Hauppauge model 23552, rev E692, serial# 10446549
tveeprom 5-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
tveeprom 5-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 5-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
tveeprom 5-0050: audio processor is CX25843 (idx 37)
tveeprom 5-0050: decoder processor is CX25843 (idx 30)
tveeprom 5-0050: has radio, has no IR receiver, has no IR transmitter
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
tuner-simple 5-0061: type set to 57 (Philips FQ1236A MK4)
tuner 5-0061: type set to Philips FQ1236A MK4
usb 1-2: reset full speed USB device using ohci_hcd and address 3
ivtv1: Registered device video1 for encoder MPG (4096 kB)
ivtv1: Registered device video33 for encoder YUV (2048 kB)
ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
ivtv1: Registered device video25 for encoder PCM (320 kB)
ivtv1: Initialized card #1: WinTV PVR 500 (unit #2)
ivtv:  End initialization

I would take this to mean that the card is recognized.  However, I can not seem to get the card to work.

I have tried:

'cat /dev/video0 > tst.mpg'

As well as:

'cat /dev/v4l/video0 > tst.mpg'

Neither of which work. I get:

'cat: /dev/video0: No such device or address'

I assume then that it is perhaps an issue with mounting the card in order to use it? I did not have to do anything to it in Ubuntu 7.10, from which I had a command line install with Fluxbox, which is essentially what I have here in Arch64. That doesn't mean that everything will be the same here of course, but I know that the card works with Linux and I can see no reason why it isn't working now.

The card is not listed in /etc/fstab, but I cannot remember if that was the case in Ubuntu or not. I am not sure how to go about adding it to fstab if that is indeed the problem. I would think that either the card needs mounted or needs drivers, neither of I have any idea how to go about doing at the moment.

If anyone has any ideas as to why my card is not working I would really appreciate it.

Offline

#3 2008-05-19 08:16:44

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Mythtv-failed to open card-PVR-500

Okay, I think I have found the problem but I am not sure how to fix it.

From 'dmesg | grep ivtv' I get:

ivtv0: Unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
ivtv0: Did you put the firmware in the hotplug firmware directory?

This would pretty much have to be my problem would it not? Any ideas as to how to fix this anyone? Thanks.

Offline

#4 2008-05-19 10:08:53

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Mythtv-failed to open card-PVR-500

Okay, I have followed the instructions here: http://ivtvdriver.org/index.php/Firmware about Obtaining and Installing the Firmware. Now I can use one of my two tuners (the PVR-500 has two tuners).

However, I can not get the other to work. Here is the 'dmesg | grep ivtv' output that I get now:

ivtv:  Start initialization, version 1.1.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv0: Autodetected WinTV PVR 500 (unit #1)
tuner 4-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 4-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 4-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized card #0: WinTV PVR 500 (unit #1)
ivtv1: Initializing card #1
ivtv1: Autodetected Hauppauge card (cx23416 based)
tuner 5-0043: chip found @ 0x86 (ivtv i2c driver #1)
tuner 5-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 5-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
ivtv1: Registered device video1 for encoder MPG (4096 kB)
ivtv1: Registered device video33 for encoder YUV (2048 kB)
ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
ivtv1: Registered device video25 for encoder PCM (320 kB)
ivtv1: Initialized card #1: WinTV PVR 500 (unit #2)
ivtv:  End initialization
ivtv0: Unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
ivtv0: Did you put the firmware in the hotplug firmware directory?
ivtv0: Retry loading firmware
ivtv0: Unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
ivtv0: Did you put the firmware in the hotplug firmware directory?
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 24
ivtv0: Failed to initialize on minor 32
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 24
ivtv0: Failed to initialize on minor 32
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 24
ivtv0: Failed to initialize on minor 32
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 24
ivtv0: Failed to initialize on minor 32
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 24
ivtv0: Failed to initialize on minor 32
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 24
ivtv0: Failed to initialize on minor 32
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 224

I suppose it is possible that one tuner went bad, but it is an almost brand new card. I should also that since I got the one working, that the other will work as well.

Does anyone have any ideas as to what I may have missed/done wrong/left out/etc...? Thanks.

***Also it is /dev/video1 that works, which is, best that I can tell, the second tuner on the card. I assume this since I must use 'composite 2' for the input. That would rule out the possibility that the tuner was not in the pci slot quite right. Or I think it would.

I am ALMOST positive that there is nothing wrong with the first tuner, /dev/video0. I say this because on Ubuntu that is the one that I used. Come to think of it, this is the first time that I have used /dev/video1. And I don't see it breaking in the two days or whatever that I didn't use it. I know it is possible, but I am sure it is not hardware related.

Anyhow, I sure would love to have both tuners on the card working. If anyone at all can give me any advice that would be wonderful.

Also, which ones where the good tuners from Haupauge? I believe that mine are Phillips. At one time I heard that those were the bad ones, and at another time I have heard that they are the good ones. Just curious what everyone else thinks about that. Thanks.

Last edited by The Avatar of Time (2008-05-20 07:28:58)

Offline

#5 2008-05-27 14:46:48

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Mythtv-failed to open card-PVR-500

Okay, both tuners are working now. All I did was follow these instructions: http://ivtvdriver.org/index.php/Firmware

At first, like I said, only one tuner was working and it worked without a restart. I thought that maybe restarting would fix the other tuner, but it didn't help. However, just out of nowhere, about ten restarts later the second tuner just started working. I don't know why and at the moment I don't care a whole lot. Anyhow, it is working now and all is well. At the moment at least.............................

Offline

#6 2008-08-06 04:33:02

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: [SOLVED] Mythtv-failed to open card-PVR-500

I'm kind of resurrecting this thread, but you don't want the drivers from ivtvdriver.org, you want to run:
# pacman -Sy ivtv-utils

That installs the arch package of the firmware. I just got my.... (I already forgot exactly what the card is but it's a Hauppauge PVR card) working.

Offline

#7 2008-09-19 16:27:23

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Mythtv-failed to open card-PVR-500

arew264 wrote:

I'm kind of resurrecting this thread, but you don't want the drivers from ivtvdriver.org, you want to run:
# pacman -Sy ivtv-utils

That installs the arch package of the firmware. I just got my.... (I already forgot exactly what the card is but it's a Hauppauge PVR card) working.

Hello,

I used your method the other day when I reinstalled and it is certainly a lot simpler way to go about it. Thanks.

Offline

Board footer

Powered by FluxBB