[mythtv-users] Getting a Hauppauge PVR-500 PAL to work

loemmel at geeknet.ch loemmel at geeknet.ch
Wed Jul 6 09:42:44 EDT 2005


Hello

I've already seen in the mailing-lists some mails about this card, but I still
can't get it working.
Is there anybody from the Europe who got this card working?
I get some really Strange Errors.
First i got an dmesg-output like this:

Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (o) loading
ivtv: Linux version: 2.6.11-gentoo-r11 SMP preempt PENTIUM4 4KSTACKS 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 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:04:08.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2
=
 0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651,
Rev
ision 0x00000000
ivtv: PAL tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 32768 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 161 12960 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c
driv
er #0
cx25840: decoder set norm PAL
ivtv: ivtv_enc_vbi_thread: pid = 4137, itv = 0xf9404820
ivtv: ivtv_enc_thread: pid = 4136, itv = 0xf9404820
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
PCI: Enabling device 0000:04:09.0 (0000 -> 0002)
ACPI: PCI interrupt 0000:04:09.0[A] -> GSI 21 (level, low) -> IRQ 21
ivtv: Bus Mastering is not enabled
ivtv: Error -6 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:04:09.0 failed with error -6
ivtv: ====================  END INIT IVTV  ==================== 

So this told me, bus mastering was not enabled. I looked in my Bios and saw,
that its enabled. I found a solution to enable it by hand, so i did:

setpci -s 04:08 4.w=116
setpci -s 04:09 4.w=116

The message about Bus Mastering is gone, but i still get errors, or strange
messages, I played around with some settings and my dmesg output after loading
the ivtv module looks now like this:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (o) loading
ivtv: Linux version: 2.6.11-gentoo-r11 SMP preempt PENTIUM4 4KSTACKS 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 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:04:08.0[A] -> GSI 21 (level, low) -> IRQ 21
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 =
0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651,
Revision 0x00000000
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02050032
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 32768 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 161 12960 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c
driver #0
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
ivtv: ivtv_enc_vbi_thread: pid = 15792, itv = 0xf9461820
ivtv: ivtv_enc_thread: pid = 15791, itv = 0xf9461820
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:04:09.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 8202051
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 =
0x00400e17)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25843-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Tuner Type 56, Tuner formats 0x00400e17, Radio: yes, Model 0x00915651,
Revision 0x00000000
ivtv: Radio detected
ivtv: Encoder revision: 0x02050032
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 1
ivtv: Create DMA stream 0 using 128 32768 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 33
ivtv: Create DMA stream 1 using 161 12960 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 225
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 25
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 65
ivtv: Create stream 4
ivtv: Setting Tuner 56
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c
driver #1
cx25840: decoder set norm PAL
cx25840: decoder set input (6)
cx25840: now setting Tuner input
ivtv: ivtv_enc_thread: pid = 15834, itv = 0xf9484bc0
ivtv: ivtv_enc_vbi_thread: pid = 15835, itv = 0xf9484bc0
cx25840: set audio input (0)
ivtv: Switching standard to PAL.
cx25840: decoder set norm PAL
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================

so it seems to be ok.
i put the following in the /etc/modprobe.conf

alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options ivtv ivtv_debug=1 ivtv_std=2 tuner=56,56

i'm not shure about the tuner, but i don't get any errors.

but i still don't get a picture, all I see is a black sometimes red picture in
mythtv.

is there anybody with more luck with this tv-card?



More information about the mythtv-users mailing list