Unable to load dvb-usb-rtl2832u driver in Ubuntu 12.04
Apologies for the confusion. Having done more digging I think the dvb_usb_rtl2832u module was added by the package download from here
http://www.dfragos.me/2011/11/installation-of-the-rt2832u-driver-in-linux/.
This is confirmed by looking through the corresponding 'MakeFile'. I have therefore removed references to dvb_usb_rtl2832u from /lib/modules/3.2.0-29-generic/kernel/drivers/media/usb/dvb-usb.
I have also performed a clean, build & install of V4L-DVB.
The contents of the dvb-usb folder are now as follows:
dct@DCTbox:/lib/modules/3.2.0-29-generic/kernel/drivers/media/usb/dvb-usb$ ls
dvb-usb-a800.ko dvb-usb-dib0700.ko dvb-usb-dtv5100.ko
dvb-usb-nova-t-usb2.ko dvb-usb-vp702x.ko
dvb-usb-af9005.ko dvb-usb-dibusb-common.ko dvb-usb-dw2102.ko
dvb-usb-opera.ko dvb-usb-vp7045.ko
dvb-usb-af9005-remote.ko dvb-usb-dibusb-mb.ko dvb-usb-friio.ko
dvb-usb-pctv452e.ko
dvb-usb-az6027.ko dvb-usb-dibusb-mc.ko dvb-usb-gp8psk.ko
dvb-usb-technisat-usb2.ko
dvb-usb-cinergyT2.ko dvb-usb-digitv.ko dvb-usb.ko
dvb-usb-ttusb2.ko
dvb-usb-cxusb.ko dvb-usb-dtt200u.ko dvb-usb-m920x.ko
dvb-usb-umt-010.ko
I cannot see any reference to the dvb_usb_rtl28xxu module. Having said that a reference to 'dvb_usb_rtl28xxu' does appear when I build V4L-DVB.
Can you please advise how I correctly add dvb_usb_rtl28xxu?
Quoted 26 lines · M. Fletcher
Apologies for the confusion. Having done more digging I think the
dvb_usb_rtl2832umodule was added by the package download from here
http://www.dfragos.me/2011/11/installation-of-the-rt2832u-driver-in-linux/.
This is confirmed by looking through the corresponding 'MakeFile'. I have therefore removed references todvb_usb_rtl2832ufrom/lib/modules/3.2.0-29-generic/kernel/drivers/media/usb/dvb-usb.I have also performed a clean, build & install of V4L-DVB.
The contents of the dvb-usb folder are now as follows:
dct@DCTbox:/lib/modules/3.2.0-29-generic/kernel/drivers/media/usb/dvb-usb$ ls
dvb-usb-a800.ko dvb-usb-dib0700.ko dvb-usb-dtv5100.ko
dvb-usb-nova-t-usb2.ko dvb-usb-vp702x.ko
dvb-usb-af9005.ko dvb-usb-dibusb-common.ko dvb-usb-dw2102.ko
dvb-usb-opera.ko dvb-usb-vp7045.ko
dvb-usb-af9005-remote.ko dvb-usb-dibusb-mb.ko dvb-usb-friio.ko
dvb-usb-pctv452e.ko
dvb-usb-az6027.ko dvb-usb-dibusb-mc.ko dvb-usb-gp8psk.ko
dvb-usb-technisat-usb2.ko
dvb-usb-cinergyT2.ko dvb-usb-digitv.ko dvb-usb.ko
dvb-usb-ttusb2.ko
dvb-usb-cxusb.ko dvb-usb-dtt200u.ko dvb-usb-m920x.ko
dvb-usb-umt-010.ko
Quoted 5 lines
I cannot see any reference to the
dvb_usb_rtl28xxumodule. Having said that a reference to 'dvb_usb_rtl28xxu' does appear when I build V4L-DVB.Can you please advise how I correctly add
dvb_usb_rtl28xxu?
It should be inside drivers/media/usb/dvb-usb-v2/
modinfo dvb_usb_rtl28xxu should list it. Also it is highly possible your device usb id is not known by driver, you should add it, easiest is just replace some existing rtl2832u device id.
regards
Antti
Signature · 1 line
http://palosaari.fi/
Quoted 1 line
It should be inside
drivers/media/usb/dvb-usb-v2/modinfodvb_usb_rtl28xxu
should list it.
Correct, it was in drivers/media/usb/dvb-usb-v2/
modinfo gives the expected output
Quoted 1 line
Also it is highly possible your device usb id is not known >by driver, you
should add it, easiest is just replace some existing rtl2832u device id.
Can you please advise how I do this? lsusb gives my device ID as 185b:0680
Regards,
Marc
Quoted 10 lines · M. Fletcher
Quoted 1 line
It should be inside
drivers/media/usb/dvb-usb-v2/modinfodvb_usb_rtl28xxushould list it.
Correct, it was in
drivers/media/usb/dvb-usb-v2/
modinfo gives the expected outputQuoted 1 line
Also it is highly possible your device usb id is not known >by driver, you
should add it, easiest is just replace some existing rtl2832u device id.
Can you please advise how I do this? lsusb gives my device ID as 185b:0680
Open the rtl28xxu.c file and find line:
{ DVB_USB_DEVICE(USB_VID_TERRATEC, USB_PID_NOXON_DAB_STICK,
replace it:
{ DVB_USB_DEVICE(0x185b, 0x0680,Compile and install.
Enable debugs:
#modprobe dvb_usb_rtl28xxu; echo -n 'module dvb_usb_rtl28xxu +p' > /sys/kernel/debug/dynamic_debug/control
plug stick in and look what dmesg says. With a good luck there is supported RF-tuner and it works, but most likely there is some RF-tuner which is not supported and it does not work.
regards
Antti
Signature · 1 line
http://palosaari.fi/
Quoted 2 lines
Open the
rtl28xxu.cfile and find line:
{ DVB_USB_DEVICE(USB_VID_TERRATEC,USB_PID_NOXON_DAB_STICK, replace
it:
Quoted 1 line
{ DVB_USB_DEVICE(0x185b, 0x0680,Line changed as follows:
//{ DVB_USB_DEVICE(USB_VID_TERRATEC, USB_PID_NOXON_DAB_STICK, { DVB_USB_DEVICE(0x185b, 0x0680,
&rtl2832u_props, "NOXON DAB/DAB+ USB dongle", NULL) },
Quoted 1 line
Compile and install.
Successful.
Quoted 2 lines
Enable debugs:
#modprobedvb_usb_rtl28xxu; echo -n 'moduledvb_usb_rtl28xxu+p' >
/sys/kernel/debug/dynamic_debug/control
Executing this entire line produced:
bash: /sys/kernel/debug/dynamic_debug/control: No such file or directory
Succesfully executed:
modprobe dvb_usb_rtl28xxu
Module loaded:
root@DCTbox:/# lsmod | grep dvb dvb_usb_rtl28xxu 18522 0 dvb_usbv2 23726 1 dvb_usb_rtl28xxu rc_core 26343 2 dvb_usb_rtl28xxu,dvb_usbv2 rtl2830 18340 1 dvb_usb_rtl28xxu dvb_core 110590 2 dvb_usbv2,rtl2830
Quoted 1 line
plug stick in and look what dmesg says. With a good luck there is supported
RF-tuner and it works, but most likely there is some RF-tuner which is >not supported and it does not work.
root@DCTbox:/home/dct# dmesg [ 136.285497] usb 5-2: new high-speed USB device number 4 using xhci_hcd [ 136.319609] usb 5-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes [ 136.367747] WARNING: You are using an experimental version of the media stack. [ 136.367748] As the driver is backported to an older kernel, it doesn't offer [ 136.367749] enough quality for its usage in production. [ 136.367750] Use it with care. [ 136.367750] Latest git patches (needed if you report a bug to [email protected]): [ 136.367751] 9b78c5a3007e10a172d4e83bea18509fdff2e8e3 [media] b2c2: export b2c2_flexcop_debug symbol [ 136.367752] 88f8472c9fc6c08f5113887471f1f4aabf7b2929 [media] Fix some Makefile rules [ 136.367753] 893430558e5bf116179915de2d3d119ad25c01cf [media] cx23885-cards: fix netup card default revision [ 136.389963] WARNING: You are using an experimental version of the media stack. [ 136.389964] As the driver is backported to an older kernel, it doesn't offer [ 136.389965] enough quality for its usage in production. [ 136.389965] Use it with care. [ 136.389966] Latest git patches (needed if you report a bug to [email protected]): [ 136.389966] 9b78c5a3007e10a172d4e83bea18509fdff2e8e3 [media] b2c2: export b2c2_flexcop_debug symbol [ 136.389967] 88f8472c9fc6c08f5113887471f1f4aabf7b2929 [media] Fix some Makefile rules [ 136.389968] 893430558e5bf116179915de2d3d119ad25c01cf [media] cx23885-cards: fix netup card default revision [ 136.407633] usb 5-2: dvb_usbv2: found a 'NOXON DAB/DAB+ USB dongle' in warm state [ 136.407655] usbcore: registered new interface driver dvb_usb_rtl28xxu [ 136.434729] usb 5-2: dvb_usbv2: will pass the complete MPEG2 transport stream to the software demuxer [ 136.434796] DVB: registering new adapter (NOXON DAB/DAB+ USB dongle) [ 136.470930] usb 5-2: dvb_usb_rtl28xxu: E4000 tuner found [ 136.482557] usb 5-2: dvb_usbv2: 'NOXON DAB/DAB+ USB dongle' error while loading driver (-19) [ 136.483313] usb 5-2: dvb_usbv2: 'NOXON DAB/DAB+ USB dongle' successfully deinitialized and disconnected
If this is an unsupported tuner do I need to get a different usb device or can I try a different rtl driver?
Quoted 81 lines · M. Fletcher
Quoted 2 lines
Open the
rtl28xxu.cfile and find line:
{ DVB_USB_DEVICE(USB_VID_TERRATEC,USB_PID_NOXON_DAB_STICK, replaceit:
Quoted 1 line
{ DVB_USB_DEVICE(0x185b, 0x0680,Line changed as follows:
//{ DVB_USB_DEVICE(USB_VID_TERRATEC,
USB_PID_NOXON_DAB_STICK, { DVB_USB_DEVICE(0x185b,0x0680,&rtl2832u_props, "NOXON DAB/DAB+ USB dongle", NULL) },Quoted 1 line
Compile and install.
Successful.
Quoted 2 lines
Enable debugs:
#modprobedvb_usb_rtl28xxu; echo -n 'moduledvb_usb_rtl28xxu+p' >
/sys/kernel/debug/dynamic_debug/controlExecuting this entire line produced:
bash:/sys/kernel/debug/dynamic_debug/control: No such file or directorySuccesfully executed:
modprobedvb_usb_rtl28xxuModule loaded:
root@DCTbox:/# lsmod | grep dvb dvb_usb_rtl28xxu 18522 0 dvb_usbv2 23726 1 dvb_usb_rtl28xxu rc_core 26343 2 dvb_usb_rtl28xxu,dvb_usbv2 rtl2830 18340 1 dvb_usb_rtl28xxu dvb_core 110590 2 dvb_usbv2,rtl2830Quoted 1 line
plug stick in and look what dmesg says. With a good luck there is supported
RF-tuner and it works, but most likely there is some RF-tuner which is >not supported and it does not work.
root@DCTbox:/home/dct# dmesg [ 136.285497] usb 5-2: new high-speed USB device number 4 using xhci_hcd [ 136.319609] usb 5-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes [ 136.367747] WARNING: You are using an experimental version of the media stack. [ 136.367748] As the driver is backported to an older kernel, it doesn't offer [ 136.367749] enough quality for its usage in production. [ 136.367750] Use it with care. [ 136.367750] Latest git patches (needed if you report a bug to [email protected]): [ 136.367751] 9b78c5a3007e10a172d4e83bea18509fdff2e8e3 [media] b2c2: export b2c2_flexcop_debug symbol [ 136.367752] 88f8472c9fc6c08f5113887471f1f4aabf7b2929 [media] Fix some Makefile rules [ 136.367753] 893430558e5bf116179915de2d3d119ad25c01cf [media] cx23885-cards: fix netup card default revision [ 136.389963] WARNING: You are using an experimental version of the media stack. [ 136.389964] As the driver is backported to an older kernel, it doesn't offer [ 136.389965] enough quality for its usage in production. [ 136.389965] Use it with care. [ 136.389966] Latest git patches (needed if you report a bug to [email protected]): [ 136.389966] 9b78c5a3007e10a172d4e83bea18509fdff2e8e3 [media] b2c2: export b2c2_flexcop_debug symbol [ 136.389967] 88f8472c9fc6c08f5113887471f1f4aabf7b2929 [media] Fix some Makefile rules [ 136.389968] 893430558e5bf116179915de2d3d119ad25c01cf [media] cx23885-cards: fix netup card default revision [ 136.407633] usb 5-2: dvb_usbv2: found a 'NOXON DAB/DAB+ USB dongle' in warm state [ 136.407655] usbcore: registered new interface driver dvb_usb_rtl28xxu [ 136.434729] usb 5-2: dvb_usbv2: will pass the complete MPEG2 transport stream to the software demuxer [ 136.434796] DVB: registering new adapter (NOXON DAB/DAB+ USB dongle) [ 136.470930] usb 5-2: dvb_usb_rtl28xxu: E4000 tuner found [ 136.482557] usb 5-2: dvb_usbv2: 'NOXON DAB/DAB+ USB dongle' error while loading driver (-19) [ 136.483313] usb 5-2: dvb_usbv2: 'NOXON DAB/DAB+ USB dongle' successfully deinitialized and disconnected
Quoted 2 lines
If this is an unsupported tuner do I need to get a different usb device or can I try a different rtl driver?
No luck, no driver for e4000.
I think vendor driver could support your device, try to find it.
regards
Antti
Signature · 1 line
http://palosaari.fi/
I appreciate all of your help.
I found the following http://sdr.osmocom.org/trac/wiki/rtl-sdr which seems to support the E4000 on the Compro U680F. Could that driver be incorporated with the RTL83xxu from V4L-DVB?
Regards,
Marc
Quoted 9 lines · M. Fletcher
I appreciate all of your help.
I found the following http://sdr.osmocom.org/trac/wiki/rtl-sdr which seems to support the E4000 on the Compro U680F. Could that driver be incorporated with the RTL83xxu from V4L-DVB?
Regards,
Marc
It is userspace driver, kernel drivers are little bit different. It is not possible to use as it is.
regards
Antti
Signature · 1 line
http://palosaari.fi/
Quoted 6 lines · M. Fletcher
I appreciate all of your help.
I found the following http://sdr.osmocom.org/trac/wiki/rtl-sdr which seems to support the E4000 on the Compro U680F. Could that driver be incorporated with the RTL83xxu from V4L-DVB?
Quoted 8 lines
Regards,
Marc--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Fletcher, 'dvb_usb_rtl2832[u]' is original(patched) Realtek "Out Of Tree" driver.
https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0#readme
Although this one have tuner issue(irregularly), too ;)
WARNING: filter timeout pid 0x00…
…
'dvb-usb-rtl28xxu' and 'rtl2832' are "In House" drivers/modules.
http://git.linuxtv.org/media_build.git
FMTTM,
poma