Jump to content

Dbone

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Dbone

  1. 1 hour ago, saarg said:

     

    What was the problem?

     

     

    https://hub.docker.com/r/linuxserver/tvheadend/

    Quote

    User / Group Identifiers

    Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" â¢.

    In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

    
      $ id <dockeruser>
        uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)

     

    So what I have done:

     

    id nobody

    and i got a gid of 99 and a uid of 100

     

    I just added this line to the Extra Parameters:

    -e PGID=100 -e PUID=99

     

    so my new Extra Parameters are:

    --device=/dev/dvb/ -e PGID=100 -e PUID=99

     

    This was the only thing that i have changed. I hope this could help you.

  2. I just found the problem. Thanks a lot!

     

    docker exec -it TVHeadend ls -la /dev/dvb

    Quote

     

    total 0

    drwxr-xr-x  4 root root   80 Aug  1 19:22 .

    drwxr-xr-x 14 root root 3460 Aug  1 19:22 ..

    drwxr-xr-x  2 root root  120 Aug  1 19:22 adapter0

    drwxr-xr-x  2 root root  120 Aug  1 19:22 adapter1

     

     

    ls -la /dev/dvb

    Quote

    total 0
    drwxr-xr-x  4 nobody users   80 Aug  1 14:15 ./
    drwxr-xr-x 16 root   root  3620 Aug  1 14:15 ../
    drwxr-xr-x  2 nobody users  120 Aug  1 14:15 adapter0/
    drwxr-xr-x  2 nobody users  120 Aug  1 14:15 adapter1/

     

  3. Currently im testing unraid for my Homeserver and I can't bring my dvb tuner working on it.

    I used arch linux bevor and it was just fine.

     

    My Hardware:

    Intel Pentium G4500

    MSI C236M

    dvbsky s952 VER3.0a

     

    I have unraid 6.3.5 dvb edition LibreELEC installed and there are two "Montage Technology M88RS6000" DVB adapters recognised.

     

    Under System Devices I can find this:

    [8086:190f] 00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
    [8086:1901] 00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
    [8086:1912] 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
    [8086:1911] 00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
    [8086:a12f] 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
    [8086:a131] 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
    [8086:a160] 00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
    [8086:a161] 00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
    [8086:a13a] 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
    [8086:a102] 00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
    [8086:a110] 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
    [8086:a117] 00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1)
    [8086:a118] 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
    [8086:a119] 00:1d.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #10 (rev f1)
    [8086:a127] 00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO UART #0 (rev 31)
    [8086:a149] 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
    [8086:a121] 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
    [8086:a123] 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
    [1ade:3038] 03:00.0 Multimedia video controller: Spin Master Ltd. PCIe Video Bridge (rev 01)
    [10ec:8168] 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

     

    but every time i start a new docker container with tvheadend, tvheadend doesn't recognise any dvb tuner.

     

    My configs are:

    Repository: linuxserver/tvheadend

    Network Typ: Bridge

    Extra Parameters: --device=/dev/dvb/

    Privileged: on (also tested with off)

    Ports: 9981 and 9982 are exposed

     

    Over SSH:

    dmesg | grep -i dvb
    [   13.825875] SMI PCIe driver 0000:03:00.0: card detected: DVBSky S952 V3
    [   13.921538] DVB: registering new adapter (SMI_DVB)
    [   14.112430] SMI PCIe driver 0000:03:00.0: DVB: registering adapter 0 frontend 0 (Montage Technology M88RS6000)...
    [   14.119135] SMI PCIe driver 0000:03:00.0: DVBSky S952 V3 port 0 MAC: 00:18:42:54:55:52
    [   14.119286] DVB: registering new adapter (SMI_DVB)
    [   14.327619] SMI PCIe driver 0000:03:00.0: DVB: registering adapter 1 frontend 0 (Montage Technology M88RS6000)...
    [   14.334326] SMI PCIe driver 0000:03:00.0: DVBSky S952 V3 port 1 MAC: 00:18:32:54:55:53
    [   14.356402] Registered IR keymap rc-dvbsky
    [   14.357715] input: IR (DVBSky S952 V3) as /devices/pci0000:00/0000:00:1c.7/0000:03:00.0/rc/rc0/input7
    [   14.358079] rc rc0: IR (DVBSky S952 V3) as /devices/pci0000:00/0000:00:1c.7/0000:03:00.0/rc/rc0
     

×
×
  • Create New...