public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] Kernel integration of rtl2831u driver
@ 2008-09-14 12:09 Peter Mayer
  2008-09-14 14:37 ` Steven Toth
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Mayer @ 2008-09-14 12:09 UTC (permalink / raw)
  To: linux-dvb

Hi,

i own a Freecom rev 4 DVB-T USB-stick using a rtl2831u chip inside. Since about February this year, drivers for that stick are available and a lot of discussion about the driver was done on this list. 

But it seems for quite some time that no further discussion happens anymore.. I am using debian SID (sidux) and the actual kernel there (2.6.26-5.slh.4-sidux-686) from some days ago still does not include the rtl2831u dvb-t driver. So, I wonder now what the next steps are to make this driver available in the linux kernel, and when it will probably happen.

Background of my question is that I would like to use the stick of course, but without patching and compiling a new kernel from source by myself.

So, what is the future plan of rtl2831u for kernel integration? I am not familiar with the standard procedure of the diffusion process into mainstream kernel versions, so I would appreciate any comments on this topic.

Best regards,
Peter Mayer

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-dvb] Kernel integration of rtl2831u driver
  2008-09-14 12:09 [linux-dvb] Kernel integration of rtl2831u driver Peter Mayer
@ 2008-09-14 14:37 ` Steven Toth
  2008-09-15 22:12   ` Peter Mayer
  0 siblings, 1 reply; 6+ messages in thread
From: Steven Toth @ 2008-09-14 14:37 UTC (permalink / raw)
  To: horuljo; +Cc: linux-dvb

Peter Mayer wrote:
> Hi,
> 
> i own a Freecom rev 4 DVB-T USB-stick using a rtl2831u chip inside. Since about February this year, drivers for that stick are available and a lot of discussion about the driver was done on this list. 
> 
> But it seems for quite some time that no further discussion happens anymore.. I am using debian SID (sidux) and the actual kernel there (2.6.26-5.slh.4-sidux-686) from some days ago still does not include the rtl2831u dvb-t driver. So, I wonder now what the next steps are to make this driver available in the linux kernel, and when it will probably happen.
> 
> Background of my question is that I would like to use the stick of course, but without patching and compiling a new kernel from source by myself.
> 
> So, what is the future plan of rtl2831u for kernel integration? I am not familiar with the standard procedure of the diffusion process into mainstream kernel versions, so I would appreciate any comments on this topic.

This has been on and off the mailing list since Jan.

I gather the tree has some significant merge issues, that's probably why 
it hasn't been merged. Generally if the drivers are legally clean, code 
clean they get merged in a couple of weeks.

- Steve


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-dvb] Kernel integration of rtl2831u driver
  2008-09-14 14:37 ` Steven Toth
@ 2008-09-15 22:12   ` Peter Mayer
  2008-09-15 23:29     ` Alistair Buxton
  2008-09-16  6:02     ` Jan Hoogenraad
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Mayer @ 2008-09-15 22:12 UTC (permalink / raw)
  To: Steven Toth; +Cc: linux-dvb

--- Steven Toth <stoth@linuxtv.org> schrieb am So, 14.9.2008:

> > So, I wonder now what the next steps are to make
> this driver available in the linux kernel, and when it will
> probably happen.
> > 
> 
> I gather the tree has some significant merge issues,
> that's probably why it hasn't been merged. Generally if the drivers are
> legally clean, code clean they get merged in a couple of weeks.

Sorry if I need to ask again, but what does this actually mean with respect to that specific driver rtl2821u? I just wonder.

My problem is that in Ubuntu Hardy I managed to make this stick work, but in Debian SID I have no idea how to get it work. When I do

hg clone http://linuxtv.org/hg/v4l-dvb
make 
make install

the stick is not recognized. The entries in /var/log/syslog are:

Sep 15 23:35:55  kernel: usb 3-3: New USB device found, idVendor=14aa, idProduct=0160
Sep 15 23:35:55  kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 15 23:35:55  kernel: usb 3-3: Product: DTV Receiver
Sep 15 23:35:55  kernel: usb 3-3: Manufacturer: DTV Receiver
Sep 15 23:35:55  kernel: usb 3-3: SerialNumber: 0000000000010205

When I unpack and make & make install rtl2831u_dvb-usb_v0.0.2mod, syslog says:

Sep 15 23:40:17  kernel: usb 3-3: new high speed USB device using ehci_hcd and address 3
Sep 15 23:40:17  kernel: usb 3-3: configuration #1 chosen from 1 choice
Sep 15 23:40:17  kernel: usb 3-3: New USB device found, idVendor=14aa, idProduct=0160
Sep 15 23:40:17  kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 15 23:40:17  kernel: usb 3-3: Product: DTV Receiver
Sep 15 23:40:17  kernel: usb 3-3: Manufacturer: DTV Receiver
Sep 15 23:40:17  kernel: usb 3-3: SerialNumber: 0000000000010205
Sep 15 23:40:17  NetworkManager: <debug> [1221514817.598859] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205').
Sep 15 23:40:17  NetworkManager: <debug> [1221514817.602281] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_usbraw').
Sep 15 23:40:17  kernel: dvb-usb: found a 'Freecom USB 2.0 DVB-T Device' in warm state.
Sep 15 23:40:17  kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Sep 15 23:40:17  udevd-event[3309]: run_program: '/sbin/modprobe' abnormal exit
Sep 15 23:40:17  NetworkManager: <debug> [1221514817.795519] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_if0').

So, what can I try to make this stick work in Debian SID?

Greetings,
Peter


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-dvb] Kernel integration of rtl2831u driver
  2008-09-15 22:12   ` Peter Mayer
