[clug] Listening to digital radio with Open Source software

Scott Ferguson scott.ferguson.clug at gmail.com
Mon Aug 8 11:02:44 UTC 2016



On 06/08/16 16:39, Mike Carden wrote:
> When I'm not messing about with cloudy stuff, I sometimes mess about with
> radio stuff. Today I wrote a blog post with step-by-step instructions for
> using a Raspberry Pi and a cheap RTL-SDR dongle to make a DAB+ radio
> receiver which can listen to the 17 or so digital radio channels being
> broadcast right now in Canberra:
> 
> http://www.michaelcarden.net/?p=48
> 
> You don't have to use a Raspberry Pi of course, you could use a laptop or a
> desktop or perhaps any one of the many single board computers out there,
> but the instructions I have written are all about the Pi.
> 
> If you try it out, please let me know how you go.
> 

I haven't tried it out on Raspberry Pi, but have on Debian Jessie,
previously with good results.  Currently it's not working (e.g. VLC and
Kaffeine used to pick it up without problems) and any suggestions would
be welcomed:-

uname -r 3.16.0-4-686-pae
lsusb -vd 0bda:2838

Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
*Couldn't open device, some information will be missing*
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          0x2838 RTL2838 DVB-T
  bcdDevice            1.00
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0x80
      (Bus Powered)
    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
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5

[ 1075.248029] usb 1-2.4: new high-speed USB device number 4 using ehci-pci
[ 1075.367970] usb 1-2.4: New USB device found, idVendor=0bda,
idProduct=2838
[ 1075.367976] usb 1-2.4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 1075.367979] usb 1-2.4: Product: RTL2838UHIDIR
[ 1075.367982] usb 1-2.4: Manufacturer: Realtek
[ 1075.367985] usb 1-2.4: SerialNumber: 00000001
[ 1075.642297] usb 1-2.4: dvb_usb_v2: found a 'Realtek RTL2832U
reference design' in warm state
[ 1075.707626] usb 1-2.4: dvb_usb_v2: will pass the complete MPEG2
transport stream to the software demuxer
[ 1075.707664] DVB: registering new adapter (Realtek RTL2832U reference
design)
[ 1075.724222] i2c i2c-4: Added multiplexed i2c bus 5
[ 1075.727120] i2c i2c-4: Added multiplexed i2c bus 6
[ 1075.727135] usb 1-2.4: DVB: registering adapter 0 frontend 0 (Realtek
RTL2832 (DVB-T))...
[ 1075.746219] r820t 4-001a: creating new instance
[ 1075.762398] r820t 4-001a: Rafael Micro r820t successfully identified
[ 1075.786135] media: Linux media interface: v0.10
[ 1075.811893] Linux video capture interface: v2.00
[ 1075.854269] rtl2832_sdr: module is from the staging directory, the
quality is unknown, you have been warned.
[ 1075.855675] usb 1-2.4: Registered as swradio0
[ 1075.855685] i2c i2c-4: rtl2832_sdr: Realtek RTL2832 SDR attached
[ 1075.862263] Registered IR keymap rc-empty
[ 1075.862515] input: Realtek RTL2832U reference design as
/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.4/rc/rc0/input6
[ 1075.862877] rc0: Realtek RTL2832U reference design as
/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.4/rc/rc0
[ 1075.892423] IR NEC protocol handler initialized
[ 1075.893219] IR RC5(x) protocol handler initialized
[ 1075.893970] IR JVC protocol handler initialized
[ 1075.894733] IR RC6 protocol handler initialized
[ 1075.895350] IR Sony protocol handler initialized
[ 1075.896242] IR Sharp protocol handler initialized
[ 1075.898142] IR SANYO protocol handler initialized
[ 1075.902494] usb 1-2.4: dvb_usb_v2: schedule remote query interval to
400 msecs
[ 1075.905937] input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as
/devices/virtual/input/input7
[ 1075.906176] IR MCE Keyboard/mouse protocol handler initialized
[ 1075.906673] lirc_dev: IR Remote Control driver registered, major 250
[ 1075.915003] rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu)
registered at minor = 0
[ 1075.915012] IR LIRC bridge handler initialized
[ 1075.916338] usb 1-2.4: dvb_usb_v2: 'Realtek RTL2832U reference
design' successfully initialized and connected
[ 1075.916484] usbcore: registered new interface driver dvb_usb_rtl28xxu


Kind regards


-- 
    A: Because we read from top to bottom, left to right.
    Q: Why should I start my reply below the quoted text?

    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?

    A: The lost context.
    Q: What makes top-posted replies harder to read than bottom-posted?

    A: Yes.
    Q: Should I trim down the quoted part of an email to which I'm reply

http://www.idallen.com/topposting.html



More information about the linux mailing list