Rockon hardware passthrough

Hello,

I’m making a rockon for tvheadend but I need to passthrough my pci-express tv card. This works with docker but i don’t know how to include in the json file.

I need to give these parameters:

–privileged --device=/dev/dvb/adapter0/frontend0:/dev/dvb/adapter0/frontend0 --device=/dev/dvb/adapter0/dvr0:/dev/dvb/adapter0/dvr0

etc. Can this be made with the rockon json?

Hi @skeal
You can add those parameters by adding opts objects in the json file.
For example I used this feature in my collabora online rockon: https://github.com/rockstor/rockon-registry/blob/master/collabora-online.json
See the (sparse) documentation here: https://github.com/rockstor/rockon-registry#options-object

The problem is though, the values for these parameters will be hardcoded in the json file. At the moment there is no way to configure the values when installing the rockon. So for this to work, the card must always get the same device links…