WinTV dualHD / Ubuntu x64 16.04.2 / Can't find channels

Hi,

I just installed the WinTV dualHD on my Ubuntu that hosts Plex. Installation worked like a charm using the PPT provided by Hauppauge.

Nevertheless when I’m scanning for channels nothing is found.

Please find the log attached. I need some help here. :neutral:

Cable is properly connected and working fine with Hauppauge Software on Windows.

On my Plex linux this here happens for every channel it tries.

Jun 09, 2017 20:12:00.424 [0x7f2cceffd700] INFO - * device_reactor_t::get_device_list (dvb#v4l#/sys/devices/pci0000:00/0000:00:04.0/usb1/1-4/1-4:1.0:0013909555)
Jun 09, 2017 20:12:00.424 [0x7f2cceffd700] INFO - * dvb_device_factory_t::get_device_list (dvb#v4l#/sys/devices/pci0000:00/0000:00:04.0/usb1/1-4/1-4:1.0:0013909555)
Jun 09, 2017 20:12:00.425 [0x7f2cceffd700] INFO - * v4l::DeviceGetList_impl. getting v4l device list
Jun 09, 2017 20:12:00.425 [0x7f2cceffd700] INFO - * v4l::DeviceGetList_impl. Successfully opened frontend /dev/dvb/adapter0/frontend0
Jun 09, 2017 20:12:00.425 [0x7f2cceffd700] INFO - * v4l::DeviceGetList_impl. Successfully opened frontend /dev/dvb/adapter1/frontend0
Jun 09, 2017 20:12:00.428 [0x7f2cceffd700] INFO - * dvb_device_factory_t::get_device_list. Id dvb#v4l#0#/sys/devices/pci0000:00/0000:00:04.0/usb1/1-4/1-4:1.0:0, Name dualHD, Standards 3
Jun 09, 2017 20:12:00.428 [0x7f2cceffd700] INFO - * dvb_device_factory_t::get_device_list. Id dvb#v4l#0#/sys/devices/pci0000:00/0000:00:04.0/usb1/1-4/1-4:1.0:1, Name dualHD, Standards 3
Jun 09, 2017 20:12:01.927 [0x7f2cccff9700] INFO - * CTVSChannelScanner::Tune. Wait for lock timeout
Jun 09, 2017 20:12:01.927 [0x7f2cccff9700] WARN - [E] dvb_channel_scanner_t::do_scan. Tune failed for 394000,V,6900,QAM256
Jun 09, 2017 20:12:01.927 [0x7f2cccff9700] INFO - * channel_scanner_t::scan_channels. Scanned 12 transponder out of 32. Channels found 0
Jun 09, 2017 20:12:01.927 [0x7f2cccff9700] INFO - * CTVSStreamSource::Term. Waiting for streaming thread to stop
Jun 09, 2017 20:12:01.977 [0x7f2ca7fff700] INFO - * Stop device request for tuner 0, frontend 0
Jun 09, 2017 20:12:01.996 [0x7f2ca77fe700] INFO - * Exiting streaming thread for tuner 0, frontend 0
Jun 09, 2017 20:12:01.996 [0x7f2cccff9700] INFO - * CTVSStreamSource::Term. Streaming is stopped
Jun 09, 2017 20:12:01.996 [0x7f2cccff9700] INFO - * CTVSStreamSource::Term. Stream source is stopped
Jun 09, 2017 20:12:01.996 [0x7f2cccff9700] INFO - * channel_scanner_t::scan_thread_function finished
Jun 09, 2017 20:12:01.997 [0x7f2cceffd700] INFO - * device_manager_t::get_device_list. Device dualHD, id dvb#v4l#0#/sys/devices/pci0000:00/0000:00:04.0/usb1/1-4/1-4:1.0:0, tuners 1, state 1, standards 3
Jun 09, 2017 20:12:01.997 [0x7f2cceffd700] INFO - * device_manager_t::get_device_list. Device dualHD, id dvb#v4l#0#/sys/devices/pci0000:00/0000:00:04.0/usb1/1-4/1-4:1.0:1, tuners 1, state 0, standards 3
Jun 09, 2017 20:12:01.997 [0x7f2cd6b56700] INFO - * device_manager_t::idle_timer_func. Device dvb#v4l#0#/sys/devices/pci0000:00/0000:00:04.0/usb1/1-4/1-4:1.0:0 is idle. Unloading it.

I had a similar problem. I run a virtual plex server and passed through part of the USB PCI buses to the guest. I could get plex to see the device after following the instructions on the Hauppauge website, but I still couldn’t get any channels. I eventually worked it out that I needed to download and install an additional firmware driver for the demodulation component on the WinTV DualHD.

Not sure if the firmware is meant to be already installed with Ubuntu 16.04.2 or not. I used this firmware http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/4.0.11/dvb-demod-si2168-b40-01.fw for the demodulation and it worked. I placed it in /lib/firmware. [ corrected path ]

To see if you are having the same error as I did, run dmesg just after you start a scan. Below is the error message I was getting before installing the firmware.

Jun 6 22:07:41 aaaaa kernel: [ 115.763622] si2168 1-0064: Direct firmware load for dvb-demod-si2168-b40-01.fw failed with error -2
Jun 6 22:07:41 aaaaa kernel: [ 115.764087] si2168 1-0064: Direct firmware load for dvb-demod-si2168-02.fw failed with error -2
Jun 6 22:07:41 aaaaa kernel: [ 115.764089] si2168 1-0064: firmware file ‘dvb-demod-si2168-02.fw’ not found
Jun 6 22:07:41 aaaaa kernel: [ 115.771216] si2157 2-0060: found a ‘Silicon Labs Si2157-A30’
Jun 6 22:07:41 aaaaa kernel: [ 115.820845] si2157 2-0060: firmware version: 3.0.5

1 Like

Dear Roland,

thanks for the hint. This indeed solved my problem. But I had to put the firmware you mentioned to /lib/firmware since even as root I was not allowed to put it in /sys/firmware.

But now channels are properly found.

Many thanks again! :slight_smile:

I would be interested to know how many tuners you see in Ubuntu. I only see one even though it’s a dual tuner. That is the next problem I’m working on resolving.

Hi,

I am having the exact same issue and have reinstalled the VM twice now just to be sure im following instructions. I have a VMWare host with a PlexVM and have followed the instructions Here and i get the following error on plex

Jun 14, 2017 23:25:26.232 [0x7fe730ff9700] WARN - [E] CTVSChannelScanner::Scan. Timeout is reached waiting for services to be scanned
Jun 14, 2017 23:25:26.233 [0x7fe730ff9700] WARN - [E] dvb_channel_scanner_t::do_scan. Scan failed for 522000,H,6900
Jun 14, 2017 23:25:26.269 [0x7fe70bfff700] DEBUG - * DTV_STAT_SIGNAL_STRENGTH: 1, -47000, 18446744073709504616, 1
Jun 14, 2017 23:25:26.269 [0x7fe70bfff700] DEBUG - * DTV_STAT_CNR: 1, 33500, 1
Jun 14, 2017 23:25:26.269 [0x7fe730ff9700] INFO - * channel_scanner_t::scan_channels. Scanned 18 transponder out of 60. Channels found 0
Jun 14, 2017 23:25:26.320 [0x7fe70bfff700] INFO - * CTVSStreamSource::TuneTransponder. Transponder tuning request: diseqc 0, freq 530000, modulation 0, polarization 0, symbol rate 0, LOF 8, LNB selection signal 0, FEC 0
Jun 14, 2017 23:25:26.320 [0x7fe70bfff700] INFO - * Tuning request. 530000, 8, 0, 0, 0, 0, 0
Jun 14, 2017 23:25:26.345 [0x7fe70b7fe700] INFO - * Exiting streaming thread for tuner 0, frontend 0
Jun 14, 2017 23:25:26.356 [0x7fe70bfff700] WARN - [W] CV4lTunersStreamSrc::Start. pthread_setschedparam failed 1
Jun 14, 2017 23:25:26.356 [0x7fe70b7fe700] INFO - * Starting streaming thread for tuner 0, frontend 0
Jun 14, 2017 23:25:26.356 [0x7fe70b7fe700] INFO - * tuner 0, demux 0. adding PID 20
Jun 14, 2017 23:25:28.710 [0x7fe73a223700] INFO - * web_service_t::process_device_status
Jun 14, 2017 23:25:28.711 [0x7fe73a223700] INFO - * device_reactor_t::get_device_list (dvb#v4l#/sys/devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-1/1-1:1.0:0013909306)
Jun 14, 2017 23:25:28.711 [0x7fe73a223700] INFO - * dvb_device_factory_t::get_device_list (dvb#v4l#/sys/devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-1/1-1:1.0:0013909306)
Jun 14, 2017 23:25:28.711 [0x7fe73a22370

And syslog i get this

Jun 14 23:21:14 PlexTV kernel: [ 312.697572] si2168 1-0064: downloading firmware from file ‘dvb-demod-si2168-b40-01.fw’
Jun 14 23:21:18 PlexTV kernel: [ 316.611194] si2168 1-0064: firmware version: B 4.0.11

DMESG

[ 42.323175] dvbdev: DVB: registering new adapter (1-1:1.0)
[ 42.323181] em28xx 1-1:1.0: DVB: registering adapter 1 frontend 0 (Silicon Labs Si2168)…
[ 42.323187] dvbdev: dvb_create_media_entity: media entity ‘Silicon Labs Si2168’ registered.
[ 42.323752] dvbdev: dvb_create_media_entity: media entity ‘dvb-demux’ registered.
[ 42.325105] em28xx 1-1:1.0: DVB extension successfully initialized
[ 42.325110] em28xx: Registered (Em28xx dvb Extension) extension
[ 42.337610] em28xx 1-1:1.0: Registering input extension
[ 42.344733] rc rc0: 1-1:1.0 IR as /devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-1/1-1:1.0/rc/rc0
[ 42.376076] Registered IR keymap rc-hauppauge
[ 42.380699] input: 1-1:1.0 IR as /devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-1/1-1:1.0/rc/rc0/input6
[ 42.383479] em28xx 1-1:1.0: Input extension successfully initalized
[ 42.383482] em28xx 1-1:1.0: Registering input extension
[ 42.388543] rc rc1: 1-1:1.0 IR as /devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-1/1-1:1.0/rc/rc1
[ 42.388548] Registered IR keymap rc-hauppauge
[ 42.394833] input: 1-1:1.0 IR as /devices/pci0000:00/0000:00:11.0/0000:02:01.0/usb1/1-1/1-1:1.0/rc/rc1/input7
[ 42.395241] em28xx 1-1:1.0: Input extension successfully initalized
[ 42.395245] em28xx: Registered (Em28xx Input Extension) extension
[ 312.697572] si2168 1-0064: downloading firmware from file ‘dvb-demod-si2168-b40-01.fw’
[ 316.611194] si2168 1-0064: firmware version: B 4.0.11

Im at a loss as to why it doesnt work.

Help! :frowning:

It looks to be loading the firmware correctly on your build. I’m assuming your running Ubuntu as well. At this stage I can’t see whats wrong with your setup.

@aeos83 Try running your server outside VMware. I was having similar issues (and similar log entries) but using the XBOX One Tuner and found it to be an issue with VMware itself! Plex saw the tuner but could do anything with it (finding channels). Once I wiped the server clean and installed Ubuntu 16.04.1 directly to the server (no virtualization), followed instructions from Hauppauge…IT WORKED!!! I’ve been racking my head for 2 weeks now trying to figure it out! Got it working last night. Try that and let me know!

Thanks for the reply. Unfortunately I have other things running so I can’t not use vmware. If that’s fixed your issue then maybe I have wasted money on buying a tv card! Will keep on trying as I’m sure there is a fix.

LOL…I was in the same boat (other servers running). Luckily I had other servers lying around. Good luck! If you do find a way, let us know!

@aeos83 - I have it working perfectly now running Ubuntu 16.04.2 - kernel 4.4 on VMWare. I see both tuners, and channel scanning works. See this thread - https://forums.plex.tv/discussion/comment/1461017.

I never got it working using USB passthrough. I’ve had to pass through part of the underlying PCI bus to the guest.

Check the kernel version, and try updating the demodulation firmware (if needed).

Hmm ok will give that a go. I think that may cause me issues as i have other devices connected via USB to another machine. Thanks for the info though will see how i get on.

Thanks

forwarded the USB bus to my VM and still nothing…

Many thanks for this post @rolandbird your solution worked for me with my WinTV-dualHD tuner running:
Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux

:+1:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.