Author Topic: Hauppauge PVR150 (fixed)  (Read 4448 times)

Offline rich2005

  • Sr. Member
  • ******
  • Posts: 454
Hauppauge PVR150 (fixed)
« on: February 06, 2013, 05:06:35 AM »
From a bit of a bloated installation, reinstalled using the minime version and brought everything up-to-date.

Hauppauge PVR150 (also applies to a WinTV-PVR USB2 device)

I have not needed to use for a while but it is nice to know that my old Hauppauge PVR150 PCI card works.
No joy at all, I think it did work with PCLOS in the past, certainly still works with windoze and debian.

Some info: from lspci
01:06.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) Video Decoder (rev 01)


from lsmod:
ivtv                  130557  0
cx2341x                15512  1 ivtv
i2c_algo_bit            4560  1 ivtv
v4l2_common             4594  5 wm8775,tuner,cx25840,ivtv,cx2341x
videodev               68676  6 wm8775,tuner,cx25840,ivtv,cx2341x,v4l2_common

Looks like it should work but does not.

The card is not seen by either v4l2-ctl or QTV4L2 test utility.

[rich@localhost ~]$ v4l2-ctl -info
Failed to open /dev/video0: No such device or address
looking in dev I also have a video24 and a video32. What are they for? - they do not connect either.

Any ideas?

Next question

If/when it does work, I capture via composite using VLC (now 2.0.5).  VLC in PCLOS no longer has a PVR  setting, it seems replaced by "JACK Audio Connection Kit". The PVR setting still exists in VLC 2.0.4 (debian). Is this change universal to VLC or peculiar to PCLOS? The PVR setting is the correct capture for the Hauppauge.  
As a note I have an old usb (digitus) dongle that works with the VLC l4v2 option but that captures to (enormous) avi files (like going back 15 years to Premiere v5).  I much prefer the mpeg2 that I get from the hardware hauppauge encoder.

Not working is not a problem, just an annoyance, I have other options... but...
It would be nice to see it working.

Any help gratefully received.
Logged

Offline Legs11

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 31907
  • Veni Vidi Vici MLU
Re: Hauppauge PVR150
« Reply #1 on: February 06, 2013, 05:51:19 AM »
Have a look through the dmesg output to see what it says about the card ......  it might show where it is failing .....

Logged
"Posterity - a paultry form of eternity"  L. Cohen

Kernel: 5.4.12-pclos1;  Desktop: KDE Plasma 5.17.5 ;  TK: QT 5.12.6; Mobo: ASUSTeK P8Z68-V PRO v: Rev 1.0.1;   CPU: Quad core i7-3770S;   Mem: 8 GB;   Graphics: Intel Xeon E3-1200 v2/3rd;   Display:  LG 2560x1080 60Hz

Offline rich2005

  • Sr. Member
  • ******
  • Posts: 454
Re: Hauppauge PVR150
« Reply #2 on: February 06, 2013, 06:21:23 AM »
that was quick, problem is I do not really know what I am looking for but FWIW I think this is the relevant section
---------------------------------------------
Linux video capture interface: v2.00
ivtv: Start initialization, version 1.4.3
ivtv0: Initializing card 0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 19
ivtv 0000:01:06.0: PCI INT A -> Link[LNKB] -> GSI 19 (level, low) -> IRQ 19
tveeprom 0-0050: Hauppauge model 26559, rev C260, serial# 7707172
tveeprom 0-0050: tuner model is LG S001D MK3 (idx 60, type 38)
tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
tveeprom 0-0050: audio processor is CX25843 (idx 37)
tveeprom 0-0050: decoder processor is CX25843 (idx 30)
tveeprom 0-0050: has radio
ivtv0: Autodetected Hauppauge WinTV PVR-150
cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
i2c-core: driver [tuner] using legacy suspend method
i2c-core: driver [tuner] using legacy resume method
tda9887 0-0043: creating new instance
tda9887 0-0043: tda988[5/6/7] found
tuner 0-0043: Tuner 74 found with type(s) Radio TV.
tuner 0-0061: Tuner -1 found with type(s) Radio TV.
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
tuner-simple 0-0061: creating new instance
tuner-simple 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
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: Hauppauge WinTV PVR-150
ivtv: End initialization
-----------------------------------
At least I now know what video24/32 represent.  Had a brainwave and thought I would try as 'root'
still no good, still get: Failed to open /dev/video0: No such device or address


