DVB-T USB tuner problem - RTL2832U + R820T

Hi,
Im not able to bring up the RTL2832U-based tuner on my Turris Omnia. Here are some information:

$lsusb -s 4:3 -v

Bus 004 Device 003: ID 0bda:2832 Realtek Semiconductor Corp. RTL2832U DVB-T
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x2832 RTL2832U DVB-T
  bcdDevice            1.00
  iManufacturer           1 Generic
  iProduct                2 RTL2832U
  iSerial                 3 77771111153705700
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 USB2.0-Bulk&Iso
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      2
Device Status:     0x0000
  (Bus Powered)

Kernel log:
$dmesg
[ 2890.229956] usb 4-1: new high-speed USB device number 3 using xhci-hcd
[ 2890.388714] usb 4-1: dvb_usb_v2: found a ‘Realtek RTL2832U reference design’ in warm state
[ 2890.565004] usb 4-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[ 2890.565114] DVB: registering new adapter (Realtek RTL2832U reference design)
[ 2890.566036] dvb_usb_rtl28xxu 4-1:1.0: unknown tuner NONE

Installed packages:
$opkg list-installed
kmod-dvb-core - 4.4.59+4-1-627f0117679bc72ef5e58881035f567a-4
kmod-dvb-rtl2830 - 4.4.59+4-1-627f0117679bc72ef5e58881035f567a-4
kmod-dvb-rtl2832 - 4.4.59+4-1-627f0117679bc72ef5e58881035f567a-4
kmod-dvb-usb-rtl28xxu - 4.4.59+4-1-627f0117679bc72ef5e58881035f567a-4
kmod-dvb-usb-v2 - 4.4.59+4-1-627f0117679bc72ef5e58881035f567a-4
kmod-media-tuner-r820t - 4.4.59+4-1-627f0117679bc72ef5e58881035f567a-4

Directory /dev/dvb/adapter0/ exists, but is empty.
Does anyone please see what am I missing?

Hello,
In dmesg there should be also this:

usb 1-5: dvb_usb_v2: ‘Realtek RTL2832U reference design’ error while loading driver (-19)
usb 1-5: dvb_usb_v2: ‘Realtek RTL2832U reference design’ successfully deinitialized and disconnected

Can you also try it on PC, notebook, where is Linux and try it there?

This is also interesting:

[ 2890.566036] dvb_usb_rtl28xxu 4-1:1.0: unknown tuner NONE

I copy&pasted it on Google, but I didnt find any solution for it. Weird.

Hello,
the -19 error never appeared on Omnia, but I plugged the usb tuner into my desktop with centos 7 and the exact two lines you mention were shown in the log. I also had no success with this particular error on google.

It’s just guessing. But It is possible that you’re missing firmware.

In previous forum, which was only for Turris 1.x and primary for Czech people and we have there thread about supported tuners and discussion about tuners, which requires some “manual work”. I will do it here (hopefully it will be official thread)
I’ve in progress article for DVB tuners (new one), but back to the point there is mention that somebody already tried your tuner and he said that he download this package: http://www.fracomp.cz/stahuj/fimware_dvb_ts.zip which has so many firmware and he put it to /lib/firmware and somebody said: from folder /lib/firmware/rtlc_nic to folder /lib/firmware put rtl8411-2.fw

Source: Forum Turris
(in Czech)

Or lets try it with this firmware dvb-usb-af9015.fw

According to this site, which I recommend to use LinuxTV.org/wiki you should see something like this:

[ 16.930242] usb 2-1: dvb_usb_v2: ‘Realtek RTL2832U reference design’ successfully initialized and connected
[ 16.930309] usbcore: registered new interface driver dvb_usb_rtl28xxu

I’ve unpacked all from fimware_dvb_ts.zip into /lib/firmware and no improvement. If I unplug-plug the dobgle I get:

[72475.568123] usb 4-1: USB disconnect, device number 3
[72479.335571] usb 4-1: new high-speed USB device number 4 using xhci-hcd
[72479.494346] usb 4-1: dvb_usb_v2: found a ‘Realtek RTL2832U reference design’ in warm state
[72479.671725] usb 4-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[72479.671829] DVB: registering new adapter (Realtek RTL2832U reference design)
[72479.672496] dvb_usb_rtl28xxu 4-1:1.0: unknown tuner NONE

The file dvb-usb-af9015.fw is for sure present in /lib/firmware
Any possibility of HW malfunction?

Hard to say. Maybe others can help you. To be sure if this is HW malfuction you should try it on some Linux system and figure out this error (-19). But for me it’s weird that it doesnt show this error also on Omnia… :confused:

Or you can try to find difference between lsmod on Omnia and your computer.

See this article: https://www.turris.cz/doc/cs/public/dvb#how_to_check_if_tuner_is_supported_in_linux_and_how_to_ask_to_add_support_to_turrisos (it’s not yet mention in wiki and it still in progress, but what you will need it’s there)