Project

General

Profile

[solved] How to install and uninstall driver for Geniatech T230C dvb-t usb stick

Added by Rai Moed about 7 years ago

Hello forum

I would like to perform some basic testings with my new DVB-receiver Geniatech T230C using my laptop.

My System is Linux Mint 18.1 Serena 64-bit, Kernel Linux 4.4.0-92-generic x86_64.

My new USB device:

$ dmesg
[ 4581.399439] usb 1-1.2: new high-speed USB device number 10 using ehci-pci
[ 4581.492587] usb 1-1.2: New USB device found, idVendor=0572, idProduct=c689
[ 4581.492597] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4581.492602] usb 1-1.2: Product: EyeTV Stick
[ 4581.492606] usb 1-1.2: Manufacturer: Geniatech
[ 4581.492610] usb 1-1.2: SerialNumber: 160421

According to https://www.linuxtv.org/wiki/index.php/Geniatech_T230C I need
the driver dvb_usb_cxusb
and firmware dvb-demod-si2168-d60-01.fw and dvb-tuner-si2141-a10-01.fw

I followed the instruction of http://m.apt.tvheadend.org/boards/5/topics/10864?r=22723#message-22723
and I managed to compile without errors (/)

When I check the result, it appears that ~2000 drivers have been generated and will be installed when I execute make install (have not done so far).

As the installation is just a test of one usb device, I would like to limit the impact to my laptop to the necessary degree - maybe only 1 driver and 2 files for firmware are necessary at the end?

So I tried this:
I copied the mentioned driver dvb-usb-cxusb.ko into this directory:

sudo cp media_build/v4l/dvb-usb-cxusb.ko /lib/modules/4.4.0-92-generic/kernel/drivers/media/dvb/dvb-usb/

Next I put the firmware dvb-demod-si2168-d60-01.fw and dvb-tuner-si2141-a10-01.fw into /lib/firmware

Finally I rebooted the system and then I plug in the usb stick.

But still, the driver is not loaded.

dmesg (still the same as above):
[11746.093924] usb 1-1.2: new high-speed USB device number 11 using ehci-pci
[11746.187582] usb 1-1.2: New USB device found, idVendor=0572, idProduct=c689
[11746.187592] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[11746.187597] usb 1-1.2: Product: EyeTV Stick
[11746.187601] usb 1-1.2: Manufacturer: Geniatech
[11746.187605] usb 1-1.2: SerialNumber: 160421

and no kernel module dvb_usb_cxusb is loaded either

But I can load dvb_usb_cxusb manually

sudo modprobe dvb_usb_cxusb

then I see it

$ lsmod
Module                  Size  Used by
dvb_usb_cxusb          77824  0
dib0070                20480  1 dvb_usb_cxusb
dvb_usb                24576  1 dvb_usb_cxusb
dvb_core              122880  1 dvb_usb
rc_core                28672  1 dvb_usb
bnep                   20480  2
ctr                    16384  3
ccm                    20480  3
[...]

but still, when I plug out/in my DVB-stick, dmesg still shows the same an tvheadend does not show any TV adapters.

What am I doing wrong or what am I missing?

Alternatively, I may continue with make intstall maybe this brings my dvb stick to live.

But if so, I would like to uninstall all 2000 drivers, when I have finished my tests. Can this be done with make unistall or can I uninstall/delete all dvb drivers manually?

Thanks for any support and best regards

Serastro


Replies (3)

RE: How to install and uninstall driver for Geniatech T230C dvb-t usb stick - Added by saen acro about 7 years ago

This is a problem of developers who decide to destroy all media tree for his device.

I can believe that is so hard, to make only module for device with is corresponding to be build,
with correct script. small footstep is also positive.

About starting,
is module is in /etc/modules-load.d/ rules

RE: How to install and uninstall driver for Geniatech T230C dvb-t usb stick - Added by Rai Moed about 7 years ago

So I decided to continue with sudo make install.
Before, I created a backup of my modules, so I can restore them later