@ 2008-09-15 23:29     ` Alistair Buxton
  2008-09-15 23:46       ` Alistair Buxton
  2008-09-16  6:02     ` Jan Hoogenraad
  1 sibling, 1 reply; 6+ messages in thread
From: Alistair Buxton @ 2008-09-15 23:29 UTC (permalink / raw)
  To: linux-dvb

2008/9/15 Peter Mayer <horuljo@yahoo.de>:
> --- Steven Toth <stoth@linuxtv.org> schrieb am So, 14.9.2008:
>
>> > So, I wonder now what the next steps are to make
>> this driver available in the linux kernel, and when it will
>> probably happen.
>> >
>>
>> I gather the tree has some significant merge issues,
>> that's probably why it hasn't been merged. Generally if the drivers are
>> legally clean, code clean they get merged in a couple of weeks.
>
> Sorry if I need to ask again, but what does this actually mean with respect to that specific driver rtl2821u? I just wonder.

It seems that the rtl2831 driver duplicates a lot of code that is
already in mainline. This is a no-no and the code must be modularized
before it can go in.

> My problem is that in Ubuntu Hardy I managed to make this stick work, but in Debian SID I have no idea how to get it work. When I do
>
> hg clone http://linuxtv.org/hg/v4l-dvb
> make
> make install

The code for rtl2831 is at: http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2
But I'll assume you know that since you already got it working in Ubuntu.

> the stick is not recognized. The entries in /var/log/syslog are:
>
> Sep 15 23:35:55  kernel: usb 3-3: New USB device found, idVendor=14aa, idProduct=0160
> Sep 15 23:35:55  kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Sep 15 23:35:55  kernel: usb 3-3: Product: DTV Receiver
> Sep 15 23:35:55  kernel: usb 3-3: Manufacturer: DTV Receiver
> Sep 15 23:35:55  kernel: usb 3-3: SerialNumber: 0000000000010205
>
> When I unpack and make & make install rtl2831u_dvb-usb_v0.0.2mod, syslog says:
>
> Sep 15 23:40:17  kernel: usb 3-3: new high speed USB device using ehci_hcd and address 3
> Sep 15 23:40:17  kernel: usb 3-3: configuration #1 chosen from 1 choice
> Sep 15 23:40:17  kernel: usb 3-3: New USB device found, idVendor=14aa, idProduct=0160
> Sep 15 23:40:17  kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Sep 15 23:40:17  kernel: usb 3-3: Product: DTV Receiver
> Sep 15 23:40:17  kernel: usb 3-3: Manufacturer: DTV Receiver
> Sep 15 23:40:17  kernel: usb 3-3: SerialNumber: 0000000000010205
> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.598859] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205').
> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.602281] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_usbraw').
> Sep 15 23:40:17  kernel: dvb-usb: found a 'Freecom USB 2.0 DVB-T Device' in warm state.
> Sep 15 23:40:17  kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
> Sep 15 23:40:17  udevd-event[3309]: run_program: '/sbin/modprobe' abnormal exit
> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.795519] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_if0').
>
> So, what can I try to make this stick work in Debian SID?
>

Your log seems to indicate that the driver has loaded OK and detected
the device. If you dont have any device nodes for the card, then you
are probably missing udev/hal rules for their creation.

-- 
Alistair Buxton
a.j.buxton@gmail.com

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-dvb] Kernel integration of rtl2831u driver
  2008-09-15 23:29     ` Alistair Buxton
