Re: Status of RTL283xU support?

2012-02-12 Thread Antti Palosaari

On 12.02.2012 21:02, poma wrote:

On 29.11.2011 20:45, poma wrote:
..
Don't forget to read/edit "Makefile" for 3.2.* kernels,
uncomment line:
INCLUDE_EXTRA_DVB := include-320

?


rgds,
poma


Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Status of RTL283xU support?

2012-02-12 Thread poma
On 29.11.2011 20:45, poma wrote:
..
Don't forget to read/edit "Makefile" for 3.2.* kernels,
uncomment line:
INCLUDE_EXTRA_DVB := include-320

rgds,
poma
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Status of RTL283xU support?

2011-11-29 Thread poma
On 26.11.2011 17:20, Maik Zumstrull wrote:
> On Sat, Nov 26, 2011 at 13:47, Maik Zumstrull  wrote:
..

> FYI, someone has contacted me off-list to point out that the newest(?)
> Realtek tree for these devices is available online:
> 
> Alessandro Ambrosini wrote:
> 
>> Dear maik,
>>
>> I've read your post here
>> http://www.mail-archive.com/linux-media@vger.kernel.org/msg39559.html
>> I have not a subscription to linux-media mailing list. I see your post
>> looking for in archive.
>>
>> Some days ago I've asked to Realtek if there are newer driver (latest on the
>> net was 2.2.0)
>> They kindly send me latest driver 2.2.2 kernel 2.6.x
>>
>> I've patched it yesterday for kernel 3.0.0 (Ubuntu 11.10) and they looks to
>> work fine.
>> I'm not an expert C coder, only an hobbyist. So I suppose there are
>> problems.
>>
>> Anyway here you can find:
>>
>> 1) original Realtek 2.2.2 driver "simplified version" (DVB-T only and 4
>> tuners only)
>> https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-4_tuner
>>
>> 2) original Realtek 2.2.2 driver "full version" (DVB-T/ DTMB and 10 tuners)
>> https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10_tuner
>>
>> 3) driver "full" modded by me for kernel 3.0.0
>> https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0
>> README file explain about all
>>
>> They compile fine in Ubuntu 11.10 64 bit and works great.
..

Distro - Fedora release 16 (Verne)/3.1.2-1.fc16.x86_64
Device - DeLOCK USB 2.0 DVB-T Receiver 61744
http://www.delock.com/produkte/gruppen/Multimedia/Delock_USB_20_DVB-T_Receiver_61744.html
based on:
Realtek RTL2832U DVB-T demodulator-USB bridge & Fitipower FC0012 tuner

lsusb:
Bus 002 Device 003: ID 1f4d:b803 G-Tek Electronics Group Lifeview
LV5TDLX DVB-T [RTL2832U]

modinfo dvb_usb_rtl2832u:
filename:
/lib/modules/3.1.2-1.fc16.x86_64/kernel/drivers/media/dvb/dvb-usb/dvb-usb-rtl2832u.ko
license:GPL
version:2.2.2
description:Driver for the RTL2832U DVB-T / RTL2836 DTMB USB2.0 device
author: Dean Chung
author: Chialing Lu 
author: Realtek
srcversion: 82E6C8E24DEE7DCA47B605E
alias:  usb:v1680pA332d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp9520d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp9530d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp9540d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp9550d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp9580d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp0680d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp0650d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp0640d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp0630d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v185Bp0620d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1164p3284d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1164p3280d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1164p6601d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0413p6F11d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0413p6680d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4DpA683d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4Dp0139d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4DpD286d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4DpC280d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4DpD803d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4DpC803d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4DpB803d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4DpA803d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1F4Dp0837d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pE41Dd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD3A4d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD3A1d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pE77Bd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD39Ed*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD39Cd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD39Bd*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD39Ad*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD398d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD397d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD396d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD395d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD394d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1B80pD393d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1554p5026d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1554p5020d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1554p5013d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v13D3p3282d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v13D3p3274d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v13D3p3234d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp00B3d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v0CCDp00A9d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1D19p9202d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1D19p3103d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1D19p9201d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1D19p8202d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1D19p2101d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1D19p1108d*dc*dsc*dp*ic*isc*ip*
alias:  usb:v1D19p1107d*dc*dsc*dp*ic*isc*ip*
alias:

Re: Status of RTL283xU support?

2011-11-28 Thread Maik Zumstrull
On Sat, Nov 26, 2011 at 17:20, Maik Zumstrull  wrote:

> FYI, someone has contacted me off-list to point out that the newest(?)
> Realtek tree for these devices is available online:

Gave it a spin, built out of tree against Debian's Linux 3.0 binaries.
Basically works, you can get a signal, but has crashed my system a few
times. Removed it again. YMMV.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Status of RTL283xU support? [NOXON DAB Stick Supported][PATCH for 3.2 included]

