PDA

View Full Version : [ubuntu] Pvr-1600



ttolstead
December 26th, 2009, 03:42 AM
I am trying to get a Hauppauge PVR-1600 to display the s-video input from my DirecTV satellite box. From reviewing dmesg, it would appear would appear that the card is detected and initialized.

Using ivtv-tune, I can apparently change the channel. By using the command "vlc pvr://" I get different results depending on the channel I select with ivtv-tune. These vary from a red screen, to a green screen, and noise. The DirecTV box will obviously be in control of the channel selected to view.

The following is what appears to be the appropriate dmesg information:

[ 16.132376] tveeprom 0-0050: Hauppauge model 74551, rev C1A3, serial# 1403293
[ 16.132379] tveeprom 0-0050: MAC address is 00-0D-FE-15-69-9D
[ 16.132381] tveeprom 0-0050: tuner model is TCL MFNM05-4 (idx 103, type 43)
[ 16.132384] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
[ 16.132385] tveeprom 0-0050: audio processor is CX23418 (idx 38)
[ 16.132387] tveeprom 0-0050: decoder processor is CX23418 (idx 31)
[ 16.132389] tveeprom 0-0050: has radio
[ 16.132390] cx18-0: Autodetected Hauppauge HVR-1600
[ 16.132392] cx18-0: Simultaneous Digital and Analog TV capture supported


[ 16.456401] tuner 1-0043: chip found @ 0x86 (cx18 i2c driver #0-1)
[ 16.490060] tda9887 1-0043: creating new instance
[ 16.490062] tda9887 1-0043: tda988[5/6/7] found
[ 16.530244] tuner 1-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[ 16.570026] cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[ 16.593828] tuner-simple 1-0061: creating new instance
[ 16.593830] tuner-simple 1-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
[ 16.599246] cx18-0: Registered device video0 for encoder MPEG (64 x 32 kB)
[ 16.599251] DVB: registering new adapter (cx18)
[ 16.790068] MXL5005S: Attached at address 0x63
[ 16.790072] DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
[ 16.790139] cx18-0: DVB Frontend registered
[ 16.790141] cx18-0: Registered DVB adapter0 for TS (32 x 32 kB)
[ 16.790168] cx18-0: Registered device video32 for encoder YUV (16 x 128 kB)
[ 16.790186] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
[ 16.790204] cx18-0: Registered device video24 for encoder PCM audio (256 x 4 kB)
[ 16.790223] cx18-0: Registered device radio0 for encoder radio
[ 16.790225] cx18-0: Initialized card: Hauppauge HVR-1600
[ 16.790262] cx18: End initialization
[ 16.792752] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-cpu.fw
[ 16.915888] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[ 16.932505] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x100f0000
[ 16.941203] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-apu.fw
[ 17.044450] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
[ 17.050739] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[ 17.263781] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-cpu.fw
[ 17.405832] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-apu.fw

[ 17.785460] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-dig.fw
[ 17.942510] hda-intel: Codec #1 probe error; disabling it...
[ 17.973220] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[ 17.992698] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)
[ 18.105700] hda_codec: Unknown model for ALC888, trying auto-probe from BIOS...
[ 18.105953] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input5
[ 18.109657] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 18.109721] HDA Intel 0000:01:00.1: setting latency timer to 64
[ 18.904206] usplash:379 freeing invalid memtype ffffffffd0000000-ffffffffd1000000
[ 21.363454] alloc irq_desc for 29 on node 0
[ 21.363457] alloc kstat_irqs on node 0

Does anyone have any suggestions? Or is this impossible. I have tried everything I can think of, with the exception of MythTV which I feel would be overkill in the context of simply wanting to watch TV.

I have a couple of these cards that came with media center PC's, so any assistance would be greatly appreciated.

My system is a Dell studio, 64bit Ubuntu 9.10, 8gb ram, quad intel processor, ATI/AMD FGLRX graphics driver.

HappyFeet
December 26th, 2009, 03:56 AM
Try using VLC player to watch. Got to Media>Open Capture Device>PVR (from pull down menu)>OK.

You will need to set the channel to 3 or 4 on the computer, ivtv-tune -c3 and switch between channels on the satellite box.

saedelaere
December 28th, 2009, 12:44 AM
Try using VLC player to watch. Got to Media>Open Capture Device>PVR (from pull down menu)>OK.

You will need to set the channel to 3 or 4 on the computer, ivtv-tune -c3 and switch between channels on the satellite box.

