Sunday, November 10, 2013

Geniatech DVB-T2 Stick T220 for Raspbian

Linux kernel 3.14 and later is support Geniatech DVB-T2 Stick T220 Driver.

Current version of Raspbian support it.

Raspberry PI kernel source code

Below for old kernel.

I try to find driver for Geniatech DVB-T2 Stick T220 on Raspbian.
On product website. It's not have driver for linux.
I found driver on this website.
Source Driver from CrazyCat
I test compile and install modules.
Now It's work for me.

And I try change some code on file dw2102.c for raspberry pi kernel code for t220 driver.
Raspberry PI Kernel source and recompile for test it.
Now It's work for me.
I upload source code and kernel module for this developer and product user on below link.

T220 Driver Kernel Module (New) (Update 2013/11/08)
How to install driver new module (I compile on kernel 3.6.11)
  1. backup original driver (/lib/modules/3.6.11+/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dw2102.ko)
  2. backup original driver (/lib/modules/3.6.11+/kernel/drivers/media/dvb/frontends/cxd2820r.ko)
  3. backup original driver (/lib/modules/3.6.11+/kernel/drivers/media/common/tuners/tda18271.ko) 
  4. extract (I will found cxd2820r.ko, tda18271.ko and dvb-usb-dw2102.ko)
  5. sudo rm -f /lib/modules/3.6.11+/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dw2102.ko 
  6. sudo rm -f /lib/modules/3.6.11+/kernel/drivers/media/dvb/frontends/cxd2820r.ko 
  7. sudo rm -f /lib/modules/3.6.11+/kernel/drivers/media/common/tuners/tda18271.ko 
  8. sudo install -c -D -m 644 -c dvb-usb-dw2102.ko /lib/modules/3.6.11+/kernel/drivers/media/dvb/dvb-usb/ 
  9. sudo install -c -D -m 644 -c cxd2820r.ko /lib/modules/3.6.11+/kernel/drivers/media/dvb/frontends/ 
  10. sudo install -c -D -m 644 -c tda18271.ko /lib/modules/3.6.11+/kernel/drivers/media/common/tuners/ 
  11. sudo /sbin/depmod -a
T220 Driver Kernel Module (Old)
How to install driver module (I compile on kernel 3.6.11)
  1. backup original driver (/lib/modules/3.6.11+/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dw2102.ko) 
  2. extract (I will found dw2102.c and dvb-usb-dw2102.ko) 
  3. sudo rm -f /lib/modules/3.6.11+/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dw2102.ko 
  4. sudo install -c -D -m 644 -c dvb-usb-dw2102.ko /lib/modules/3.6.11+/kernel/drivers/media/dvb/dvb-usb/ 
  5. sudo /sbin/depmod -a
Now it's complete for install module.
For compile kernel module replace dw2102.c replace on <kernel path>/drivers/media/dvb/dvb-usb/dw2102.c

No comments:

Post a Comment