Project

General

Profile

[Solved] WinTV DVR USB2 does not show up in TV Adapters

Added by Tom Warren over 10 years ago

My tvheadend version is 2.12.

I followed the guide: http://wiki.linuxquestions.org/wiki/Watch_TV_using_a_Hauppage_WinTV_PVR_USB2

The WinTV box attached and the driver loads. It is the newer model with USB ID 2040:2400

I see that the firmware (http://dl.ivtvdriver.org/ivtv/firmware/) loads and the tuners initialise in dmesg:

Mar 19 14:45:46 videobox kernel: [ 6352.075678] cx25840 10-0044: cx25843-24 found [at] 0x88 (pvrusb2_a)
Mar 19 14:45:46 videobox kernel: [ 6352.076423] pvrusb2: Attached sub-driver cx25840
Mar 19 14:45:46 videobox kernel: [ 6352.115717] tuner 10-0061: chip found [at] 0xc2 (pvrusb2_a)
Mar 19 14:45:46 videobox kernel: [ 6352.115725] pvrusb2: Attached sub-driver tuner
Mar 19 14:45:46 videobox kernel: [ 6352.117399] wm8775 10-001b: chip found [at] 0x36 (pvrusb2_a)
Mar 19 14:45:47 videobox kernel: [ 6352.124035] pvrusb2: Attached sub-driver wm8775
Mar 19 14:45:47 videobox kernel: [ 6352.136644] tuner 10-0043: chip found [at] 0x86 (pvrusb2_a)
Mar 19 14:45:47 videobox kernel: [ 6352.138338] tda9887 10-0043: creating new instance
Mar 19 14:45:47 videobox kernel: [ 6352.138340] tda9887 10-0043: tda988[5/6/7] found
Mar 19 14:45:47 videobox kernel: [ 6352.139120] pvrusb2: Attached sub-driver tuner
Mar 19 14:45:49 videobox kernel: [ 6354.343295] cx25840 10-0044: loaded v4l-cx25840.fw firmware (16382 bytes)

The device /dev/video0 is created:

dmesg:

Mar 19 14:45:49 videobox kernel: [ 6354.442152] pvrusb2: registered device video0 [mpeg]

and:

videobox[at]videobox:~$ ll /dev/video0
crw-rw---- 1 root video 81, 0 2011-03-19 15:31 /dev/video0

I have rebooted the server and everything loads as above, but I do not see it under TV Adapters in tvheadend. Is there anything else I'm missing?

Thanks,

Tom
--


Replies (2)

RE: WinTV DVR USB2 does not show up in TV Adapters - Added by Tom Warren over 10 years ago

I ended up figuring out I needed to change:

.pixelformat = 0,

To:

.pixelformat = V4L2_PIX_FMT_MPEG,

...and compiled and installed the drivers.

Then I downloaded the firmware tar:

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

...and placed the files into /lib/firmware

After a reboot the WinTV DVR USB2 was recognised by TVHeadend.

My trick to find the frequencies was to install scantv:

sudo apt-get install scantv

And then point the vbi device file to /dev/null:

scantv -a -C /dev/null -n PAL-B/G -o ./analog_channels.txt

I then manually extracted the frequencies and entered them into TVHeadend.

Job done.

    (1-2/2)