Project

General

Profile

Install TBS 5880 drivers in ubuntu

Added by Carsten Johansson about 6 years ago

Hi
Tvheadend does not find my USB TBS 5880 TV card so I guess I have to try to install the drivers.

I did find it and download it to see if I can install it on my Xubuntu (later if I got it to work I going to install it on a Ubuntu server)

I find this guide
https://tvheadend.org/boards/5/topics/10407?r=10437#message-10437
but I got error when I try with the "make" (yes I run as root) I get

/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l/saa7146_video.c: In function 'video_init':
/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l/saa7146_video.c:1307:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration]
init_timer(&vv->video_q.timeout);
^~~~~~~~~~
init_timers
/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l/saa7146_video.c:1308:31: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
vv->video_q.timeout.function = saa7146_buffer_timeout;
^
/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l/saa7146_video.c:1309:21: error: 'struct timer_list' has no member named 'data'
vv->video_q.timeout.data = (unsigned long)(&vv->video_q);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l/saa7146_video.o' failed
make[3]: *** [/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l/saa7146_video.o] Error 1
Makefile:1552: recipe for target '_module_/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l' failed
make[2]: *** [_module_/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/konto/tbs-linux-drivers_v170330/linux-tbs-drivers/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2

So now I'm not sure what to do??


Replies (7)

RE: Install TBS 5880 drivers in ubuntu - Added by Dave H about 6 years ago

I suggest that the TBS forum might be a better place to get answers about building the drivers.

Also note that you don't need to run make as root. In fact you shouldn't, since it enlarges the scope for painful errors. Build the drivers as a normal user. The only time you need to run as root is when you install them by running 'make install'.

I would follow the instructions that come with the drivers rather than some in an old thread here.

FWIW, I have a TBS6205 that was a bit of a struggle to get going, but now it works fine, so keep persevering!

RE: Install TBS 5880 drivers in ubuntu - Added by Carsten Johansson about 6 years ago

Thanks for the replay
yes I was going to post in the TBSDTV forum but I notice someone write that the driver does not have support for kernel 4.10+ so I going to see if it work work with 4.4 Before I post there

RE: Install TBS 5880 drivers in ubuntu - Added by Carsten Johansson about 6 years ago

After I have run a older version of the kernel I have not got it to install

@konto@tvsrv:~$ lsmod | grep dvb
dvb_usb_tbs5880 20480 0
dvb_usb 28672 1 dvb_usb_tbs5880
dvb_core 106496 2 dvb_usb,dvb_usb_tbs5880
rc_core 28672 8 ir_lirc_codec,ir_rc5_decoder,dvb_usb,ir_nec_decoder,ir_sony_decoder,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decode@r

The problem I have is I can't get Tvheadend to find it.
Nothing show in the "DVB Inputs" tab

RE: Install TBS 5880 drivers in ubuntu - Added by saen acro about 6 years ago

result of

dmesg | egrep "dvb|frontend|firmware" 

RE: Install TBS 5880 drivers in ubuntu - Added by Carsten Johansson about 6 years ago

konto@tvsrv:~$ dmesg | egrep "dvb|frontend|firmware"
[ 4.953084] dvb-usb: found a 'TBS 5880 CI USB2.0' in cold state, will try to load a firmware
[ 4.954107] usb 3-4: Direct firmware load for dvb-usb-tbsqbox-id5880.fw failed with error -2
[ 4.954110] dvb-usb: did not find the firmware file. (dvb-usb-tbsqbox-id5880.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
[ 5.001730] iwlwifi 0000:24:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm

RE: Install TBS 5880 drivers in ubuntu - Added by Carsten Johansson about 6 years ago

yes Everything works. thanks alot :)

    (1-7/7)