Forums » Tutorial and setups »
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 saen acro over 2 years ago
https://github.com/uglymagoo/plexmediaserver-installer/blob/master/lib/udev/rules.d/60-tvbutler-perms.rules Linux Rename the attached file to 60-tvbutler-perms.rules and copy it to /etc/udev/rules.d Then run: sudo udevadm control --reload-rules sudo service udev restart sudo udevadm trigger
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA over 2 years ago
Thank you very much for your reply!
I downloaded https://github.com/uglymagoo/plexmediaserver-installer/blob/master/lib/udev/rules.d/60-tvbutler-perms.rules with the contents
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="0100", GROUP="video", MODE="0664"
and copied the file to /etc/udev/rules.d
Note: GROPUP="video" - I don't have a group with this name.
groups
administrators everyone
Should I replace it with administrators?
[/etc/udev/rules.d] # ls -lisa
total 148
37321 0 drwxr-xr-x 2 admin administrators 80 2022-04-30 08:25 ./
37320 0 drwxr-xr-x 3 admin administrators 80 2022-04-30 08:21 ../
347361 144 -rw-r--r-- 1 admin administrators 143571 2022-04-30 08:25 60-tvbutler-perms.rules
37322 4 -rw-r--r-- 1 admin administrators 636 2022-01-28 01:12 65-drbd.rules
[/etc/udev/rules.d] # sudo udevadm control --reload-rules
[/etc/udev/rules.d] # sudo service udev restart
sudo: service: command not found
Unfortunately the service command on my qnap system is not located there: /usr/sbin/service
After a reboot file has disappeared:
[/etc/udev/rules.d] # ls -lisa
total 4
37979 0 drwxr-xr-x 2 admin administrators 60 2022-01-28 01:12 ./
37978 0 drwxr-xr-x 3 admin administrators 60 2022-01-28 01:12 ../
37980 4 -rw-r--r-- 1 admin administrators 636 2022-01-28 01:12 65-drbd.rules
[/etc/udev/rules.d] #
And dev/dvb does not exist:
[/etc/udev/rules.d] # ls /dev/dvb
/bin/ls: cannot access /dev/dvb: No such file or directory
[/etc/udev/rules.d] #
Note: many service commands can be found but unfortunately not for TVHeadend in the particular .qpkg directory
[/] # find . -name "service"
./share/CACHEDEV2_DATA/.qpkg/container-station/system-docker/overlay2/b49291270112fbae80c0044ea06ea94fd5becf05f5772a4d5c794972b270ca1e/diff/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/container-station/system-docker/overlay2/dde0d7ffa47cbe99d028671751e32c336fe81ee460696c1f6a900d74cc418498/merged/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/container-station/system-docker/overlay2/e927a959546c912ce129047b264391b9d099bff3b617a1d85ffef7d332955ef1/merged/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/photostation2/m/js/app/service
./share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/share/CACHEDEV2_DATA/.qpkg/container-station/system-docker/overlay2/b49291270112fbae80c0044ea06ea94fd5becf05f5772a4d5c794972b270ca1e/diff/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/share/CACHEDEV2_DATA/.qpkg/container-station/system-docker/overlay2/dde0d7ffa47cbe99d028671751e32c336fe81ee460696c1f6a900d74cc418498/merged/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/share/CACHEDEV2_DATA/.qpkg/container-station/system-docker/overlay2/e927a959546c912ce129047b264391b9d099bff3b617a1d85ffef7d332955ef1/merged/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/share/CACHEDEV2_DATA/.qpkg/photostation2/m/js/app/service
./share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/usr/sbin/service
./share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/share/CACHEDEV2_DATA/.qpkg/MediaSignPlayer/CodexPackExt/share/CACHEDEV2_DATA/.qpkg/container-station/system-docker/overlay2/b49291270112fbae80c0044ea06ea94fd5becf05f5772a4d5c794972b270ca1e/diff/usr/sbin/ser
.....
[/] # cd /share/CACHEDEV1_DATA/.qpkg/TVHeadend
[/share/CACHEDEV1_DATA/.qpkg/TVHeadend] # find . -name "service"
[/share/CACHEDEV1_DATA/.qpkg/TVHeadend] #
What would you suggest?
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro over 2 years ago
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA over 2 years ago
Thanks!
When I test it I get the following message:
udevadm test SUBSYSTEM=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="0100", GROUP="administrators", MODE="0664"
run_command: calling: test
udevadm_test: version 140
This program is for debugging only, it does not run any program,
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
parse_file: reading '/lib/udev/rules.d/50-udev.rules' as rules file
udev_rules_new: rules use 33084 bytes tokens (2757 * 12 bytes), 5250 bytes buffer
udev_rules_new: temporary index used 11280 bytes (564 * 20 bytes)
unable to open device '/sysSUBSYSTEM==usb,'
sudo udevadm test /etc/udev/rules.d/60-tvbutler-perms.rules
run_command: calling: test
udevadm_test: version 140
This program is for debugging only, it does not run any program,
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
parse_file: reading '/lib/udev/rules.d/50-udev.rules' as rules file
udev_rules_new: rules use 33084 bytes tokens (2757 * 12 bytes), 5250 bytes buffe r
udev_rules_new: temporary index used 11280 bytes (564 * 20 bytes)
unable to open device '/sys/etc/udev/rules.d/60-tvbutler-perms.rules'
dmesg | grep usb
[ 0.955017] usbcore: registered new interface driver usbfs
[ 0.961009] usbcore: registered new interface driver hub
[ 0.966025] usbcore: registered new device driver usb
[ 7.766450] usbcore: registered new interface driver btusb
[ 7.966128] usbcore: registered new interface driver usbhid
[ 7.966129] usbhid: USB HID core driver
[ 8.908623] usbcore: registered new interface driver usblp
[ 8.976315] usbcore: registered new interface driver usb-storage
[ 8.983048] usbcore: registered new interface driver uas
[ 9.273005] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 9.423038] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 9.429185] scsi host6: usb-storage 1-1:1.0
[ 9.548003] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[ 9.799002] usb 1-6: new high-speed USB device number 4 using xhci_hcd
[ 10.463324] Check proc_name[usb-storage].
[ 10.475492] Check proc_name[usb-storage].
[ 10.482513] Check proc_name[usb-storage].
[ 10.486534] Check proc_name[usb-storage].
[ 10.496460] Check proc_name[usb-storage].
[ 10.521937] Check proc_name[usb-storage].
[ 11.143469] usbcore: registered new interface driver r8152
[ 11.197401] Check proc_name[usb-storage].
[ 11.202156] Check proc_name[usb-storage].
[ 21.979893] usbcore: registered new interface driver usbserial
[ 21.986398] usbcore: registered new interface driver pl2303
[ 21.991990] usbserial: USB Serial support registered for pl2303
[ 21.998640] usbcore: registered new interface driver cdc_acm
[ 48.467430] snd_usb_audio: unknown parameter 'qnap_start_index' ignored
[ 48.474150] usbcore: registered new interface driver snd-usb-audio
[ 48.483187] usbcore: registered new interface driver snd-usb-caiaq
[ 48.493249] usbcore: registered new interface driver uvcvideo
[ 570.925440] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4 added.
[ 570.925611] [usb.001.004] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added.
[ 570.931908] [usb.001.002] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1 added.
p.s: and I tried chmod 777 /etc/udev/rules.d/60-tvbutler-perms.rules as suggested in one of the referred pages but without success
Sorry, my unix skills are only very basic
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
I've been through something similar. With kernel 5.5 (i think) the tvbutler device is supported by linux! (the instructions on the plex site are for the binary driver distributed with plex).
It seems this device needs to load 2 firmware files - the first is
http://trsqr.net/olli/linux/firmwares/it930x/dvb-usb-it9303-01.fw
and the second is:
http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/dvb-demod-si2168-02.fw
Place both files in /lib/firmware (if you have root) and then unplug and plug the devices - they should appear properly in /dev/dvb now
Hope this helps!
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA about 2 years ago
Hello Florin Vlaicu!
Thank you for your interesting post and sorry for my really late reply!
Unfortunately it doesn't work for me, I tried the following:
1. After I put the 2 files into /lib/firmware I plugged and unplugged the tuner a few times. There is no /dev/dvb
2. After a reboot the files where gone so I put them again into /lib/firmware. Same result as above
Do you have any further suggestions!
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro about 2 years ago
Unplug and plug
dmesg | egrep "firmware|dvb|frontend|usb"
and post result, after unplug message.
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
unless the kernel version is at least 5.5 the steps i provided won't work, you can check the version of your kernel by running:
uname -a
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA about 2 years ago
Booted, copied firmare files, stick not plugged:
[~] # dmesg | egrep "firmware|dvb|frontend|usb"
[ 0.060011] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.958017] usbcore: registered new interface driver usbfs
[ 0.964008] usbcore: registered new interface driver hub
[ 0.969027] usbcore: registered new device driver usb
[ 7.579264] usbcore: registered new interface driver btusb
[ 7.758424] usbcore: registered new interface driver usbhid
[ 7.764094] usbhid: USB HID core driver
[ 7.811428] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1. 1)
[ 8.791309] usbcore: registered new interface driver usblp
[ 8.859117] usbcore: registered new interface driver usb-storage
[ 8.865877] usbcore: registered new interface driver uas
[ 9.154005] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 9.349347] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 9.355555] scsi host6: usb-storage 1-1:1.0
[ 10.399306] Check proc_name[usb-storage].
[ 10.411480] Check proc_name[usb-storage].
[ 10.415509] Check proc_name[usb-storage].
[ 10.419530] Check proc_name[usb-storage].
[ 10.423609] Check proc_name[usb-storage].
[ 10.427662] Check proc_name[usb-storage].
[ 10.437109] Check proc_name[usb-storage].
[ 10.921770] usbcore: registered new interface driver r8152
[ 11.158093] Check proc_name[usb-storage].
[ 21.771930] usbcore: registered new interface driver usbserial
[ 21.778411] usbcore: registered new interface driver pl2303
[ 21.784009] usbserial: USB Serial support registered for pl2303
[ 21.790666] usbcore: registered new interface driver cdc_acm
[ 48.124096] snd_usb_audio: unknown parameter 'qnap_start_index' ignored
[ 48.130785] usbcore: registered new interface driver snd-usb-audio
[ 48.139900] usbcore: registered new interface driver snd-usb-caiaq
[ 48.149734] usbcore: registered new interface driver uvcvideo
TV Stick plugged in
[~] # dmesg | egrep "firmware|dvb|frontend|usb"
[ 0.060011] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.958017] usbcore: registered new interface driver usbfs
[ 0.964008] usbcore: registered new interface driver hub
[ 0.969027] usbcore: registered new device driver usb
[ 7.579264] usbcore: registered new interface driver btusb
[ 7.758424] usbcore: registered new interface driver usbhid
[ 7.764094] usbhid: USB HID core driver
[ 7.811428] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)
[ 8.791309] usbcore: registered new interface driver usblp
[ 8.859117] usbcore: registered new interface driver usb-storage
[ 8.865877] usbcore: registered new interface driver uas
[ 9.154005] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 9.349347] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 9.355555] scsi host6: usb-storage 1-1:1.0
[ 10.399306] Check proc_name[usb-storage].
[ 10.411480] Check proc_name[usb-storage].
[ 10.415509] Check proc_name[usb-storage].
[ 10.419530] Check proc_name[usb-storage].
[ 10.423609] Check proc_name[usb-storage].
[ 10.427662] Check proc_name[usb-storage].
[ 10.437109] Check proc_name[usb-storage].
[ 10.921770] usbcore: registered new interface driver r8152
[ 11.158093] Check proc_name[usb-storage].
[ 21.771930] usbcore: registered new interface driver usbserial
[ 21.778411] usbcore: registered new interface driver pl2303
[ 21.784009] usbserial: USB Serial support registered for pl2303
[ 21.790666] usbcore: registered new interface driver cdc_acm
[ 48.124096] snd_usb_audio: unknown parameter 'qnap_start_index' ignored
[ 48.130785] usbcore: registered new interface driver snd-usb-audio
[ 48.139900] usbcore: registered new interface driver snd-usb-caiaq
[ 48.149734] usbcore: registered new interface driver uvcvideo
[ 336.206170] usb 1-6: new high-speed USB device number 3 using xhci_hcd
[ 336.357432] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added.
unplugged
[~] # dmesg | egrep "firmware|dvb|frontend|usb"
[ 0.060011] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.958017] usbcore: registered new interface driver usbfs
[ 0.964008] usbcore: registered new interface driver hub
[ 0.969027] usbcore: registered new device driver usb
[ 7.579264] usbcore: registered new interface driver btusb
[ 7.758424] usbcore: registered new interface driver usbhid
[ 7.764094] usbhid: USB HID core driver
[ 7.811428] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)
[ 8.791309] usbcore: registered new interface driver usblp
[ 8.859117] usbcore: registered new interface driver usb-storage
[ 8.865877] usbcore: registered new interface driver uas
[ 9.154005] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 9.349347] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 9.355555] scsi host6: usb-storage 1-1:1.0
[ 10.399306] Check proc_name[usb-storage].
[ 10.411480] Check proc_name[usb-storage].
[ 10.415509] Check proc_name[usb-storage].
[ 10.419530] Check proc_name[usb-storage].
[ 10.423609] Check proc_name[usb-storage].
[ 10.427662] Check proc_name[usb-storage].
[ 10.437109] Check proc_name[usb-storage].
[ 10.921770] usbcore: registered new interface driver r8152
[ 11.158093] Check proc_name[usb-storage].
[ 21.771930] usbcore: registered new interface driver usbserial
[ 21.778411] usbcore: registered new interface driver pl2303
[ 21.784009] usbserial: USB Serial support registered for pl2303
[ 21.790666] usbcore: registered new interface driver cdc_acm
[ 48.124096] snd_usb_audio: unknown parameter 'qnap_start_index' ignored
[ 48.130785] usbcore: registered new interface driver snd-usb-audio
[ 48.139900] usbcore: registered new interface driver snd-usb-caiaq
[ 48.149734] usbcore: registered new interface driver uvcvideo
[ 336.206170] usb 1-6: new high-speed USB device number 3 using xhci_hcd
[ 336.357432] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added.
[ 367.755619] usb 1-6: USB disconnect, device number 3
[ 367.781481] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 removed.
[~] # uname -a
Linux NAS-TVS-472XT 4.14.24-qnap #1 SMP Tue Apr 19 01:51:19 CST 2022 x86_64 GNU/Linux
So far I didn't dare to upgrade to QTS QTS 5.0.1.2145 build 20220903 - Do you think this might help?
https://www.qnap.com/en/release-notes/kernel
TVS-472XT should have 5.10.60 - am I right?
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
https://www.qnap.com/en/news/2021/qnap-officially-releases-qts-5-0-featuring-an-upgraded-kernel-improved-security-wireguard-vpn-free-exfat-support-and-more says that the QTS 5.0 has the 5.10 kernel - you should try to upgrade
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro about 2 years ago
A AAA use PRE button for citation of console messages
There is nothing with point to that anything want to load modules for tuner
Other thing is that you don't fallow steps to report messages
Interesting is that with happens after this message
[ 367.755619] usb 1-6: USB disconnect, device number 3
[ 367.781481] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 removed.
when plug device
until dvbdev: DVB: registering new adapter and frontend appear in messages nothing will work.
see this example:
https://tvheadend.org/boards/5/topics/43949?r=43952#message-43952
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA about 2 years ago
Interesting is that with happens after this message
[ 367.755619] usb 1-6: USB disconnect, device number 3 [ 367.781481] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 removed.
No more messages after this
until dvbdev: DVB: registering new adapter and frontend appear in messages nothing will work.
This message can't be found on my system.
Thanks for the link to the example. Could you please give me a hint what I could find there?
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
[~] # uname -a Linux NAS-TVS-472XT 4.14.24-qnap #1 SMP Tue Apr 19 01:51:19 CST 2022 x86_64 GNU/Linux
As you pasted here, the kernel version is 4.14.24-qnap. It's less than 5.5 where this device is supported. You need to upgrade.
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA about 2 years ago
Updated to latest QTS 5.0.1.2145 build 20220903 release
uname -a Linux NAS-TVS-472XT 5.10.60-qnap #1 SMP Sat Sep 3 01:30:48 CST 2022 x86_64 GNU/Linux
copied firmware files, plugged in DVB Stick:
[~] # [~] # dmesg | egrep "firmware|dvb|frontend|usb" [ 2.726867] usbcore: registered new interface driver usbfs [ 2.727859] usbcore: registered new interface driver hub [ 2.728859] usbcore: registered new device driver usb [ 9.846873] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_d mc_ver1_04.bin (v1.4) [ 11.017221] usbcore: registered new interface driver btusb [ 11.064607] usbcore: registered new interface driver usbhid [ 11.070183] usbhid: USB HID core driver [ 11.724228] usbcore: registered new interface driver usblp [ 11.799674] usbcore: registered new interface driver usb-storage [ 11.806413] usbcore: registered new interface driver uas [ 12.013857] usb 1-1: new high-speed USB device number 2 using xhci_hcd [ 12.164395] usb-storage 1-1:1.0: USB Mass Storage device detected [ 12.170595] scsi host6: usb-storage 1-1:1.0 [ 13.188147] Check proc_name[usb-storage]. [ 13.200337] Check proc_name[usb-storage]. [ 13.200340] Check proc_name[usb-storage]. [ 13.204372] Check proc_name[usb-storage]. [ 13.212451] Check proc_name[usb-storage]. [ 13.217868] Check proc_name[usb-storage]. [ 13.402461] usbcore: registered new interface driver r8152 [ 13.950743] i2c_imc: using this driver is dangerous unless your firmware is s pecifically designed for it; use at your own risk [ 13.984284] Check proc_name[usb-storage]. [ 13.988324] Check proc_name[usb-storage]. [ 24.128890] usbcore: registered new interface driver pl2303 [ 24.134509] usbserial: USB Serial support registered for pl2303 [ 24.141202] usbcore: registered new interface driver cdc_acm [ 55.423731] snd_usb_audio: unknown parameter 'qnap_start_index' ignored [ 55.430414] usbcore: registered new interface driver snd-usb-audio [ 55.439627] usbcore: registered new interface driver snd-usb-caiaq [ 55.449736] usbcore: registered new interface driver uvcvideo [ 669.705111] usb 1-6: new high-speed USB device number 3 using xhci_hcd [ 669.857377] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added . [~] #
unplugged:
[~] # [~] # dmesg | egrep "firmware|dvb|frontend|usb" [ 2.726867] usbcore: registered new interface driver usbfs [ 2.727859] usbcore: registered new interface driver hub [ 2.728859] usbcore: registered new device driver usb [ 9.846873] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) [ 11.017221] usbcore: registered new interface driver btusb [ 11.064607] usbcore: registered new interface driver usbhid [ 11.070183] usbhid: USB HID core driver [ 11.724228] usbcore: registered new interface driver usblp [ 11.799674] usbcore: registered new interface driver usb-storage [ 11.806413] usbcore: registered new interface driver uas [ 12.013857] usb 1-1: new high-speed USB device number 2 using xhci_hcd [ 12.164395] usb-storage 1-1:1.0: USB Mass Storage device detected [ 12.170595] scsi host6: usb-storage 1-1:1.0 [ 13.188147] Check proc_name[usb-storage]. [ 13.200337] Check proc_name[usb-storage]. [ 13.200340] Check proc_name[usb-storage]. [ 13.204372] Check proc_name[usb-storage]. [ 13.212451] Check proc_name[usb-storage]. [ 13.217868] Check proc_name[usb-storage]. [ 13.402461] usbcore: registered new interface driver r8152 [ 13.950743] i2c_imc: using this driver is dangerous unless your firmware is specifically designed for it; use at your own risk [ 13.984284] Check proc_name[usb-storage]. [ 13.988324] Check proc_name[usb-storage]. [ 24.128890] usbcore: registered new interface driver pl2303 [ 24.134509] usbserial: USB Serial support registered for pl2303 [ 24.141202] usbcore: registered new interface driver cdc_acm [ 55.423731] snd_usb_audio: unknown parameter 'qnap_start_index' ignored [ 55.430414] usbcore: registered new interface driver snd-usb-audio [ 55.439627] usbcore: registered new interface driver snd-usb-caiaq [ 55.449736] usbcore: registered new interface driver uvcvideo [ 669.705111] usb 1-6: new high-speed USB device number 3 using xhci_hcd [ 669.857377] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added. [ 732.898972] usb 1-6: USB disconnect, device number 3 [ 732.926534] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 removed. [~] #
No changes from QTS 4.5 to QTS 5
unless the kernel version is at least 5.5 the steps i provided won't work,...
Current kernel 5.10.60-qnap - 5.10 is newer than 5.5
TV Butler worked with old QTS 4 along with TV Mosaic due to its built-in support. TV Mosaic is now discontinued. Is there any chance to get my stick(s) working with TV Headend?
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro about 2 years ago
A AAA wrote:
Interesting is that with happens after this message
[...]
No more messages after this
until dvbdev: DVB: registering new adapter and frontend appear in messages nothing will work.
This message can't be found on my system.
Thanks for the link to the example. Could you please give me a hint what I could find there?
Is your logic on vacation?
after this message, plug device
and post result
To be more easy for you to orientate in time use
dmesg -T| egrep "firmware|dvb|frontend|usb"
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA about 2 years ago
Dear saen acro!
Is your logic on vacation?
Because I'm new to this topic and only a basic unix user I'm very glad receiving suggestions from other users.
But may I ask you to stay friendly to other users which probably don't have your skill level.
after this message, plug device
and post result
To be more easy for you to orientate in time use dmesg...
As posted previously no more messages are shown, let me sumarize:
[~] # [~] # dmesg | egrep "firmware|dvb|frontend|usb" [ 2.726867] usbcore: registered new interface driver usbfs [ 2.727859] usbcore: registered new interface driver hub [ 2.728859] usbcore: registered new device driver usb [ 9.846873] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_d mc_ver1_04.bin (v1.4) ... [ 55.449736] usbcore: registered new interface driver uvcvideo [ 669.705111] usb 1-6: new high-speed USB device number 3 using xhci_hcd [ 669.857377] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added [~] # [~] # dmesg | egrep "firmware|dvb|frontend|usb" [ 2.726867] usbcore: registered new interface driver usbfs [ 2.727859] usbcore: registered new interface driver hub [ 2.728859] usbcore: registered new device driver usb [ 9.846873] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) ... [ 55.449736] usbcore: registered new interface driver uvcvideo [ 669.705111] usb 1-6: new high-speed USB device number 3 using xhci_hcd [ 669.857377] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 added. [ 732.898972] usb 1-6: USB disconnect, device number 3 [ 732.926534] [usb.001.003] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 removed. [~] #
Meaning after I unplugged the device and the 'removed' message I don't get any further messages on my system
Kernel 5.10 is a higher version number than the one with minimal requirement 5.5 so the DVB Stick should be theoretically supported
How can I make the following messages appear?
... dvbdev: DVB: registering new adapter and frontend ....
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
i am not familiar with the linux distro that comes with QNAPs, I would suggest you find out if there are any packages with drivers that you can install, here is a listing from raspberry pi which has the drivers for the device:
# lsmod|grep dvb dvb_usb_af9035 49152 0 dvb_usb_v2 53248 1 dvb_usb_af9035 dvb_core 155648 1 dvb_usb_v2 mc 73728 9 videodev,si2157,bcm2835_codec,dvb_usb_v2,videobuf2_v4l2,dvb_core,videobuf2_common,v4l2_mem2mem,bcm2835_isp
I think the kernel module that's needed is dvb_usb_af9035
Try running the command above before and after inserting the device, see if there's any change there.
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro about 2 years ago
Florin Vlaicu wrote:
i am not familiar with the linux distro that comes with QNAPs, I would suggest you find out if there are any packages with drivers that you can install, here is a listing from raspberry pi which has the drivers for the device:
[...]I think the kernel module that's needed is dvb_usb_af9035
Try running the command above before and after inserting the device, see if there's any change there.
TVButler is strange tuner from DVBLogic,
made for work only with their software.
to work as regular tuner need to be make some changes with are in first posts at topic
A AAA need to write them on disk with need to be mounted as RW
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
saen acro wrote:
Florin Vlaicu wrote:
i am not familiar with the linux distro that comes with QNAPs, I would suggest you find out if there are any packages with drivers that you can install, here is a listing from raspberry pi which has the drivers for the device:
[...]I think the kernel module that's needed is dvb_usb_af9035
Try running the command above before and after inserting the device, see if there's any change there.
TVButler is strange tuner from DVBLogic,
made for work only with their software.
to work as regular tuner need to be make some changes with are in first posts at topic
A AAA need to write them on disk with need to be mounted as RW
I said I am not familiar with the QNAP linux distro.
I own the TVButler tuner :).
I recently made it work on my raspberrypi without the DVBLogic software (TVMosaic) using the steps I mentioned in this thread earlier: https://tvheadend.org/boards/4/topics/47125?r=47653#message-47653
The steps you're mentioning are only useful if using the original software (TVMosaic), they won't work with TVHeadend.
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro about 2 years ago
Florin Vlaicu wrote:
I said I am not familiar with the QNAP linux distro.
I own the TVButler tuner :).
I recently made it work on my raspberrypi without the DVBLogic software (TVMosaic) using the steps I mentioned in this thread earlier: https://tvheadend.org/boards/4/topics/47125?r=47653#message-47653The steps you're mentioning are only useful if using the original software (TVMosaic), they won't work with TVHeadend.
If work with Plex no problem to work with TVH
https://tvheadend.org/boards/4/topics/47125?r=47130#message-47130
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
saen acro wrote:
Florin Vlaicu wrote:
I said I am not familiar with the QNAP linux distro.
I own the TVButler tuner :).
I recently made it work on my raspberrypi without the DVBLogic software (TVMosaic) using the steps I mentioned in this thread earlier: https://tvheadend.org/boards/4/topics/47125?r=47653#message-47653The steps you're mentioning are only useful if using the original software (TVMosaic), they won't work with TVHeadend.
If work with Plex no problem to work with TVH
https://tvheadend.org/boards/4/topics/47125?r=47130#message-47130
Plex had a deal with DVBLogic and included the binary driver with the plex server software on linux, but I think this discussion isn't helping the OP with his problem.
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by saen acro about 2 years ago
DvbLogic aka TVMosaic not exist anymore and software is OpenSource now
https://gitlab.com/tvmosaic/server
they cut some of code
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA about 2 years ago
If work with Plex no problem to work with TVH
Plex had a deal with DVBLogic and included the binary driver with the plex server software on linux, but I think this discussion isn't helping the OP with his problem.
Yes, I read that the stick should be supported. I tried plex trial version: Stick recognized but I wasn't able to tune channel.
DvbLogic aka TVMosaic not exist anymore and software is OpenSource now
they cut some of code
Yes, they cut the TV butler DVB stick support, it's only IPTV now. Tuner not recognized. Old TVMosaic Trial recognizes the stick
The steps you're mentioning are only useful if using the original software (TVMosaic), they won't work with TVHeadend.
Do you think there is a chance to get the DVB butler stick working with TVHeadend on my QNAP?
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by Florin Vlaicu about 2 years ago
A AAA wrote:
If work with Plex no problem to work with TVH
Plex had a deal with DVBLogic and included the binary driver with the plex server software on linux, but I think this discussion isn't helping the OP with his problem.
Yes, I read that the stick should be supported. I tried plex trial version: Stick recognized but I wasn't able to tune channel.
DvbLogic aka TVMosaic not exist anymore and software is OpenSource now
they cut some of codeYes, they cut the TV butler DVB stick support, it's only IPTV now. Tuner not recognized. Old TVMosaic Trial recognizes the stick
The steps you're mentioning are only useful if using the original software (TVMosaic), they won't work with TVHeadend.
Do you think there is a chance to get the DVB butler stick working with TVHeadend on my QNAP?
have you tried these commands: https://tvheadend.org/boards/4/topics/47125?r=47884#message-47884 ?
RE: DVB-C USB stick recognized, /dev/dvb not available (therefore device not visible in TV Adapters) - Added by A AAA about 2 years ago
Hello Florin Vlaicu!
have you tried these commands: https://tvheadend.org/boards/4/topics/47125?r=47884#message-47884 ?
I'm a bit confused, do you mean
lsmod|grep dvb
Or which commands are you referring to?