Re: RTL28XX driver

2012-04-18 Thread Thomas Mair
I have been working on the driver over the past days and been making some progress. Right now I am stuck with a small problem that I have no idea how to deal with. It seems that the fc0012 tuner supports V-Band and U-Band. To switch between those modes a GPIO output value needs to be changed. In

Re: RTL28XX driver

2012-04-18 Thread Antti Palosaari
On 18.04.2012 20:18, Thomas Mair wrote: I have been working on the driver over the past days and been making some progress. Right now I am stuck with a small problem that I have no idea how to deal with. It seems that the fc0012 tuner supports V-Band and U-Band. To switch between those modes a

Re: RTL28XX driver

2012-04-18 Thread Thomas Mair
I don't know what it really is either but the comments are the following. if (frequency 3) { printk( %s : Tuner :FC0012 V-band (GPIO6 high)\n, __FUNCTION__); } else { printk( %s : Tuner :FC0012 U-band (GPIO6 low)\n,

Re: RTL28XX driver

2012-04-18 Thread Antti Palosaari
The method should be selected based of knowledge if GPIO used for controlling FC0012 tuner OR controlling some other part (LNA, anatenna switch, etc.) So you have to identify meaning first. Look inside FC0012 driver to see if there is some mention about that GPIO. UNLESS we cannot identify

Re: RTL28XX driver

2012-04-18 Thread Antti Palosaari
On 18.04.2012 21:35, Antti Palosaari wrote: The method should be selected based of knowledge if GPIO used for controlling FC0012 tuner OR controlling some other part (LNA, anatenna switch, etc.) So you have to identify meaning first. Look inside FC0012 driver to see if there is some mention

Re: RTL28XX driver

2012-04-12 Thread Oliver Schinagl
Would love to, even tried a bit, but don't really know how to start, what to use as a template. I think I can extract the i2c messages from the dreaded ugly af903 driver however, using src or usbsniff. On 11-04-12 23:57, Antti Palosaari wrote: On 12.04.2012 00:33, Oliver Schinagl wrote: On

Re: RTL28XX driver

2012-04-12 Thread Thomas Mair
Hi Oliver, the Realtek driver sources I have also contain a fc2580 driver. Maybe the source code will help you together with the usb sniff. 2012/4/12 Oliver Schinagl oliver+l...@schinagl.nl: Would love to,  even tried a bit, but don't really know how to start, what to use as a template. I

Re: RTL28XX driver

2012-04-12 Thread Oliver Schinagl
I accept the challenge :p but where is your fc2580 driver? And in that thought, where is antti's stub driver :) That might help me get started :) On 12-04-12 14:18, Thomas Mair wrote: Hi Oliver, the Realtek driver sources I have also contain a fc2580 driver. Maybe the source code will help

Re: RTL28XX driver

2012-04-12 Thread Thomas Mair
It is not my driver ;) And at the beginning it looks quite scary but it may help together with the dump. You can find it here:https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/blob/master/RTL2832-2.2.2_kernel-3.0.0/tuner_fc2580.c 2012/4/12 Oliver Schinagl

Re: RTL28XX driver

2012-04-12 Thread Antti Palosaari
On 12.04.2012 15:54, Thomas Mair wrote: It is not my driver ;) And at the beginning it looks quite scary but it may help together with the dump. You can find it here:https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/blob/master/RTL2832-2.2.2_kernel-3.0.0/tuner_fc2580.c

Re: RTL28XX driver

2012-04-11 Thread Antti Palosaari
On 09.04.2012 15:02, Thomas Mair wrote: thanks for your information. I did get in touch with Realtek and they provided me with the datasheet for the RTL2832U. So what I will try to do is write a demodulator driver for the RTL2832 demod chip following the information of the datasheet and the

Re: RTL28XX driver

2012-04-11 Thread Oliver Schinagl
On 04/11/12 21:12, Antti Palosaari wrote: On 09.04.2012 15:02, Thomas Mair wrote: thanks for your information. I did get in touch with Realtek and they provided me with the datasheet for the RTL2832U. So what I will try to do is write a demodulator driver for the RTL2832 demod chip following

Re: RTL28XX driver

2012-04-11 Thread Antti Palosaari
On 12.04.2012 00:33, Oliver Schinagl wrote: On 04/11/12 21:12, Antti Palosaari wrote: I have some old stubbed drivers that just works for one frequency using combination of RTL2832U + FC2580. Also I have rather well commented USB sniff from that device. I can sent those if you wish. FC2580?

Re: RTL28XX driver

2012-04-09 Thread Thomas Mair
Hi Gainluca, thanks for your information. I did get in touch with Realtek and they provided me with the datasheet for the RTL2832U. So what I will try to do is write a demodulator driver for the RTL2832 demod chip following the information of the datasheet and the Realtek driver. I will follow

Re: RTL28XX driver

2012-04-09 Thread Gianluca Gennari
Hi Thomas, Il 09/04/2012 14:02, Thomas Mair ha scritto: Hi Gainluca, thanks for your information. I did get in touch with Realtek and they provided me with the datasheet for the RTL2832U. So what I will try to do is write a demodulator driver for the RTL2832 demod chip following the

Re: RTL28XX driver

2012-04-07 Thread poma
On 04/06/2012 11:11 AM, Thomas Mair wrote: Hello everyone, 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

Re: RTL28XX driver

2012-04-07 Thread Gianluca Gennari
Il 06/04/2012 11:11, Thomas Mair ha scritto: Hello everyone, 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

RTL28XX driver

2012-04-06 Thread Thomas Mair
Hello everyone, 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

Re: RTL28XX driver

2012-04-06 Thread Antti Palosaari
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