Giter Site home page Giter Site logo

tbs5520-1's Introduction

tbs5520 patch

This is a patch for Turbosight TBS5520 USB2 DVB-T/T2/C/S/S2 device (Rafael Micro r848 tuner). It should be considered Beta quality. This patch should be applied right after rtl2832 or you may need to adjust Kconfig and Makefile to be able to build it. It has been applied against kernel version 3.4.103 and armbian legacy kernel 3.4.111. The driver should work on A10 / A20 / H3 devices.

Applying the patch (diff patch)

  • clone this repo git clone https://github.com/avafinger/tbs5520.git

  • move the tbs5520.patch to: linux-sunxi (a10/a20) or h3-wip (H3)

  • run: patch -p1 < ./tbs5520.patch patching file drivers/media/common/tuners/r848.c patching file drivers/media/common/tuners/r848.h patching file drivers/media/common/tuners/r848_priv.h patching file drivers/media/dvb/dvb-usb/Kconfig patching file drivers/media/dvb/dvb-usb/Makefile patching file drivers/media/dvb/dvb-usb/tbs5520.c patching file drivers/media/dvb/dvb-usb/tbs5520.h patching file drivers/media/dvb/frontends/avl6882.c patching file drivers/media/dvb/frontends/avl6882.h patching file drivers/media/dvb/frontends/avl6882_priv.h patching file drivers/media/dvb/frontends/AVL_Demod_Patch_DVBCFw_.h patching file drivers/media/dvb/frontends/AVL_Demod_Patch_DVBSxFw_.h patching file drivers/media/dvb/frontends/AVL_Demod_Patch_DVBTxFw_.h

  • remove the patch rm ./tbs5520.patch

  • config the kernel enter menuconfig and set support for DVB_USB_TBS5520 or edit .config and manually add CONFIG_DVB_USB_TBS5520

  • rebuild the kernel If everything is OK and you get a kernel image , this patch did not break anything! :)

  • reboot and plug in your device, and check dmesg

  • if you build the driver as a module you should load the module: modprobe dvb_usb_tbs5520 or add it to /etc/modules

  • Firmware You should copy/move the firmware to the correct location: /lib/firmware/ cp dvb-usb-tbs5520.fw /lib/firmware/

Credits: @cnxsoft - Firmware for the TBS5520

tbs5520-1's People

Contributors

avafinger avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.