Moderator Control Panel ]

Ubuntu 20.04 driver not compile

It's important to keep your driver and software updated.

Ubuntu 20.04 driver not compile

Postby walopower » Mon Apr 20, 2020 7:03 am

I am installed driver before many times to earlier ubuntus.
I have linux headers and sources installed.
Error is:

Kernel build directory is /lib/modules/5.4.0-24-generic/build
make -C /lib/modules/5.4.0-24-generic/build SUBDIRS=/home/i/DVB-drivers/close/linux-tbs-drivers/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-24-generic'
make[3]: *** No rule to make target 'arch/x86/tools/relocs_32.c', needed by 'arch/x86/tools/relocs_32.o'. Seis.
make[2]: *** [arch/x86/Makefile:232: archscripts] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-24-generic'
make[1]: *** [Makefile:52: default] Virhe 2
make[1]: Poistutaan hakemistosta ”/home/i/DVB-drivers/close/linux-tbs-drivers/v4l”
make: *** [Makefile:26: all] Virhe 2

Open source driver is same error.
walopower
 
Posts: 5
Joined: Wed Sep 24, 2014 11:20 am
Location: Finland

Re: Ubuntu 20.04 driver not compile

Postby zhangchao » Mon Apr 20, 2020 9:15 am

hi ,
please write email to jack@tbsdtv.com .
please add skype jack_2431 .
best regards!
zhangchao
 
Posts: 53
Joined: Thu Jan 17, 2013 4:59 pm

Re: Ubuntu 20.04 driver not compile

Postby andreril » Wed May 06, 2020 6:51 pm

Hi , I was able to get mine loaded using the opensource drivers. The v17 TBS ones didn't work wiht the same error as walopower listed.

using a TurboSight TBS 6285 DVB-T/T2/C and Ubuntu 20.04

Linux dockerbox2 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x8>

63 sudo apt install linux-headers-$(uname-r)
65 sudo make && make install
66 sudo apt install build-essential

git clone https://github.com/tbsdtv/media_build.git

94 ls
95 cd media_build/
96 ls
97 ./build il
98 sudo install lsdiff
99 sudo apt install lsdiff
100 sudo apt install patchutils libproc-processtable-perl
102 ./build
103 sudo make install
104 sudo make rmmod
105 sudo modprobe saa716x_tbs-dvb
106 lspci

01:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 02)


107 sudo shutdown now -r
108 lspci

01:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 02)

110 dmesg | grep frontend

serveradmin@dockerbox2:~/tvheadend$ dmesg | grep frontend
[ 4.246029] SAA716x Budget 0000:01:00.0: DVB: registering adapter 0 frontend 0 (TurboSight >
[ 4.262033] SAA716x Budget 0000:01:00.0: DVB: registering adapter 1 frontend 0 (TurboSight >
[ 4.270868] SAA716x Budget 0000:01:00.0: DVB: registering adapter 2 frontend 0 (TurboSight >
[ 4.280521] SAA716x Budget 0000:01:00.0: DVB: registering adapter 3 frontend 0 (TurboSight >
serveradmin@dockerbox2:~/tvheadend$

111 ls /dev/dvb/

serveradmin@dockerbox2:~/tvheadend$ ls /dev/dvb/
adapter0 adapter1 adapter2 adapter3
andreril
 
Posts: 6
Joined: Tue Oct 03, 2017 7:41 pm

Re: Ubuntu 20.04 driver not compile

Postby steven » Thu May 07, 2020 9:35 am

good thanks for your update
steven
 
Posts: 2168
Joined: Fri Aug 06, 2010 3:23 pm

Re: Ubuntu 20.04 driver not compile

Postby andreril » Sun Oct 25, 2020 5:53 pm

Seems my previous recommendations has failed again with the Kernel upgrade and not loading the module

uname -r
5.4.0-52-generic

lspci | grep "SAA"
01:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 02)

sudo modprobe saa716x_tbs-dvb
modprobe: FATAL: Module saa716x_tbs-dvb not found in directory /lib/modules/5.4.0-52-generic

Anyone solved this recently?
andreril
 
Posts: 6
Joined: Tue Oct 03, 2017 7:41 pm

Re: Ubuntu 20.04 driver not compile

Postby andreril » Mon Oct 26, 2020 6:17 am

Updated my script and it's working

#!/bin/bash

#install compile essentials
sudo apt --yes install linux-headers-$(uname -r)
sudo apt --yes install build-essential
sudo apt --yes install patchutils libproc-processtable-perl
sudo apt --yes install dvb-apps
# add --allow-unauthenticated if failing gpg signature check

#download firmware
wget http://www.tbsdtv.com/download/document ... .0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/

#new build
git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build
make dir DIR=../media
make allyesconfig
make -j4
sudo make install

#build and make tbs opensource drivers
sudo make rmmod
sudo modprobe saa716x_tbs-dvb
lspci
dmesg | grep frontend

#load "saa716x_tbs-dvb" modules
echo saa716x_tbs-dvb | sudo tee /etc/modules-load.d/tbs.conf

#install dvb-apps
sudo apt --yes install dvb-apps
sudo lsdvb

sudo reboot
andreril
 
Posts: 6
Joined: Tue Oct 03, 2017 7:41 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 2 guests