Hauppauge usb tuner with linux. How do you set it up?

Nova-T stick is definitely not supported currently.

matt_heys

nice.

Yeah, same here.

<MediaContainer size="1"><Device key="dvb%23v4l%230%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a02.1%2fusb1%2f1-1" title="WinTV HVR-980" status="alive" protocol="livetv" uuid="device://tv.plex.grabbers.tunerservice/dvb%23v4l%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a02.1%2fusb1%2f1-1%3a4027598056" interface="usb" vendorIdentifier="2040" productIdentifier="6513" tuners="1"/></MediaContainer>

Very exciting. Got it discovered with Ubuntu Zesty.

I needed to

chmod 666 /dev/dvb/adapter0/*

though as the devices ared owned by root. Anyone know a better workaround that will persist across reboots?

Thanks for pointing out the log! And now I feel like an idiot after looking at the logs and seeing what I pasted below. My USB tuner was behind some equipment with a USB extension cable. I plugged it in to my linux box and have had all these issues, only to realize that the one I plugged in was a PCTV HD Stick Pro and not a Hauppauge WinTV-HVR-955Q. I had both and gave one to my brother since I never used them…looks like I gave away the newer one, the wrong one : (

Jun 01, 2017 16:54:23.557 [0x7fa5a1ffb700] INFO - * web_service_t::process_device_discovery
Jun 01, 2017 16:54:23.558 [0x7fa5a1ffb700] INFO - * device_reactor_t::get_device_list ()
Jun 01, 2017 16:54:23.558 [0x7fa5a1ffb700] INFO - * dvb_device_factory_t::get_device_list ()
Jun 01, 2017 16:54:25.562 [0x7fa5a1ffb700] INFO - * SAT2IP - discover_satip_servers(): no servers found
Jun 01, 2017 16:54:25.967 [0x7fa5a1ffb700] INFO - * v4l::DeviceGetList_impl. getting v4l device list
Jun 01, 2017 16:54:26.042 [0x7fa5a1ffb700] INFO - * v4l::DeviceGetList_impl. Successfully opened frontend /dev/dvb/adapter0/frontend0
Jun 01, 2017 16:54:26.045 [0x7fa5a1ffb700] INFO - * dvb_device_factory_t::get_device_list. Id dvb#v4l#0#/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2, Name PCTV 800e, Standards 24
Jun 01, 2017 16:54:26.045 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx >>
Jun 01, 2017 16:54:26.046 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:1
Jun 01, 2017 16:54:26.046 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 1572:584
Jun 01, 2017 16:54:26.046 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:2
Jun 01, 2017 16:54:26.046 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:1
Jun 01, 2017 16:54:26.046 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:1
Jun 01, 2017 16:54:26.046 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:1
Jun 01, 2017 16:54:26.046 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 8964:551
Jun 01, 2017 16:54:26.047 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 1060:9492
Jun 01, 2017 16:54:26.047 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:2
Jun 01, 2017 16:54:26.047 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:1
Jun 01, 2017 16:54:26.047 [0x7fa5a1ffb700] INFO - * onetv_factory::DeviceGetListEx. Found device 7531:1
Jun 01, 2017 16:54:26.047 [0x7fa5a1ffb700] INFO - * device_manager_t::get_device_list. Device PCTV 800e, id dvb#v4l#0#/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.2, tuners 1, state 0, standards 24

@carpenike said:
Very exciting. Got it discovered with Ubuntu Zesty.

I needed to

chmod 666 /dev/dvb/adapter0/*

though as the devices ared owned by root. Anyone know a better workaround that will persist across reboots?

That’s awesome! When does it show up? After you press the “Setup Plex DVR” button? Where it searches for network devices?

give your Plex user acces to the ‘video’ group:

sudo usermod -a -G video plex

And you should be good!

@keithah said:
Nova-T stick is definitely not supported currently.

Hi keithah,

Do you have any idea of timescale or priority on the roadmap to widen the range of supported tuners?

Only asking as I have a number of tuners Nova-T, Nova-TD, Kworld, PlusTV etc and if it’s only going to be a couple of months then I would like to save myself the cost of buying a new one.

@kireol said:

@carpenike said:
Very exciting. Got it discovered with Ubuntu Zesty.

I needed to

chmod 666 /dev/dvb/adapter0/*

though as the devices ared owned by root. Anyone know a better workaround that will persist across reboots?

That’s awesome! When does it show up? After you press the “Setup Plex DVR” button? Where it searches for network devices?

It shows up when you start discovering the DVR over the network. If you look at the log (/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Tuner\ Service.log) you’ll see that it’s using v4l with local devices at the same time that the network discovery is going on.

This works out quite well for me. I have an LXD container inside of Ubuntu Zesty and I was able to passthrough the Hauppauge XBOX USB adapter and Plex works well with it. I needed to make the container privileged because I passed through disks as well and the idmaps were a pain to get working.

Was able to watch the NBA finals on my iPad last night. :slight_smile:

LXD Container Config:

config:
  image.architecture: amd64
  image.description: ubuntu 17.04 amd64 (release) (20170412.1)
  image.label: release
  image.os: ubuntu
  image.release: zesty
  image.serial: "20170412.1"
  image.version: "17.04"
  security.privileged: "true"
  volatile.base_image: a221591e855f271769b3d780789c25d504b4062475c125f790b97d4afa0539f5
  volatile.eth0.hwaddr: 00:16:3e:22:1c:4e
  volatile.eth0.name: eth0
  volatile.idmap.base: "0"
  volatile.idmap.next: '[]'
  volatile.last_state.idmap: '[]'
  volatile.last_state.power: RUNNING
devices:
  /dev/dvb/adapter0/demux0:
    path: /dev/dvb/adapter0/demux0
    type: unix-char
  /dev/dvb/adapter0/dvr0:
    path: /dev/dvb/adapter0/dvr0
    type: unix-char
  /dev/dvb/adapter0/frontend0:
    path: /dev/dvb/adapter0/frontend0
    type: unix-char
  /dev/dvb/adapter0/net0:
    path: /dev/dvb/adapter0/net0
    type: unix-char
  firmware:
    path: /lib/firmware
    source: /lib/firmware
    type: disk
  hauppauge:
    productid: b123
    type: usb
    vendorid: "2040"

@keithah said:
give your Plex user acces to the ‘video’ group:

sudo usermod -a -G video plex

And you should be good!

Very good. I’ll give that a test this morning! Thank you!

@keithah said:
give your Plex user acces to the ‘video’ group:

sudo usermod -a -G video plex

And you should be good!

EDIT: Got it working. Needed to define the UID/GID for the devices in the LXD config:

devices:
  /dev/dvb/adapter0/demux0:
    gid: "44"
    path: /dev/dvb/adapter0/demux0
    type: unix-char
    uid: "0"
  /dev/dvb/adapter0/dvr0:
    gid: "44"
    path: /dev/dvb/adapter0/dvr0
    type: unix-char
    uid: "0"
  /dev/dvb/adapter0/frontend0:
    gid: "44"
    path: /dev/dvb/adapter0/frontend0
    type: unix-char
    uid: "0"
  /dev/dvb/adapter0/net0:
    gid: "44"
    path: /dev/dvb/adapter0/net0
    type: unix-char
    uid: "0"
  hauppauge:
    gid: "44"
    productid: b123
    type: usb
    uid: "0"
    vendorid: "2040"

Rats… Doesn’t work for me… In the case of a LXD passthrough ti shows up with root:root ownership:

ubuntu@plex:~$ ls -lh /dev/dvb/adapter0/
total 0
crw-rw---- 1 root root 212, 1 Jun  2 13:30 demux0
crw-rw---- 1 root root 212, 2 Jun  2 13:30 dvr0
crw-rw---- 1 root root 212, 0 Jun  2 13:30 frontend0
crw-rw---- 1 root root 212, 3 Jun  2 13:30 net0

But in the host it does have the video group:

ls -ryan@adonis:~$ ls -lh /dev/dvb/adapter0/
total 0
crw-rw---- 1 root video 212, 1 Jun  2 09:31 demux0
crw-rw---- 1 root video 212, 2 Jun  2 09:31 dvr0
crw-rw---- 1 root video 212, 0 Jun  2 09:31 frontend0
crw-rw---- 1 root video 212, 3 Jun  2 09:31 net0

Will need to figure out stuff now…