Logged

Offline Legs11

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 31907
  • Veni Vidi Vici MLU
Re: Hauppauge PVR150
« Reply #3 on: February 06, 2013, 07:21:52 AM »
Quote
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

So you should see those 'devices' in the lists

ls /dev/video*

ls /dev/vbi*

ls /dev/radio*



Are these tuners digital or analogue?

You could try VLC - Capture Device - DTT  and use the devices above to see if VLC can attach to any of them. You would probably need some details of the transmissions or such to give it sufficient info ....

An alternate would be Kaffeine, which has its own scanner it seems ......  try Digital TV .....  Television menu - Configure Television and see if it recognises any devices.

I am unsure if that device requires firmware ...  but I would try the above first ....

EDIT
        This implies you need suitable firmware for that card ....
http://packages.atrpms.net/dist/common/ivtv-firmware/

http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz


You might also find something of use here
http://thelinuxcurmudgeon.blogspot.ie/2010/04/using-hauppauge-pvr-150250350500-tv.html
http://wiki.linuxmce.org/index.php/Hauppauge_WinTV-PVR-150_MCE

BTW .....  there is a  ivtv   package in the repository but I don't know if it will provide anything useful.

Logged
"Posterity - a paultry form of eternity"  L. Cohen

Kernel: 5.4.12-pclos1;  Desktop: KDE Plasma 5.17.5 ;  TK: QT 5.12.6; Mobo: ASUSTeK P8Z68-V PRO v: Rev 1.0.1;   CPU: Quad core i7-3770S;   Mem: 8 GB;   Graphics: Intel Xeon E3-1200 v2/3rd;   Display:  LG 2560x1080 60Hz

Offline Legs11

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 31907
  • Veni Vidi Vici MLU
Re: Hauppauge PVR150
« Reply #4 on: February 06, 2013, 07:46:11 AM »
This appears to be the firmware file that I see referenced .....

v4l-cx2341x-enc.fw
Logged
"Posterity - a paultry form of eternity"  L. Cohen

Kernel: 5.4.12-pclos1;  Desktop: KDE Plasma 5.17.5 ;  TK: QT 5.12.6; Mobo: ASUSTeK P8Z68-V PRO v: Rev 1.0.1;   CPU: Quad core i7-3770S;   Mem: 8 GB;   Graphics: Intel Xeon E3-1200 v2/3rd;   Display:  LG 2560x1080 60Hz

Offline rich2005

  • Sr. Member
  • ******
  • Posts: 454
Re: Hauppauge PVR150
« Reply #5 on: February 06, 2013, 07:54:37 AM »
This appears to be the firmware file that I see referenced .....

v4l-cx2341x-enc.fw

Thanks I will check that out

These hauppauge devices should work OOTB.  They are analogue and here in the UK all is digital whether cable, satellite or terrestrial so the tuner will not pick up anything.
but
I don't use it as a TV receiver just as a video capture device, taking composite output from a digibox or video recorder.

[rich@localhost ~]$ ls /dev/video*
/dev/video0  /dev/video24  /dev/video32
[rich@localhost ~]$ ls /dev/vbi*
/dev/vbi0
[rich@localhost ~]$ ls /dev/radio*
/dev/radio0

[rich@localhost ~]$ v4l2-ctl --info
Failed to open /dev/video0: No such device or address
[rich@localhost ~]$

If I can't get v4l2-ctl to see the device then I can't set the input to composite & PAL

AFAIK all the firmware for hauppauge was incorporated into the kernel some time ago.  I am using 3.2.18-pclos2.bfs

This is from the ivtv package info:  "The driver has made it into the kernel so this package only contains some userland tools for ivtv"

Thanks for the advice, I will keep trying, annoying that it works in windoze/debian  though.
Logged

Offline Legs11

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 31907
  • Veni Vidi Vici MLU