sudo cp -R /lib/modules/4.4.0-92-generic /lib/modules/4.4.0-92-generic_backup

Then I performed

sudo make install

which passed though without errors. Then I rebooted and now, the dvb stick is recognized, when I plug it in :) :

dmesg
[...]
[  200.316756] usb 1-1.2: new high-speed USB device number 7 using ehci-pci
[  200.410281] usb 1-1.2: New USB device found, idVendor=0572, idProduct=c689
[  200.410291] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  200.410296] usb 1-1.2: Product: EyeTV Stick
[  200.410300] usb 1-1.2: Manufacturer: Geniatech
[  200.410304] usb 1-1.2: SerialNumber: 160421
[  201.543905] WARNING: You are using an experimental version of the media stack.
                   As the driver is backported to an older kernel, it doesn't offer
                   enough quality for its usage in production.
                   Use it with care.
               Latest git patches (needed if you report a bug to [email protected]):
                   9ed7c4fd3e6f6270f1a2f28edc0ed632b77637d0 cx23885: Load A/V decoder for DVB cards if IR RC enabled.
                   77905032ba459c568ea2712e1136564df3def6c1 saa716x: Fix compatibility for old kernels.
                   9a0615a4def8695578499dd4a8d3c53ec0743d2f TBS 5580 support.
[  201.562461] WARNING: You are using an experimental version of the media stack.
                   As the driver is backported to an older kernel, it doesn't offer
                   enough quality for its usage in production.
                   Use it with care.
               Latest git patches (needed if you report a bug to [email protected]):
                   9ed7c4fd3e6f6270f1a2f28edc0ed632b77637d0 cx23885: Load A/V decoder for DVB cards if IR RC enabled.
                   77905032ba459c568ea2712e1136564df3def6c1 saa716x: Fix compatibility for old kernels.
                   9a0615a4def8695578499dd4a8d3c53ec0743d2f TBS 5580 support.
[  201.602684] dvb-usb: found a 'Mygica T230C DVB-T/T2/C' in warm state.
[  201.836429] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[  201.836740] dvbdev: DVB: registering new adapter (Mygica T230C DVB-T/T2/C)
[  201.836760] usb 1-1.2: media controller created
[  201.837984] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[  201.892162] i2c i2c-16: Added multiplexed i2c bus 17
[  201.892170] si2168 16-0064: Silicon Labs Si2168-D60 successfully identified
[  201.892174] si2168 16-0064: firmware version: D 6.0.1
[  201.922887] si2157 17-0060: Silicon Labs Si2141 successfully attached
[  201.922910] usb 1-1.2: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
[  201.922921] dvbdev: dvb_create_media_entity: media entity 'Silicon Labs Si2168' registered.
[  201.959972] si2168 16-0064: downloading firmware from file 'dvb-demod-si2168-d60-01.fw'
[  201.963898] Registered IR keymap rc-total-media-in-hand-02
[  201.963978] rc rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/rc/rc0
[  201.964040] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/rc/rc0/input15
[  201.964165] dvb-usb: schedule remote query interval to 100 msecs.
[  201.964170] dvb-usb: Mygica T230C DVB-T/T2/C successfully initialized and connected.
[  201.964214] usbcore: registered new interface driver dvb_usb_cxusb
[  202.392257] si2168 16-0064: firmware version: D 6.0.2
[  202.416772] si2157 17-0060: found a 'Silicon Labs Si2141-A10'
[  202.417236] si2157 17-0060: downloading firmware from file 'dvb-tuner-si2141-a10-01.fw'
[  202.949133] si2157 17-0060: firmware version: 1.1.10
[  202.949240] usb 1-1.2: DVB: adapter 0 frontend 0 frequency 0 out of range (42000000..870000000)

Conclusion (private opinion):
Installation is a complex process which does more than just copying 1 module file...

Serastro

RE: [solved] How to install and uninstall driver for Geniatech T230C dvb-t usb stick - Added by saen acro about 7 years ago

just use commands from Makefile and situation will be simple wit copy files only

    (1-3/3)