linux:v4l:realtek:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:v4l:realtek:start [2011/01/18 17:41] – [Intro] ~ added licence link stybla | linux:v4l:realtek:start [2016/04/17 01:39] (current) – Use WRAP plugin stybla | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== V4L Realtek driver ====== | ||
+ | Source for this section: | ||
+ | * How-to Lifeview LV5TDLX " | ||
+ | * 2010/Mar/08 @ Zdenek Styblik < stybla /at\ nospam.turnovfree \dot/ net > | ||
+ | * http:// | ||
+ | |||
+ | |||
+ | ===== Intro ===== | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | I think this how-to is deprecated now as RTL283x has in-kernel support for some time now. | ||
+ | I'm no longer using DVB-T, so I can't help. But I'm sure there are other how-to out there. | ||
+ | Also, I believe things rather work out of box nowadays. | ||
+ | </ | ||
+ | |||
+ | |||
+ | This section is about how-to make DVB-T USB sticks based on RTL2832U chip working under GNU/ | ||
+ | There is not much to it as you're going to see. | ||
+ | |||
+ | First of all, let me say thanks to member of Croatian Ubuntu community which goes | ||
+ | under nickname ' | ||
+ | which speed up the process. I've also used couple forums to gather | ||
+ | information and references can be found at the end of this document. | ||
+ | |||
+ | I also thank to people whom contacted me regarding this chipset. | ||
+ | I'm somewhat sorry I couldn' | ||
+ | to be somewhat useful, I put here. | ||
+ | |||
+ | I don't know why Realtek doesn' | ||
+ | it's because [[licence|licensing]] - what else could it be. If you read about kernel development from time to time, | ||
+ | you surely can imagine why. I'm not going to write down any theories here. Anyway, it's probably good | ||
+ | idea to contact Realtek about newer driver version from time to time. | ||
+ | What I've heard so far, their approach is great and they' | ||
+ | which I've been glad to hear. It also seems that Realtek is willing to put some work | ||
+ | to not only improve their GNU/Linux driver, but get it into V4L. I wish them good speed! | ||
+ | |||
+ | <WRAP center round tip 60%> | ||
+ | Please, note I'm no developer of presented driver. I've just | ||
+ | put together this small and humble how-to. Developer of this driver | ||
+ | is, and always has been, Realtek or somebody close to it. | ||
+ | |||
+ | I should be glad and happy for being given credit, but I'm not. | ||
+ | Credit belongs to other people and should be given to them. The only credit I' | ||
+ | willing to take is for this how-to :-) | ||
+ | |||
+ | I'm happy though this how-to is useful to some of you and I want to say thank you | ||
+ | all for your responses. | ||
+ | |||
+ | --- // | ||
+ | </ | ||
+ | |||
+ | ===== Hardware ===== | ||
+ | * [[conceptronic-ctvdigusb2|Conceptronic CTVDIGUSB2 USB 2.0 Digital TV Receiver]] | ||
+ | * [[digitalnow-quad-dvbt|DigitalNow Quad DVB-T receiver]] | ||
+ | * [[genius-tvgo-dvb-t03|Genius TVGo DVB-T03]] | ||
+ | * [[gigabyte-u7300-usb-dvb-t-tuner|Gigabyte U7300 USB DVB-T tuner]] | ||
+ | * [[lifeview-lv5tdlx|LifeView LV5TDLX]] | ||
+ | * [[msi-digivox-microhd|MSI DIGIVOX Micro HD]] | ||
+ | * [[nilox-dvb-t_stick_n15|NILOX DVB-T Stick N15]] | ||
+ | * [[terratec-cinergy-tstick|Terratec Cinergy T Stick]] | ||
+ | |||
+ | ==== Bits about hardware ==== | ||
+ | |||
+ | These links were sent to me by //poma// | ||
+ | |||
+ | === Afatech AF9015 & MaxLinear MXL5007T dual tuner === | ||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | === Realtek RTL2832U & Fitipower FC0012 === | ||
+ | * http:// | ||
+ | ===== Download ===== | ||
+ | |||
+ | All files mentioned here can be downloaded at http:// | ||
+ | |||
+ | **Latest known version of driver:** 2011-06-14 | ||
+ | |||
+ | Newer versions of drivers are courtesy of Realtek. | ||
+ | |||
+ | ==== kernel 2.8.38 ==== | ||
+ | |||
+ | |||
+ | |||
+ | I had issues installing driver above on this version of kernel, so i wrote to realtek and they | ||
+ | sent me driver here it is [[http:// | ||
+ | just unpack with tar -xvzf name_of_archive and follow instructions in README, have a nice day | ||
+ | ===== Installation ===== | ||
+ | |||
+ | Let's do it. First of all, forget all perpetuated, | ||
+ | how-to' | ||
+ | version 1.1 do not work. You get devices / | ||
+ | yeah, but that's all. They are blind and they do not work. | ||
+ | |||
+ | Version 1.4.2+ fixes it. | ||
+ | |||
+ | **NOTE:** you **have to** substitute correct version of driver. It | ||
+ | would be tedious to update instructions every time driver gets a new | ||
+ | version. | ||
+ | |||
+ | ==== All cards with same chipset ==== | ||
+ | - unpack ' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | - **'' | ||
+ | - There are two ways to do this: | ||
+ | - | ||
+ | * **'' | ||
+ | * in **'' | ||
+ | *< | ||
+ | Multimedia support -> | ||
+ | DVB/ATSC adapters -> | ||
+ | <M> Support for various USB DVB devices | ||
+ | < | ||
+ | </ | ||
+ | * then **''# | ||
+ | - this also should be sufficient: **''# | ||
+ | - Reboot, although this must not be necessary. You can try to **''# | ||
+ | - And enjoy. To my knowledge there is no extra firmware needed. | ||
+ | |||
+ | < | ||
+ | % lsmod | grep dvb | ||
+ | dvb_usb_rtl2832u | ||
+ | dvb_usb | ||
+ | dvb_core | ||
+ | </ | ||
+ | |||
+ | There should be two adapters per stick in ''/ | ||
+ | The first one (adapter0) is DVB-T tuner and the second one is | ||
+ | (probably) DAB (radio) tuner. | ||
+ | |||
+ | |||
+ | ==== Many cards, different chipsets ==== | ||
+ | |||
+ | -> merge with v4l-dvb | ||
+ | |||
+ | You have to extract modified or specific RTL files and copy them | ||
+ | into your favourite ' | ||
+ | this: | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | for FILE in `find ../ | ||
+ | -printf " | ||
+ | FILENEW=`echo ${FILE} | \ | ||
+ | sed ' | ||
+ | echo $FILENEW | ||
+ | cp -i ${FILE} ./ | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | It has its limits. You could use '' | ||
+ | May be even mercurial itself it could be used, but I'm not familiar | ||
+ | with it. | ||
+ | |||
+ | I've found only two differences - Kconfig and Makefile. | ||
+ | |||
+ | The rest is same as in the beginning. Pick the cards, compile stuff, | ||
+ | works :) | ||
+ | |||
+ | |||
+ | ==== Tips ==== | ||
+ | |||
+ | |||
+ | === Kernel panics at 64bits === | ||
+ | Pavel Moravec has sent a patch which should address kernel panics at 64bit | ||
+ | machines. It can be found in ' | ||
+ | |||
+ | This **patch is not necessary for v2.0.1**. | ||
+ | |||
+ | |||
+ | === Newer kernels === | ||
+ | D.Palamarchuk -[A|T]- seznam.cz suggested it's required to | ||
+ | modify ' | ||
+ | newer kernels (in his case, 2.6.31). | ||
+ | |||
+ | **Note:** Actually, the problem is elsewhere. Go to Linux Kernel dir eg. ''/ | ||
+ | Kernel headers(?) are not present in ''/ | ||
+ | |||
+ | < | ||
+ | #if LINUX_VERSION_CODE == KERNEL_VERSION(2, | ||
+ | dvb_class-> | ||
+ | #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, | ||
+ | dvb_class-> | ||
+ | #endif | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Other DVB-T Sticks === | ||
+ | fermio.kll -[A|T]- hotmail.com suggested it's possible to use this | ||
+ | driver with other [unknown] DVD-T sticks. All is required is to | ||
+ | change identificator in code " | ||
+ | Kernel version is unknown. | ||
+ | |||
+ | |||
+ | ===== Contribute ===== | ||
+ | |||
+ | |||
+ | ==== This wiki ==== | ||
+ | |||
+ | To edit these pages use ' | ||
+ | |||
+ | |||
+ | ==== Contacting Realtek ==== | ||
+ | |||
+ | Don't be afraid to do so. However, keep in mind that RLT283x is not the only one thing going on in this world, thus Realtek' | ||
+ | |||
+ | If everything else fails, contact the maker. | ||
+ | |||
+ | If you have patches, that's where they should have be sent. | ||
+ | |||
+ | |||
+ | ==== Mailing lists ==== | ||
+ | |||
+ | RTL2832U support discussion on: | ||
+ | http:// | ||
+ | |||
+ | archived on: | ||
+ | http:// | ||
+ | ===== Original readme changelog ===== | ||
+ | This is kept only for historical reasons and reference | ||
+ | |||
+ | * 2010/Nov/15 @ Zdenek Styblik | ||
+ | * update - Genius TVGo DVB-T03 info | ||
+ | * 2010/Nov/12 @ Realtek | ||
+ | * added - new version; version is v2.0.1 now | ||
+ | * 2010/Nov/12 @ Zdenek Styblik | ||
+ | * added - outdoor antenna results | ||
+ | * added - LV5TDLX has new HW revision | ||
+ | * added - patch from Pavel Moravec for v1.4.2 and kernel panics | ||
+ | * added - Genius TVGo DVB-T03 works with v1.4.2, reported by Petr Jakubec | ||
+ | * 2010/Oct/27 @ Zdenek Styblik | ||
+ | * added - patch for DigitalNow Quad DVB-T Receiver from Alan Forbes | ||
+ | * 2010/Jul/13 @ Zdenek Styblik | ||
+ | * added - patch for RTL2838, Terratec Cinergy T Black | ||
+ | * 2010/Apr/18 @ Zdenek Styblik | ||
+ | * added - tips section | ||
+ | * edited - foreword | ||
+ | * 2010/Mar/21 @ Zdenek Styblik | ||
+ | * added - merging with different branch | ||
+ | * 2010/Mar/11 @ Zdenek Styblik | ||
+ | * fixed - RTL2831 driver instead of RTL2832U | ||
+ | |||
+ | ===== References ===== | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// |