Page 1 of 1

TBS5922 qbox on Linux 18.04

PostPosted: Mon Oct 01, 2018 3:06 pm
by mythtv
I am hoping someone can help me....

I am trying to install the drivers for the 5922 and 5922SE usb boxes onto Xubuntu 18.04. I have previously had both running on 14.04, but the install now fails with the following message:

make[2]: Entering directory '/usr/src/linux-headers-4.15.0-34-generic'
CC [M] /root/tbs/linux-tbs-drivers/v4l/saa7146_video.o
/root/tbs/linux-tbs-drivers/v4l/saa7146_video.c: In function 'video_init':
/root/tbs/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
/root/tbs/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;
^
/root/tbs/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 '/root/tbs/linux-tbs-drivers/v4l/saa7146_video.o' failed
make[3]: *** [/root/tbs/linux-tbs-drivers/v4l/saa7146_video.o] Error 1
Makefile:1552: recipe for target '_module_/root/tbs/linux-tbs-drivers/v4l' failed
make[2]: *** [_module_/root/tbs/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-34-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/root/tbs/linux-tbs-drivers/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
rob@myth:/root/tbs/linux-tbs-drivers$

Kernal veresion: rob@myth:/root/tbs/linux-tbs-drivers$ uname -r
4.15.0-34-generic

Driver version 170330

Thanks, Rob

Re: TBS5922 qbox on Linux 18.04

PostPosted: Tue Oct 16, 2018 3:06 pm
by steven
Hi

Please try our latest open source driver :
[url]https://github.com/tbsdtv/linux_media/wiki
[/url]
or this open source offline package :
#wget http://www.tbsdtv.com/download/document ... 22.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2018-0822.tar.bz2
#cd media_build
#./install.sh
#reboot


Thanks

Kind Regards

steven

Re: TBS5922 qbox on Linux 18.04

PostPosted: Sun Dec 30, 2018 6:39 am
by starsurfer
Hey Steven that worked for me thank you very much.