2011-11-27 Thread Hans-Frieder Vogt
On Sat, Nov 26, 2011 at 13:47, Maik Zumstrull  wrote:
>
> > it seems I've found myself with an rtl2832u-based DVB-T USB stick. The
> > latest news on that seems to be that you were working on cleaning up
> > the code of the Realtek-provided GPL driver, with the goal of
> > eventually getting it into mainline.
> >
> > Would you mind giving a short status update?
>
> FYI, someone has contacted me off-list to point out that the newest(?)
> Realtek tree for these devices is available online:
>
> Alessandro Ambrosini wrote:
>
> > Dear maik,
> >
> > I've read your post here
> > http://www.mail-archive.com/linux-media@xxx/msg39559.html
> > I have not a subscription to linux-media mailing list. I see your post
> > looking for in archive.
> >
> > Some days ago I've asked to Realtek if there are newer driver (latest on 
the
> > net was 2.2.0)
> > They kindly send me latest driver 2.2.2 kernel 2.6.x
> >
> > I've patched it yesterday for kernel 3.0.0 (Ubuntu 11.10) and they looks 
to
> > work fine.
> > I'm not an expert C coder, only an hobbyist. So I suppose there are
> > problems.
> >
> > Anyway here you can find:
> >
> > 1) original Realtek 2.2.2 driver "simplified version" (DVB-T only and 4
> > tuners only)
> > https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-4_tuner
> >
> > 2) original Realtek 2.2.2 driver "full version" (DVB-T/ DTMB and 10 
tuners)
> > https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10_tuner
> >
> > 3) driver "full" modded by me for kernel 3.0.0
> > https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-
mod_kernel-3.0.0
> > README file explain about all
...

Please note that the DVB part of the Noxon DAB Stick (USB ID 0ccd:00b3) is 
also supported by the driver code (not sure how to access DAB+, maybe someone 
can give me a hint?)!

For kernel 3.2 the following patch is required (tested with 3.2-rc2 64bit 
kernel), relative to the "full" modded kernel 3.0.0 version from Alessandro:

--- a/rtl2832u.c2011-11-27 11:05:03.587543422 +0100
+++ b/rtl2832u.c2011-11-27 10:47:19.329713097 +0100
@@ -689,7 +689,11 @@ error:
 
 static int rtl2832u_frontend_attach(struct dvb_usb_adapter *adap)
 {
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+   adap->fe_adap[0].fe = rtl2832u_fe_attach(adap->dev);
+#else
adap->fe = rtl2832u_fe_attach(adap->dev);
+#endif
return 0;
 }
 
@@ -835,9 +839,16 @@ static struct dvb_usb_device_properties
.adapter =
{
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+   .fe_ioctl_override = rtl2832u_ioctl_override,
+   .num_frontends = 1,
+   .fe = {{
+#endif
.streaming_ctrl = rtl2832u_streaming_ctrl,
.frontend_attach = rtl2832u_frontend_attach,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
.fe_ioctl_override = rtl2832u_ioctl_override,
+#endif
//parameter for the MPEG2-data transfer
.stream =
{
@@ -852,6 +863,9 @@ static struct dvb_usb_device_properties
}
}
},
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+   }},
+#endif
}
},
 