@ 2008-09-15 23:46       ` Alistair Buxton
  0 siblings, 0 replies; 6+ messages in thread
From: Alistair Buxton @ 2008-09-15 23:46 UTC (permalink / raw)
  To: linux-dvb

2008/9/16 Alistair Buxton <a.j.buxton@gmail.com>:

>> When I unpack and make & make install rtl2831u_dvb-usb_v0.0.2mod, syslog says:
>>
>> Sep 15 23:40:17  kernel: usb 3-3: new high speed USB device using ehci_hcd and address 3
>> Sep 15 23:40:17  kernel: usb 3-3: configuration #1 chosen from 1 choice
>> Sep 15 23:40:17  kernel: usb 3-3: New USB device found, idVendor=14aa, idProduct=0160
>> Sep 15 23:40:17  kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> Sep 15 23:40:17  kernel: usb 3-3: Product: DTV Receiver
>> Sep 15 23:40:17  kernel: usb 3-3: Manufacturer: DTV Receiver
>> Sep 15 23:40:17  kernel: usb 3-3: SerialNumber: 0000000000010205
>> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.598859] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205').
>> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.602281] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_usbraw').
>> Sep 15 23:40:17  kernel: dvb-usb: found a 'Freecom USB 2.0 DVB-T Device' in warm state.
>> Sep 15 23:40:17  kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
>> Sep 15 23:40:17  udevd-event[3309]: run_program: '/sbin/modprobe' abnormal exit
>> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.795519] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_if0').
>>
>> So, what can I try to make this stick work in Debian SID?
>>
>
> Your log seems to indicate that the driver has loaded OK and detected
> the device. If you dont have any device nodes for the card, then you
> are probably missing udev/hal rules for their creation.
>

Hmm... scratch what I just said, it's clearly not working at all. Try
the repository at http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2
The original source release (rtl2831u_dvb-usb_v0.0.2mod) is not
compatible with the newer dvb modules.

-- 
Alistair Buxton
a.j.buxton@gmail.com

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-dvb] Kernel integration of rtl2831u driver
  2008-09-15 22:12   ` Peter Mayer
  2008-09-15 23:29     ` Alistair Buxton
@ 2008-09-16  6:02     ` Jan Hoogenraad
  1 sibling, 0 replies; 6+ messages in thread
From: Jan Hoogenraad @ 2008-09-16  6:02 UTC (permalink / raw)
  To: linux-dvb

The repository at http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2.
Thus:
 > hg clone http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2
 > make
 > make install
should be working at all times. I synchronise it once in a while to keep 
it running.

Splitting the code up into front-end and back-end is more of a hassle 
than I assumed. I'm struggling with the old include files, the data 
structures (where used) and the linux interface protocols in general.

A version that does not even compile (NO USE FOR END USERS !)
http://linuxtv.org/hg/~jhoogenraad/rtl2831-sepfront
I have synched the version with the version on my harddisk.

Part of the code is already recycled into the kernel.
As Alistair noticed, this is now blocking for getting the support for 
the stick into the main line. A pity for the users,


Peter Mayer wrote:
> --- Steven Toth <stoth@linuxtv.org> schrieb am So, 14.9.2008:
> 
>>> So, I wonder now what the next steps are to make
>> this driver available in the linux kernel, and when it will
>> probably happen.
>> I gather the tree has some significant merge issues,
>> that's probably why it hasn't been merged. Generally if the drivers are
>> legally clean, code clean they get merged in a couple of weeks.
> 
> Sorry if I need to ask again, but what does this actually mean with respect to that specific driver rtl2821u? I just wonder.
> 
> My problem is that in Ubuntu Hardy I managed to make this stick work, but in Debian SID I have no idea how to get it work. When I do
> 
> hg clone http://linuxtv.org/hg/v4l-dvb
> make 
> make install
> 
> the stick is not recognized. The entries in /var/log/syslog are:
> 
> Sep 15 23:35:55  kernel: usb 3-3: New USB device found, idVendor=14aa, idProduct=0160
> Sep 15 23:35:55  kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Sep 15 23:35:55  kernel: usb 3-3: Product: DTV Receiver
> Sep 15 23:35:55  kernel: usb 3-3: Manufacturer: DTV Receiver
> Sep 15 23:35:55  kernel: usb 3-3: SerialNumber: 0000000000010205
> 
> When I unpack and make & make install rtl2831u_dvb-usb_v0.0.2mod, syslog says:
> 
> Sep 15 23:40:17  kernel: usb 3-3: new high speed USB device using ehci_hcd and address 3
> Sep 15 23:40:17  kernel: usb 3-3: configuration #1 chosen from 1 choice
> Sep 15 23:40:17  kernel: usb 3-3: New USB device found, idVendor=14aa, idProduct=0160
> Sep 15 23:40:17  kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Sep 15 23:40:17  kernel: usb 3-3: Product: DTV Receiver
> Sep 15 23:40:17  kernel: usb 3-3: Manufacturer: DTV Receiver
> Sep 15 23:40:17  kernel: usb 3-3: SerialNumber: 0000000000010205
> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.598859] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205').
> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.602281] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_usbraw').
> Sep 15 23:40:17  kernel: dvb-usb: found a 'Freecom USB 2.0 DVB-T Device' in warm state.
> Sep 15 23:40:17  kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
> Sep 15 23:40:17  udevd-event[3309]: run_program: '/sbin/modprobe' abnormal exit
> Sep 15 23:40:17  NetworkManager: <debug> [1221514817.795519] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_14aa_160_0000000000010205_if0').
> 
> So, what can I try to make this stick work in Debian SID?
> 
> Greetings,
> Peter
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
> http://mail.yahoo.com 
> 
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> 
> 


-- 
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-16  6:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-14 12:09 [linux-dvb] Kernel integration of rtl2831u driver Peter Mayer
2008-09-14 14:37 ` Steven Toth
2008-09-15 22:12   ` Peter Mayer
2008-09-15 23:29     ` Alistair Buxton
2008-09-15 23:46       ` Alistair Buxton
2008-09-16  6:02     ` Jan Hoogenraad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox