Содержание

Сборка драйверов tbsdtv для Armbian 22.05.3 Bullseye и Rock 3A (5.18.0-rk35xx)

Очень кратко :-P

Сборка

Окружение для сборки установлено ранее.

root@rock-3a:~# apt install patchutils
root@rock-3a:~# git clone https://github.com/tbsdtv/media_build.git
root@rock-3a:~# git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
root@rock-3a:~# cd media_build
root@rock-3a:~/media_build# make dir DIR=../media
root@rock-3a:~/media_build# make distclean
root@rock-3a:~/media_build# make -j4
root@rock-3a:~/media_build# make install
root@rock-3a:~/media_build# cd ..
root@rock-3a:~# wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
root@rock-3a:~# tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/

После перезагрузки и подключения устройства.

Mar  4 09:15:01 rock-3a kernel: [   86.311591] usb 1-1.1: new high-speed USB device number 4 using ehci-platform
Mar  4 09:15:01 rock-3a kernel: [   86.520385] usb 1-1.1: New USB device found, idVendor=734c, idProduct=5930, bcdDevice= 0.01
Mar  4 09:15:01 rock-3a kernel: [   86.520397] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar  4 09:15:01 rock-3a kernel: [   86.520402] usb 1-1.1: Product: TBS 5930
Mar  4 09:15:01 rock-3a kernel: [   86.520406] usb 1-1.1: Manufacturer: TBS-Tech
Mar  4 09:15:01 rock-3a kernel: [   86.540634] WARNING: You are using an experimental version of the media stack.
Mar  4 09:15:01 rock-3a kernel: [   86.540634] 	As the driver is backported to an older kernel, it doesn't offer
Mar  4 09:15:01 rock-3a kernel: [   86.540634] 	enough quality for its usage in production.
Mar  4 09:15:01 rock-3a kernel: [   86.540634] 	Use it with care.
Mar  4 09:15:01 rock-3a kernel: [   86.540634] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
Mar  4 09:15:01 rock-3a kernel: [   86.540634] 	e1e06d78177e55ca126774867685c10dafcd3abb add support for 6522H(Dual dvb-s/s2x+Dual dvb-t/t2/c/c2/ isdbt/c/ atsc1.0)
Mar  4 09:15:01 rock-3a kernel: [   86.544278] WARNING: You are using an experimental version of the media stack.
Mar  4 09:15:01 rock-3a kernel: [   86.544278] 	As the driver is backported to an older kernel, it doesn't offer
Mar  4 09:15:01 rock-3a kernel: [   86.544278] 	enough quality for its usage in production.
Mar  4 09:15:01 rock-3a kernel: [   86.544278] 	Use it with care.
Mar  4 09:15:01 rock-3a kernel: [   86.544278] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
Mar  4 09:15:01 rock-3a kernel: [   86.544278] 	e1e06d78177e55ca126774867685c10dafcd3abb add support for 6522H(Dual dvb-s/s2x+Dual dvb-t/t2/c/c2/ isdbt/c/ atsc1.0)
Mar  4 09:15:01 rock-3a kernel: [   86.548765] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in cold state, will try to load a firmware
Mar  4 09:15:01 rock-3a kernel: [   86.549370] dvb-usb: downloading firmware from file 'dvb-usb-id5930.fw'
Mar  4 09:15:01 rock-3a kernel: [   86.549381] tbs5930: start downloading TBS5930 firmware
Mar  4 09:15:01 rock-3a kernel: [   86.671586] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in warm state.
Mar  4 09:15:01 rock-3a kernel: [   86.671917] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Mar  4 09:15:01 rock-3a kernel: [   86.672217] dvbdev: DVB: registering new adapter (TurboSight TBS 5930 DVB-S/S2/S2x)
Mar  4 09:15:01 rock-3a kernel: [   86.896255] dvb-usb: MAC address: 00:22:ab:c0:61:5a
Mar  4 09:15:02 rock-3a kernel: [   86.989636] i2c i2c-7: found a 'Montage m88rs6060' in cold state
Mar  4 09:15:02 rock-3a kernel: [   86.990438] i2c i2c-7: downloading firmware from file 'dvb-demod-m88rs6060.fw'
Mar  4 09:15:03 rock-3a kernel: [   88.500081] i2c i2c-7: found a 'Montage m88rs6060' in warm state
Mar  4 09:15:03 rock-3a kernel: [   88.500127] i2c i2c-7: firmware version:30
Mar  4 09:15:03 rock-3a kernel: [   88.599643] usb 1-1.1: DVB: registering adapter 0 frontend 0 (TurboSight TBS 5930 DVB-S/S2/S2x)...
Mar  4 09:15:03 rock-3a kernel: [   88.600686] dvb-usb: TurboSight TBS 5930 DVB-S/S2/S2x successfully initialized and connected.
Mar  4 09:15:03 rock-3a kernel: [   88.601092] usbcore: registered new interface driver tbs5930

Полезные ссылки