Project

General

Profile

DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters)

Added by A AAA over 2 years ago

On QNAP QTS 4.5 the 2x TV Butler DVB-C sticks (quivalent to Logilink VG0022A using firmware dvb-usb-it9303-01.fw) are recognized (manufacturer Dexatek Technology Ltd)

uname -a
Linux NAS-TVS-472XT 4.14.24-qnap #4 SMP Fri Jan 28 07:31:12 CST 2022 x86_64 GNU/Linux

lsusb
Bus 001 Device 006: ID 1d19:0100 Dexatek Technology Ltd.
Bus 001 Device 005: ID 1d19:0100 Dexatek Technology Ltd.
Bus 001 Device 002: ID 1005:b155 Apacer Technology, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

dmesg
...
[  957.456793] usb 1-4: USB disconnect, device number 3
[  957.483571] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4 removed.
[  959.822043] usb 1-6: USB disconnect, device number 4
[  959.850480] [usb.001.004] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 removed.
[  971.989620] usb 1-6: new high-speed USB device number 5 using xhci_hcd
[  972.143249] [usb.001.005] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added.
[  973.839680] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[  973.991997] [usb.001.006] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4 added.

cat /sys/bus/usb/devices/1-4/product
TS Aggregator

TVMosaic qnap app recognizes the sticks as tv adapters (but DVBLogic went out of business) therefore I assume drivers are loaded successfully

Hovever, /dev/dvb does not exist and therefore TVHeadend doesn't recognize them as DVB-C adapters.

I tried to rebuild /dv/dvb manually according to this (http://www.roland-gersch.de/dec2000/node6.html)

rm -rf /dev/dvb

mkdir /dev/dvb
chmod 755 /dev/dvb

for i in `seq 0 3`; do
        echo "Creating DVB devices in /dev/dvb/adapter$i" 
        mkdir /dev/dvb/adapter$i
        chmod 755 /dev/dvb/adapter$i
        mknod -m 0660 /dev/dvb/adapter$i/video0    c 250   `expr 64 \* $i + 0`
        mknod -m 0660 /dev/dvb/adapter$i/audio0    c 250   `expr 64 \* $i + 1`
        mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 250   `expr 64 \* $i + 3`
        mknod -m 0660 /dev/dvb/adapter$i/demux0    c 250   `expr 64 \* $i + 4`
        mknod -m 0660 /dev/dvb/adapter$i/dvr0      c 250   `expr 64 \* $i + 5`
        mknod -m 0660 /dev/dvb/adapter$i/ca0       c 250   `expr 64 \* $i + 6`
        mknod -m 0660 /dev/dvb/adapter$i/net0      c 250   `expr 64 \* $i + 7`
        mknod -m 0660 /dev/dvb/adapter$i/osd0      c 250   `expr 64 \* $i + 8`
        chown admin /dev/dvb/adapter$i/*
done

cat /dev/dvb/adapter0/dvr0
cat: /dev/dvb/adapter0/dvr0: No such device or address

cat /dev/dvb/adapter0/frontend0: No such device or address

However there is no such device in frontend0 and dvr0 and the structue is removed on next reboot

Is there any way to use the dvb-c usb sticks with TVHeadend?

Thank you very much for your help!


Replies (53)

RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA almost 2 years ago

Thanks for sharing! I just found out that I've currently installed TVHeadend_0.9.8. 0 _x86_64
How can I upgrade to TVHeadend_0.9.8. 1 _x86_64 without losing the configuration and starting from scratch?

Reviewing the quick documentation I just found out:

see https://www.qnapclub.eu/en/qpkg/723

- TVHeadend QPKG supports only 1 tuner even though TVHeadend itself supports more than one.

I've configured a Sat>IP Tuner and I wanted to add my 2 DVBC-Stick tuners to have two attached HW tuners in case SAT>IP is occupied.
So this won't be possible or I can chose between ONE DVB-Stick tuner and the SAT>IP tuner?

This looks like I have to burry this project for good which makes me really sad

RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro almost 2 years ago

See content of this file, maybe can give more ideas how and what need to be loaded to kernel.

RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA almost 2 years ago

@Florin Vlaicu Just upgraded TVHeadend_0.9.8. 0 _x86_64 to TVHeadend_0.9.8. 1 _x86_64, however no change:

dmesg | egrep "firmware|dvb|frontend|usb"

[ 10.027179] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 14.194722] i2c_imc: using this driver is dangerous unless your firmware is specifically designed for it; use at your own risk


ls /dev/dvb
/bin/ls: cannot access /dev/dvb: No such file or directory
[~] # modprobe mc
modprobe: module mc not found in modules.dep
[~] # modprobe dvb_core
modprobe: module dvb_core not found in modules.dep
[~] # modprobe mc
modprobe: module mc not found in modules.dep

See content of this file, maybe can give more ideas how and what need to be loaded to kernel.
file package_routines

Thanks @saen for sharing! What am I supposed to do with the information in the file package_routines? How can I find out what's missing in my case?

(51-53/53)