Forum

Full Version: RTL2832U: kernel module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

I've bought a DVB-T tuner usb stick: Hamlet XDVBT900BK, and I'm trying to have it working on my Xbian on RPi2.

This is my kernel version:

Terminal

xbian@xbian ~ $ uname -a
Linux xbian 3.18.8+ #1 SMP PREEMPT Thu Mar 5 03:13:36 CET 2015 armv7l GNU/Linux

And this is what I get when I plug it in:

Terminal

xbian@xbian ~ $ dmesg | tail
[ 4459.511956] usb 1-1.5.4: new high-speed USB device number 8 using dwc_otg
[ 4459.601831] usb 1-1.5.4: New USB device found, idVendor=1b80, idProduct=d3a4
[ 4459.601861] usb 1-1.5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4459.601874] usb 1-1.5.4: Product: Rtl2832UDVB
[ 4459.601884] usb 1-1.5.4: Manufacturer: Realtek

Here is the output of lsusb:

Terminal

xbian@xbian ~ $ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 04e8:61b6 Samsung Electronics Co., Ltd
Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 006: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 008: ID 1b80:d3a4 Afatech

Where the tuner should be the last line.
As far as I've understood digging around, proper kernel module should be dvb-usb-rtl28xxu.ko, and I have it under /lib/modules/3.18.8+/kernel/drivers/media/usb/dvb-usb-v2/, but when I plug the tuner in, nothing happens. No kernel module is loaded, and no device is created under /dev.
Any suggestion ?

Thanks in advance
sudo modprobe dvb-rtl28xxu
Thank you.

It seems that something is still missing anyway.
After typing the command as you suggested, the module is actually loaded:

Terminal

xbian@xbian ~ $ sudo modprobe dvb-usb-rtl28xxu
xbian@xbian ~ $ dmesg | tail -n 1
[ 3944.590547] usbcore: registered new interface driver dvb_usb_rtl28xxu

And

Terminal

xbian@xbian ~ $ lsmod
Module Size Used by
dvb_usb_rtl28xxu 12557 0
rtl2830 5824 1 dvb_usb_rtl28xxu
rtl2832 7665 1 dvb_usb_rtl28xxu
dvb_usb_v2 11200 1 dvb_usb_rtl28xxu
dvb_core 71041 3 rtl2830,rtl2832,dvb_usb_v2
rc_core 13880 2 dvb_usb_rtl28xxu,dvb_usb_v2
i2c_mux 1742 1 rtl2832
rfcomm 26718 0
bluetooth 228064 3 rfcomm
rfkill 11858 1 bluetooth
ipt_MASQUERADE 786 2
nf_nat_masquerade_ipv4 1557 1 ipt_MASQUERADE
iptable_nat 1226 1
nf_conntrack_ipv4 10687 1
nf_defrag_ipv4 1000 1 nf_conntrack_ipv4
nf_nat_ipv4 4222 1 iptable_nat
nf_nat 10236 2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack 64614 4 nf_nat,nf_nat_ipv4,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
ip_tables 10402 1 iptable_nat
x_tables 10478 2 ip_tables,ipt_MASQUERADE
tun 16871 2
fuse 67025 3
snd_soc_pcm512x_i2c 1453 0
snd_soc_wm8804 6272 0
snd_soc_tas5713 4445 0
snd_soc_pcm512x 5941 1 snd_soc_pcm512x_i2c
regmap_i2c 1813 3 snd_soc_wm8804,snd_soc_pcm512x_i2c,snd_soc_tas5713
leds_gpio 2821 0
led_class 2473 1 leds_gpio
8192cu 479524 0
snd_soc_bcm2708_i2s 5237 0
regmap_mmio 1933 1 snd_soc_bcm2708_i2s
snd_soc_core 94348 4 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_tas5713,snd_soc_bcm2708_i2s
snd_compress 6492 1 snd_soc_core
snd_pcm_dmaengine 2798 1 snd_soc_core
i2c_bcm2708 4425 0
i2c_core 17851 10 i2c_bcm2708,i2c_mux,snd_soc_wm8804,dvb_usb_rtl28xxu,snd_soc_pcm512x_i2c,rtl2830,​rtl2832,regmap_i2c,snd_soc_tas5713,dvb_usb_v2
snd_pcm 60460 3 snd_soc_wm8804,snd_soc_core,snd_pcm_dmaengine
spi_bcm2708 4535 0
snd_timer 15062 1 snd_pcm
snd 37300 4 snd_soc_core,snd_timer,snd_pcm,snd_compress
soundcore 602 1 snd
frandom 3579 2
vchiq 210052 2

Still, no device is created under /dev and I'm not able to use the tuner.
Reference URL's