linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Thomas Mair <thomas.mair86@googlemail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: RTL28XX driver
Date: Fri, 06 Apr 2012 12:36:46 +0300	[thread overview]
Message-ID: <4F7EB92E.3050902@iki.fi> (raw)
In-Reply-To: <CAKZ=SG-pmn2BtqB+ihY9H9bvYCZq-E3uBsSaioPF5SRceq9iDg@mail.gmail.com>

On 06.04.2012 12:11, Thomas Mair wrote:
> i own a TerraTec Cinergy T Stick Black device, and was able to find a
> working driver for the device. It seems to be, that the driver was
> originally written by Realtek and has since been updated by different
> Developers to meet DVB API changes. I was wondering what would be the
> necessary steps to include the driver into the kernel sources?
>
> The one thing that needs to be solved before even thinking about the
> integration, is the licencing of the code. I did find it on two
> different locations, but without any licencing information. So
> probably Realtek should be contacted. I am willing to deal with that,
> but need furter information on under whitch lisence the code has to be
> relased.
>
> So far, I put up a Github repository for the driver, which enables me
> to compile the proper kernel modue at
> https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0
> The modificatioins to the driver where taken from openpli
> http://openpli.git.sourceforge.net/git/gitweb.cgi?p=openpli/openembedded;a=blob;f=recipes/linux/linux-etxx00/dvb-usb-rtl2832.patch;h=063114c8ce4a2dbcf8c8dde1b4ab4f8e329a2afa;hb=HEAD
>
> In the driver sources I stumbled accross many different devices
> containig the RTL28XX chipset, so I suppose the driver would enably
> quite many products to work.
>
> As I am relatively new to the developement of dvb drivers I appreciate
> any help in stabilizing the driver and proper integration into the dvb
> API.

Biggest problem here is missing demodulator driver. RTL2832U chip 
integrates demod called RTL2832. DVB USB device contains logically three 
entity: USB-interface, demodulator and tuner. All those needs own Kernel 
driver. In case of RTL2832U there is already RTL28XXU USB -interface 
driver ready as I did it for RTL2831U. Those two chips uses basically 
same USB -interface but demodulator is different. During the RTL2831U 
development I also ran RTL2832U device using same USB -interface driver 
so I know it works.

So look example from RTL2831U (which is Kernel modules: dvb_usb_rtl28xxu 
and rtl2830) and try to implement new demod driver.

You will also need RF-tuner driver, which may or may not exists 
depending your device. There is a lot of existing tuner driver but 
unfortunately RTL2832U designs uses a lot of new tuners and thus no 
existing drivers for all.

There is no developer working for RTL2832U supports currently AFAIK.

regards
Antti
-- 
http://palosaari.fi/

  reply	other threads:[~2012-04-06  9:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-06  9:11 RTL28XX driver Thomas Mair
2012-04-06  9:36 ` Antti Palosaari [this message]
2012-04-07  7:25 ` poma
2012-04-07 14:19 ` Gianluca Gennari
2012-04-09 12:02   ` Thomas Mair
2012-04-09 15:09     ` Gianluca Gennari
2012-04-11 19:12     ` Antti Palosaari
2012-04-11 21:33       ` Oliver Schinagl
2012-04-11 21:57         ` Antti Palosaari
2012-04-12 12:11           ` Oliver Schinagl
2012-04-12 12:18             ` Thomas Mair
2012-04-12 12:43               ` Oliver Schinagl
2012-04-12 12:54                 ` Thomas Mair
2012-04-12 13:12                   ` Antti Palosaari
2012-04-18 17:18                     ` Thomas Mair
2012-04-18 17:44                       ` Antti Palosaari
2012-04-18 18:20                         ` Thomas Mair
2012-04-18 18:35                           ` Antti Palosaari
2012-04-18 20:00                             ` Antti Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7EB92E.3050902@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=thomas.mair86@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).