TV-Viewer (http://ubuntuforums.org/showthread.php?t=763698&page=14) might also be usefull for you...

Regards

ttolstead
January 2nd, 2010, 10:17 PM
Subsequently, I have installed MythTV, and had it working one evening. After a re-boot, however, I was only able to see a pink screen, but the audio was still working. I re-checked my settings and MythTV quit doing anything. Back to square 1. I tried tuning with ivtv-tune, but all I get is a red screen on VLC.

saedelaere
January 3rd, 2010, 08:22 PM
Subsequently, I have installed MythTV, and had it working one evening. After a re-boot, however, I was only able to see a pink screen, but the audio was still working. I re-checked my settings and MythTV quit doing anything. Back to square 1. I tried tuning with ivtv-tune, but all I get is a red screen on VLC.

Then it will help nothing if you try TV-Viewer. First you have to get your device running. When something like this happening always check what is going on with


dmesg | grep cx18

ttolstead
January 6th, 2010, 09:34 PM
The following is the output from the command:

dmesg | grep cx18

[ 7.811435] cx18: Start initialization, version 1.2.0
[ 7.811688] cx18-0: Initializing card 0
[ 7.811690] cx18-0: Autodetected Hauppauge card
[ 7.811957] cx18 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 7.813412] cx18-0: cx23418 revision 01010000 (B)
[ 8.021906] cx18-0: Autodetected Hauppauge HVR-1600
[ 8.021908] cx18-0: Simultaneous Digital and Analog TV capture supported
[ 8.105122] IRQ 17/cx18-0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 8.987272] tuner 1-0043: chip found @ 0x86 (cx18 i2c driver #0-1)
[ 9.354173] tuner 1-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[ 9.687361] cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[ 9.905523] cx18-0: Registered device video0 for encoder MPEG (64 x 32 kB)
[ 9.905527] DVB: registering new adapter (cx18)
[ 10.380182] cx18-0: DVB Frontend registered
[ 10.380184] cx18-0: Registered DVB adapter0 for TS (32 x 32 kB)
[ 10.380211] cx18-0: Registered device video32 for encoder YUV (16 x 128 kB)
[ 10.380233] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
[ 10.380251] cx18-0: Registered device video24 for encoder PCM audio (256 x 4 kB)
[ 10.380272] cx18-0: Registered device radio0 for encoder radio
[ 10.380274] cx18-0: Initialized card: Hauppauge HVR-1600
[ 10.380308] cx18: End initialization
[ 10.432534] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-cpu.fw
[ 10.766898] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[ 10.793049] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-apu.fw
[ 10.968056] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
[ 10.974400] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[ 11.192533] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-cpu.fw
[ 11.334674] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-apu.fw
[ 11.654200] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-dig.fw
[ 11.953092] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[ 11.972428] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)

could the line:

[ 8.105122] IRQ 17/cx18-0: IRQF_DISABLED is not guaranteed on shared IRQs

indicate a IRQ conflict? If so does anyone have a suggestion as to how to correct this?

saedelaere
January 6th, 2010, 10:00 PM
The following is the output from the command:

dmesg | grep cx18

[ 7.811435] cx18: Start initialization, version 1.2.0
[ 7.811688] cx18-0: Initializing card 0
[ 7.811690] cx18-0: Autodetected Hauppauge card
[ 7.811957] cx18 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 7.813412] cx18-0: cx23418 revision 01010000 (B)
[ 8.021906] cx18-0: Autodetected Hauppauge HVR-1600
[ 8.021908] cx18-0: Simultaneous Digital and Analog TV capture supported
[ 8.105122] IRQ 17/cx18-0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 8.987272] tuner 1-0043: chip found @ 0x86 (cx18 i2c driver #0-1)
[ 9.354173] tuner 1-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[ 9.687361] cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[ 9.905523] cx18-0: Registered device video0 for encoder MPEG (64 x 32 kB)
[ 9.905527] DVB: registering new adapter (cx18)
[ 10.380182] cx18-0: DVB Frontend registered
[ 10.380184] cx18-0: Registered DVB adapter0 for TS (32 x 32 kB)
[ 10.380211] cx18-0: Registered device video32 for encoder YUV (16 x 128 kB)
[ 10.380233] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
[ 10.380251] cx18-0: Registered device video24 for encoder PCM audio (256 x 4 kB)
[ 10.380272] cx18-0: Registered device radio0 for encoder radio
[ 10.380274] cx18-0: Initialized card: Hauppauge HVR-1600
[ 10.380308] cx18: End initialization
[ 10.432534] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-cpu.fw
[ 10.766898] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[ 10.793049] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-apu.fw
[ 10.968056] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
[ 10.974400] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[ 11.192533] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-cpu.fw
[ 11.334674] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-apu.fw
[ 11.654200] cx18 0000:05:00.0: firmware: requesting v4l-cx23418-dig.fw
[ 11.953092] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[ 11.972428] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)

could the line:

[ 8.105122] IRQ 17/cx18-0: IRQF_DISABLED is not guaranteed on shared IRQs

indicate a IRQ conflict? If so does anyone have a suggestion as to how to correct this?

Plug the card in a different PCI slot?!

ttolstead
January 8th, 2010, 08:47 PM
Today, I was finally able to get VLC to display TV from my HVR-1600.

It is a bit of a kludge, but by installing MythTV and configuring it to take input from /dev/video0, I managed to get VLC to work. If I run Mythtv front end, and attempt to watch TV, it trys to start but fails back to the main menu, in the process killing video on VLC. But a re-boot brings it back on again. Huh? Oh well, success is success...

If I remove MythTV VLC does not work...:-k

ttolstead
January 21st, 2010, 03:09 AM
Ok, I found out that Mythtv had nothing to do with my issues with the PVR1600. After searching, I was able to find out that the PVR1600 would work, only after a cold boot. Simply shutting down did not re-initialize the PVR1600 card. You need to actually interrupt the ac power supply to the computer. After a cold boot you can suspend, or just leave the system up, and it continues to work. I am now using VLC with the following script:

v4l2-ctl --set-input=1
vlc pvr:// :pvr-norm=0:pvr-caching=300 :pvr-device=/dev/video0 :pvr-radio-device=/dev/audio0 :pvr-norm=0 :pvr-width=-1 :pvr-height=-1 :pvr-frequency=61250 :pvr-framerate=-1 :pvr-keyint=-1 :pvr-bframes=-1 :pvr-bitrate=-1 :pvr-bitrate-peak=-1 :pvr-bitrate-mode=0 :pvr-audio-bitmask=-1 :pvr-audio-volume=-1 :pvr-channel=-1 --aspect-ratio 16:9

Things work ok now, but, if I shut down I need to interrupt power to the PC.... ???