@@ -917,9 +931,16 @@ static struct dvb_usb_device_properties
.adapter =
{
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+   .fe_ioctl_override = rtl2832u_ioctl_override,
+   .num_frontends = 1,
+   .fe = {{
+#endif
.streaming_ctrl = rtl2832u_streaming_ctrl,
.frontend_attach = rtl2832u_frontend_attach,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
.fe_ioctl_override = rtl2832u_ioctl_override,
+#endif
//parameter for the MPEG2-data transfer
.stream =
{
@@ -934,6 +955,9 @@ static struct dvb_usb_device_properties
}
}
},
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+   }},
+#endif
}
},
//remote control
@@ -999,9 +1023,16 @@ static struct dvb_usb_device_properties
.adapter =
{
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+   .fe_ioctl_override = rtl2832u_ioctl_override,
+   .num_frontends = 1,
+   .fe = {{
+#endif
.streaming_ctrl = rtl2832u_streaming_ctrl,
.frontend_attach = rtl2832u_frontend_attach,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
.fe_ioctl_override = rtl2832u_ioctl_override,
+#endif
//parameter for the MPEG2-data transfer
.stream =
{
@@ -1016,6 +1047,9 @@ static struct

Re: Status of RTL283xU support?

2011-11-26 Thread Jason Hecker
>> latest news on that seems to be that you were working on cleaning up
>> the code of the Realtek-provided GPL driver, with the goal of
>> eventually getting it into mainline.

Ah, does the Realtek branch have support for DAB(+) and FM?  In
Windows the chip can do DAB+ and FM as well as DVB-T.  The problem I
think is that the DAB and FM demodulation has to be done in software
so the driver would only tune the chip and provide the digitised
baseband signal.  If this could be done then throwing the data stream
into something like OpenDAB's demodulator should work.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Status of RTL283xU support?

2011-11-26 Thread Maik Zumstrull
On Sat, Nov 26, 2011 at 13:47, Maik Zumstrull  wrote:

> it seems I've found myself with an rtl2832u-based DVB-T USB stick. The
> latest news on that seems to be that you were working on cleaning up
> the code of the Realtek-provided GPL driver, with the goal of
> eventually getting it into mainline.
>
> Would you mind giving a short status update?

FYI, someone has contacted me off-list to point out that the newest(?)
Realtek tree for these devices is available online:

Alessandro Ambrosini wrote:

> Dear maik,
>
> I've read your post here
> http://www.mail-archive.com/linux-media@vger.kernel.org/msg39559.html
> I have not a subscription to linux-media mailing list. I see your post
> looking for in archive.
>
> Some days ago I've asked to Realtek if there are newer driver (latest on the
> net was 2.2.0)
> They kindly send me latest driver 2.2.2 kernel 2.6.x
>
> I've patched it yesterday for kernel 3.0.0 (Ubuntu 11.10) and they looks to
> work fine.
> I'm not an expert C coder, only an hobbyist. So I suppose there are
> problems.
>
> Anyway here you can find:
>
> 1) original Realtek 2.2.2 driver "simplified version" (DVB-T only and 4
> tuners only)
> https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-4_tuner
>
> 2) original Realtek 2.2.2 driver "full version" (DVB-T/ DTMB and 10 tuners)
> https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10_tuner
>
> 3) driver "full" modded by me for kernel 3.0.0
> https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0
> README file explain about all
>
> They compile fine in Ubuntu 11.10 64 bit and works great.
>
> I've NOT tried to compile in 32bit system
> I've compile successfully in a Set-Top-Box Linux based (kernel 3.1.0 ,
> ENIGMA2, cpu Broadcom) and looks to work fine BUT they doesn't work with
> ENIGMA2. I'm investigating about this issue.
>
> If you can re-post this messages in linux-media I will appreciated (omit my
> email address please)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Status of RTL283xU support?

2011-11-26 Thread Maik Zumstrull
On Sat, Nov 26, 2011 at 16:00, Antti Palosaari  wrote:
> On 11/26/2011 02:47 PM, Maik Zumstrull wrote:

>> it seems I've found myself with an rtl2832u-based DVB-T USB stick. The
>> latest news on that seems to be that you were working on cleaning up
>> the code of the Realtek-provided GPL driver, with the goal of
>> eventually getting it into mainline.
>>
>> Would you mind giving a short status update?
>
> Shortly, It is error No time, -ENOTIME.

Isn't it always. :-) I won't be holding my breath for 3.3, then.

Thanks for the info and your efforts.

> And the tree I have does support only very limited set of RTL2831U devices.
> It was Maxim Levitsky working for RTL2832U but he have given up.

I hope development will be revived by someone eventually. When looking
around, it seemed to me that this chipset is becoming more and more
common with low-end devices.

I've ordered a different stick that is supposed to be fully supported
already, so I should be fine until then.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Status of RTL283xU support?

2011-11-26 Thread Antti Palosaari

On 11/26/2011 02:47 PM, Maik Zumstrull wrote:

Hi Antti,

it seems I've found myself with an rtl2832u-based DVB-T USB stick. The
latest news on that seems to be that you were working on cleaning up
the code of the Realtek-provided GPL driver, with the goal of
eventually getting it into mainline.

Would you mind giving a short status update?


Shortly, It is error No time, -ENOTIME.

I have two LinuxTV related projects that are higher priority.
* AF9013 rewrite to optimize I2C IO
* Anysee smartcard reader



Is there a working out-of-tree version somewhere I could build? I've
tried the linuxtv.org build script against your tree, but it fails
with git errors; possibly due to the recent outage of git.kernel.org.


I think my rtl28xx tree should be rebased to latest code. MFE support at 
least have made such changes it will not compile top of latest tree.


And the tree I have does support only very limited set of RTL2831U 
devices. It was Maxim Levitsky working for RTL2832U but he have given up.


regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Status of RTL283xU support?

2011-11-26 Thread Maik Zumstrull
Hi Antti,

it seems I've found myself with an rtl2832u-based DVB-T USB stick. The
latest news on that seems to be that you were working on cleaning up
the code of the Realtek-provided GPL driver, with the goal of
eventually getting it into mainline.

Would you mind giving a short status update?

Is there a working out-of-tree version somewhere I could build? I've
tried the linuxtv.org build script against your tree, but it fails
with git errors; possibly due to the recent outage of git.kernel.org.


Thanks,

Maik
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html