Geniatech T230C2: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(Created page with "=Device Information= Device identifies as idVendor=0572, idProduct=c68a: <pre> # journalctl -xb kernel: usb 1-1.3: new high-speed USB device number 4 using dwc_otg kernel: us...")
 
 
(5 intermediate revisions by 3 users not shown)
Line 14: Line 14:
=Building the driver and firmware=
=Building the driver and firmware=


Drivers are mainlined [https://github.com/torvalds/linux/commit/66193b24514c91aeda88da744554b2665471aeae as of kernel 5.4]. They can be built with [[How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Retrieving_and_Building.2FCompiling_the_Latest_V4L-DVB_Source_Code|media_build]] for older kernels.
Compile drivers (tested on raspbian lite). Please note, compilation will take '''a while'''.
<pre>
apt-get install git patchutils libdigest-sha-perl libproc-processtable-perl raspberrypi-kernel-headers linux-source
git clone https://bitbucket.org/CrazyCat/media_build.git
cd media_build
./build --git https://github.com/crazycat69/linux_media latest
sudo make install
reboot
</pre>


The driver was previously provided by module dvb-usb-cxusb (from [https://bitbucket.org/CrazyCat/media_build.git CrazyCat repository]), this is now replaced by dvb-usb-dvbsky in both the mainline kernel and the official media_build. CrazyCat repo no longer works as of Debian 10, but users of older distros might have luck with it as a backup option.
Check if driver supports you device. In our case we are looking for "usb:v0572pC68Ad":
<pre>
# modinfo dvb_usb_cxusb
filename: /lib/modules/4.9.59-v7+/kernel/drivers/media/usb/dvb-usb/dvb-usb-cxusb.ko
license: GPL
version: 1.0-alpha
description: Driver for Conexant USB2.0 hybrid reference design
author: Chris Pascoe <c.pascoe@itee.uq.edu.au>
author: Michael Krufky <mkrufky@linuxtv.org>
author: Patrick Boettcher <patrick.boettcher@posteo.de>
srcversion: 533BB7E5866E52F63B9ACCB
alias: usb:v0572pC699d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1F4DpD233d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1F4DpD232d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1F4DpD231d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1F4DpD230d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0572pC68Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0572pC689d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0572pC688d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0572pD811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0572p86D6d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB98d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07CApA868d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB71d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB70d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB78d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB59d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB58d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB55d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB54d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB11d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB10d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB01d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB00d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB51d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pDB50d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pD501d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0FE9pD500d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1660p0932d*dc*dsc*dp*ic*isc*ip*in*
depends: dvb-usb,dib0070,rc-core
vermagic: 4.9.59-v7+ SMP mod_unload modversions ARMv7 p2v8
parm: debug:set debugging level (1=rc (or-able)). (int)
parm: adapter_nr:DVB adapter numbers (array of short)
</pre>

Check if firmware loaded:
<pre>
# dmesg | grep dvb
[ 4.599944] dvb-usb: found a 'Mygica T230C2 DVB-T/T2/C' in warm state.
[ 4.864536] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 4.865442] dvbdev: DVB: registering new adapter (Mygica T230C2 DVB-T/T2/C)
[ 4.879389] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 4.961539] dvbdev: dvb_create_media_entity: media entity 'Silicon Labs Si2168' registered.
[ 5.044616] rc rc0: lirc_dev: driver dvb_usb_cxusb registered at minor = 0
[ 5.044628] dvb-usb: schedule remote query interval to 100 msecs.
[ 5.050642] dvb-usb: Mygica T230C2 DVB-T/T2/C successfully initialized and connected.
[ 5.050853] usbcore: registered new interface driver dvb_usb_cxusb
[ 6.975840] si2168 3-0064: downloading firmware from file 'dvb-demod-si2168-d60-01.fw'
[ 7.387399] si2157 4-0060: downloading firmware from file 'dvb-tuner-si2141-a10-01.fw'
</pre>


=Install a TV streaming server=
=Install a TV streaming server=
Line 90: Line 23:


'''Please note, If tvheadend is not able to find any DVBT-2 channel check if muxes frequencies matches information from your DVB-T2 provider.'''
'''Please note, If tvheadend is not able to find any DVBT-2 channel check if muxes frequencies matches information from your DVB-T2 provider.'''
Also check that LNA (low noise amplifier) option is enabled on the adaptor in tvheadend settings.


[[Category:DVB-T USB Devices]]
[[Category:DVB-T USB Devices]]

Latest revision as of 15:57, 7 January 2020

Device Information

Device identifies as idVendor=0572, idProduct=c68a:

# journalctl -xb
kernel: usb 1-1.3: new high-speed USB device number 4 using dwc_otg
kernel: usb 1-1.3: New USB device found, idVendor=0572, idProduct=c68a
kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 1-1.3: Product: EyeTV Stick
kernel: usb 1-1.3: Manufacturer: Geniatech
kernel: usb 1-1.3: SerialNumber: 161206

Building the driver and firmware

Drivers are mainlined as of kernel 5.4. They can be built with media_build for older kernels.

The driver was previously provided by module dvb-usb-cxusb (from CrazyCat repository), this is now replaced by dvb-usb-dvbsky in both the mainline kernel and the official media_build. CrazyCat repo no longer works as of Debian 10, but users of older distros might have luck with it as a backup option.

Install a TV streaming server

Next install tvheadend or other streaming server.

Please note, If tvheadend is not able to find any DVBT-2 channel check if muxes frequencies matches information from your DVB-T2 provider. Also check that LNA (low noise amplifier) option is enabled on the adaptor in tvheadend settings.