Re: Hauppauge PVR150
« Reply #6 on: February 06, 2013, 08:01:30 AM »
Quote
AFAIK all the firmware for hauppauge was incorporated into the kernel some time ago.  I am using 3.2.18-pclos2.bfs

Try a later kernel .....  I have my doubts about it being in that one ...

Logged
"Posterity - a paultry form of eternity"  L. Cohen

Kernel: 5.4.12-pclos1;  Desktop: KDE Plasma 5.17.5 ;  TK: QT 5.12.6; Mobo: ASUSTeK P8Z68-V PRO v: Rev 1.0.1;   CPU: Quad core i7-3770S;   Mem: 8 GB;   Graphics: Intel Xeon E3-1200 v2/3rd;   Display:  LG 2560x1080 60Hz

Offline rich2005

  • Sr. Member
  • ******
  • Posts: 454
Re: Hauppauge PVR150
« Reply #7 on: February 06, 2013, 11:00:27 AM »
A more recent kernel?
A bit of digging and I have a feeling that it is the other way round and support for these old devices have been dropped
This is a different machine and I had to drag out a Hauppauge PVR usb (not a trivial operation - the French make some weirdly complicated packaging)
Kernel on this (debian) installation reports as 3.2.0

Just for interest, it should be as simple as this screenshot. http://i.imgur.com/C8OD3AG.jpg

Looks like I can't ditch my old winxp installation just yet.  lol

Thanks for all the links & advice
Logged

Offline Legs11

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 31907
  • Veni Vidi Vici MLU
Re: Hauppauge PVR150
« Reply #8 on: February 06, 2013, 12:49:22 PM »
Quote
Just for interest, it should be as simple as this screenshot. http://i.imgur.com/C8OD3AG.jpg

..........  and did you try the DTT option?

Logged
"Posterity - a paultry form of eternity"  L. Cohen

Kernel: 5.4.12-pclos1;  Desktop: KDE Plasma 5.17.5 ;  TK: QT 5.12.6; Mobo: ASUSTeK P8Z68-V PRO v: Rev 1.0.1;   CPU: Quad core i7-3770S;   Mem: 8 GB;   Graphics: Intel Xeon E3-1200 v2/3rd;   Display:  LG 2560x1080 60Hz

Offline rich2005

  • Sr. Member
  • ******
  • Posts: 454
Re: Hauppauge PVR150
« Reply #9 on: February 07, 2013, 07:33:25 AM »
I will mark this as fixed if not completely solved.

Quote
This appears to be the firmware file that I see referenced ..... v4l-cx2341x-enc.fw

That is it, in fact several files. Looking at an older (2011) version of PCLOS the required firmware files were included so they must have been subsequently dropped.

Adding these and the PVR150 can now be set up to use composite and PAL-I with v4l2-ctl

Quote
..........  and did you try the DTT option?

This is very much analogue, no digital here. As I said earlier I connect to a digibox or dvdrecorder via composite.

The VLC (1.1.11) from PCLOS2011 also included the PVR option now missing from version 2.0.5
Using the video4linux option and vlc 2.0.5 crashes.
Looks like I will have to use mencoder. Looking at my notes, I have some horrendous commandlines for this. Just a matter of finding the correct options ;)

Thanks again for all your help.
Logged

Offline Legs11

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 31907
  • Veni Vidi Vici MLU
Re: Hauppauge PVR150 (fixed)
« Reply #10 on: February 07, 2013, 07:42:14 AM »
I thought the PVR functions were taken in under the DTT section of VLC .........   give Kaffeine a try  ;)

Glad to see you have the device working ........  you might consider a package request for the firmware to be added to the repo as I believe those Hauppauge cards are quite popular.

Logged
"Posterity - a paultry form of eternity"  L. Cohen

Kernel: 5.4.12-pclos1;  Desktop: KDE Plasma 5.17.5 ;  TK: QT 5.12.6; Mobo: ASUSTeK P8Z68-V PRO v: Rev 1.0.1;   CPU: Quad core i7-3770S;   Mem: 8 GB;   Graphics: Intel Xeon E3-1200 v2/3rd;   Display:  LG 2560x1080 60Hz