Installing Terratec Cinergy T Stick Dual RC Rev2 on Fedora 18

This one was a bit tricky and took me some time. You do need latest kernel. Here, I am only talking about revision 2 of this stick. These are not valid for revision one. Both revisions share the same USB PID. Basically, I am removing the af9015 firmware of revision one, taking the firmware of the revision 2 chipset and changing the PID of the firmware to match the stick. Here are the steps. Enjoy.

yum update                                                          # You must run it with the latest kernels. Earlier ones do not work
yum install binutils wget unzip
reboot                                                                   # Boot into the latest kernel
mv /lib/modules/`uname -r`/kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-af* /root             # remove conflicting modules
cp /lib/modules/`uname -r`/kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-it913x.ko /root    # backup original file
cd /lib/modules/`uname -r`/kernel/drivers/media/usb/dvb-usb-v2/
sed -i 's/\x8d\x04\x35\x91/\xcd\x0c\x99\x00/g' dvb-usb-it913x.ko                                        # hack module to accept USB PID of Cinergy
objcopy -R dvb-usb-it913x.ko dvb-usb-it913x.ko                                                                   # remove signature

cd                                                                         # go to directory of downloaded firmware/home directory
wget http://www.ite.com.tw/uploads/firmware/v3.6.0.0/dvb-usb-it9135.zip
unzip dvb-usb-it9135.zip                                                                                                        # unzip IT9135 firmware
dd if=dvb-usb-it9135.fw ibs=1 skip=64 count=8128 of=dvb-usb-it9135-01.fw                    # extract firmware
dd if=dvb-usb-it9135.fw ibs=1 skip=12866 count=5817 of=dvb-usb-it9135-02.fw              # extract firmware
cp dvb-usb-it9135-01.fw /lib/firmware/                                                                                 # copy firmware to firmware directory
cp dvb-usb-it9135-02.fw /lib/firmware/                                                                                 # copy firmware to firmware directory

vi /etc/modules-load.d/tv.conf # add the line saying "dvb_usb_it913x" here

Maybe reboot if the /dev/dvb directory is not showing up.