Kernel integration of rtl2831u driver
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 9 lines · Peter Mayer
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
--- Steven Toth <[email protected]> schrieb am So, 14.9.2008:
Quoted 8 lines
Quoted 1 line
So, I wonder now what the next steps are to make
this driver available in the linux kernel, and when it will probably happen.
Quoted 1 line
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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
2008/9/15 Peter Mayer <[email protected]>:
Quoted 7 lines
--- Steven Toth <[email protected]> schrieb am So, 14.9.2008:
Quoted 5 lines
Quoted 1 line
So, I wonder now what the next steps are to make
this driver available in the linux kernel, and when it will probably happen.
Quoted 1 line
Quoted 5 lines
Quoted 3 lines
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.
Quoted 5 lines
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.
Quoted 24 lines
the stick is not recognized. The entries in
/var/log/syslogare: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: 0000000000010205When 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').
Quoted 2 lines
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.
Signature · 7 lines
Alistair Buxton [email protected] _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
2008/9/16 Alistair Buxton <[email protected]>:
Quoted 16 lines
Quoted 16 lines
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').
Quoted 7 lines
Quoted 2 lines
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.
Signature · 7 lines
Alistair Buxton [email protected] _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
The repository at http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2.
Thus:
Quoted 3 lines
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,
Quoted 59 lines · Peter Mayer
--- Steven Toth <[email protected]> schrieb am So, 14.9.2008:
Quoted 6 lines
Quoted 1 line
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 installthe stick is not recognized. The entries in
/var/log/syslogare: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: 0000000000010205When 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
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Signature · 10 lines
Jan Hoogenraad Hoogenraad Interface Services Postbus 2717 3500 GS Utrecht _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb