Moderator Control Panel ]

rc_register_device problems when plugging in TBS5220

rc_register_device problems when plugging in TBS5220

Postby theallan » Fri Feb 27, 2015 3:33 pm

Hi,

I'm having problems running a new TBS5220 stick under Ubuntu 14.04. I've followed the [install guide here] (http://www.tbsdtv.com/forum/viewtopic.php?f=145&t=9316) and the instructions from the readme (it looks like the installation process has changed a little since that forum post was created).

The `make ; make install` appears to run correctly but then when I plug the stick in I get the following in dmesg:

[ 3473.748101] usb 1-4: new high-speed USB device number 10 using ehci-pci
[ 3473.880413] usb 1-4: New USB device found, idVendor=734c, idProduct=5220
[ 3473.880422] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3473.955354] dvb_usb: disagrees about version of symbol rc_register_device
[ 3473.955364] dvb_usb: Unknown symbol rc_register_device (err -22)
[ 3473.955415] dvb_usb: disagrees about version of symbol rc_free_device
[ 3473.955420] dvb_usb: Unknown symbol rc_free_device (err -22)
[ 3473.955457] dvb_usb: disagrees about version of symbol rc_allocate_device
[ 3473.955461] dvb_usb: Unknown symbol rc_allocate_device (err -22)
[ 3473.955514] dvb_usb: disagrees about version of symbol rc_unregister_device
[ 3473.955519] dvb_usb: Unknown symbol rc_unregister_device (err -22)


I found this post (http://www.tbsdtv.com/forum/viewtopic.php?f=47&t=8195) and tried removing the kernel media drivers, but still get the same error.

uname -a:

Linux tv 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:37:48 UTC 2015 i686 i686 i686 GNU/Linux


lsusb:

Bus 001 Device 007: ID 05e3:0719 Genesys Logic, Inc. SATA adapter
Bus 001 Device 005: ID 05e3:0727 Genesys Logic, Inc. microSD Reader/Writer
Bus 001 Device 011: ID 734c:5220 TBS Technologies China
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 05ac:0205 Apple, Inc. Extended Keyboard [Mitsumi]
Bus 004 Device 002: ID 05ac:1002 Apple, Inc. Extended Keyboard Hub [Mitsumi]
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05a4:9881 Ortek Technology, Inc. IR receiver [VRC-1100 Vista MCE Remote Control]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Any suggestions on how to proceed are very welcome!

Thanks,
Allan
theallan
 
Posts: 4
Joined: Thu Feb 26, 2015 9:56 pm

Re: rc_register_device problems when plugging in TBS5220

Postby smile » Fri Feb 27, 2015 4:34 pm

Hi theallan
"Linux tv 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:37:48 UTC 2015 i686 i686 i686 GNU/Linux"
it is mean your system is 32 Bit.you used the wrong config.
In the Stage 6,you should use this config.
tar -jxvf linux-tbs-drivers.tar.bz2
cd linux-tbs-drivers
sudo su
./v4l/tbs-dvbc-x86_r3.sh (:)you set wrong here.)
make
make install

please try it again.

Thanks
Best Wishes
smile
 
Posts: 164
Joined: Sun Oct 09, 2011 9:51 am

Re: rc_register_device problems when plugging in TBS5220

Postby theallan » Fri Feb 27, 2015 5:39 pm

Hi,

Thanks for your quick reply. I had used the `tbs-x86.sh` script before...

So using `tbs-dvbc-x86_r3.sh` I now get the following (after doing a `make clean; make`):

CC [M] /home/tv/xxtmp/linux-tbs-drivers/v4l/cx25840-vbi.o
CC [M] /home/tv/xxtmp/linux-tbs-drivers/v4l/cx25840-ir.o
CC [M] /home/tv/xxtmp/linux-tbs-drivers/v4l/cx88-dvb.o
make[3]: *** No rule to make target `/home/tv/xxtmp/linux-tbs-drivers/v4l/tbs8921ctrl.o', needed by `/home/tv/xxtmp/linux-tbs-drivers/v4l/tda18271.o'. Stop.
make[2]: *** [_module_/home/tv/xxtmp/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-45-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/tv/xxtmp/linux-tbs-drivers/v4l'
make: *** [all] Error 2


Thanks,
Allan
theallan
 
Posts: 4
Joined: Thu Feb 26, 2015 9:56 pm

Re: rc_register_device problems when plugging in TBS5220

Postby smile » Sat Feb 28, 2015 9:26 am

Hi
Appear such mistakes,maybe you use "make clean",delete some useful files. It is easy to solve. you can download the new one.
then follow the steps below to install:
tar -jxvf linux-tbs-drivers.tar.bz2
cd linux-tbs-drivers
sudo su
./v4l/tbs-dvbc-x86_r3.sh
make
make install

please try it again.

Thanks
Best Wishes
smile
 
Posts: 164
Joined: Sun Oct 09, 2011 9:51 am

Re: rc_register_device problems when plugging in TBS5220

Postby theallan » Sun Mar 01, 2015 4:01 am

Hi,

Thanks for your reply - I've just done exactly that - same issue is the result.

Here is the exact command sequence I used:

$ wget http://tbsdtv.com/download/document/com ... 30.tar.bz2
$ bzip2 -d linux-tbs-drivers_150130.tar.bz2
$ tar -xf linux-tbs-drivers_150130.tar
$ cd linux-tbs-drivers
$ sudo su
$ ./v4l/tbs-dvbc-x86_r3.sh
$ make

....
CC [M] /home/tv/xxtmp/linux-tbs-drivers/v4l/cx25840-vbi.o
CC [M] /home/tv/xxtmp/linux-tbs-drivers/v4l/cx25840-ir.o
CC [M] /home/tv/xxtmp/linux-tbs-drivers/v4l/cx88-dvb.o
make[3]: *** No rule to make target `/home/tv/xxtmp/linux-tbs-drivers/v4l/tbs8921ctrl.o', needed by `/home/tv/xxtmp/linux-tbs-drivers/v4l/tda18271.o'. Stop.
make[2]: *** [_module_/home/tv/xxtmp/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-45-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/tv/xxtmp/linux-tbs-drivers/v4l'
make: *** [all] Error 2


I actually want DVB-T rather than DVB-C, so I tried `tbs-x86_r3.sh` with did compile successfully. But when I installed it and then inserted the USB stick, `dmesg` reported the same error as I gave before:

[ 5261.480083] usb 1-3: new high-speed USB device number 10 using ehci-pci
[ 5261.612467] usb 1-3: New USB device found, idVendor=734c, idProduct=5220
[ 5261.612476] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5261.630469] dvb_usb: disagrees about version of symbol rc_register_device
[ 5261.630481] dvb_usb: Unknown symbol rc_register_device (err -22)
[ 5261.630557] dvb_usb: disagrees about version of symbol rc_free_device
[ 5261.630565] dvb_usb: Unknown symbol rc_free_device (err -22)
[ 5261.630618] dvb_usb: disagrees about version of symbol rc_allocate_device
[ 5261.630625] dvb_usb: Unknown symbol rc_allocate_device (err -22)
[ 5261.630705] dvb_usb: disagrees about version of symbol rc_unregister_device
[ 5261.630713] dvb_usb: Unknown symbol rc_unregister_device (err -22)


Any ideas what I can do?

Allan
theallan
 
Posts: 4
Joined: Thu Feb 26, 2015 9:56 pm

Re: rc_register_device problems when plugging in TBS5220

Postby crazycat » Sun Mar 01, 2015 4:56 am

delete all kernel media drivers before install tbs linux driver:

Code: Select All Code
sudo rm -r -f /lib/modules/$(uname -r)/kernel/drivers/media
sudo make install
crazycat
 
Posts: 535
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: rc_register_device problems when plugging in TBS5220

Postby theallan » Sun Mar 01, 2015 3:59 pm

Okay - great, that appears to make a bit of progress. tanks. However, now in dmesg I get:

Code: Select All Code
[   18.580870] dvb-usb: found a 'TBS 5220 USB2.0' in cold state, will try to load a firmware
[   19.156203] dvb-usb: did not find the firmware file. (dvb-usb-tbsqbox-id5220.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)


I've done a `find /` for that file and it doesn't appear to be available anywhere on the file system. Should it have been built during the `make` or contained in the download somewhere?

Allan
theallan
 
Posts: 4
Joined: Thu Feb 26, 2015 9:56 pm

Re: rc_register_device problems when plugging in TBS5220

Postby crazycat » Mon Mar 02, 2015 5:45 am

Firmwares for usb devices in archive with drivers. Or take it from my repo dvb-usb-tbsqbox-id5220.fw

put to /lib/firmware/
crazycat
 
Posts: 535
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest