discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] RTL SDR & GNU Radio new linux machine.


From: Cinaed Simson
Subject: Re: [Discuss-gnuradio] RTL SDR & GNU Radio new linux machine.
Date: Sun, 23 Oct 2016 21:16:22 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 10/23/2016 04:35 PM, address@hidden wrote:
> Hi,
> 
> I just built Gnu Radio from source on a new/fresh linux machine (Ubuntu
> 16)
> 
> For some reason, my RTL-SDR device cannot be opened.
> 
> I get this error:
> 
> usb_claim_interface error -6

Try installing the enclosed file in

  /etc/modprobe.d/rtl-blacklist.conf

It's most likely the kernel is loading the driver for a rtl ethernet
card preventing the driver for the rtl dongle from being loaded.

Blacklisting the driver for the rtl dongle prevents the kernel from
trying to load its rtl driver when the dongle is connected.

You may have to reboot.

Also, check to see if the file

  /etc/udev/rules.d/rtl-sdr.rules

exists.

And type

  groups

and make sure you're a member of the group

  usb

-- Cinaed

> 
> 1) The device is present, it shows in dmesg
> 
> 2) I do not think it is a udev permissions error - 
> a) the rules are installed in /dev/udev/rules.d/15-rtl-sdr.rules
> b) Running GnuRadio as ROOT - has the same result.
> 
> 3) Also Running any of the RTL tool commands have the same errors.
> 
> tried this: http://gnuradio.org/redmine/issues/659 - become root as
> workaround - does not help
> 
> 4) I do see the device:  /dev/swradio0 - show up
> 
> 5) DMESG output is below
> 
> My hunch is this:
>    Something is grabbing the interface
>    And that is stopping GNU radio from using it.
> 
> Sort of stuck.... Any suggestions?
> 
> ========================
> address@hidden:~$ dmesg
> [ 1390.155412] usb 3-7: new high-speed USB device number 14 using
> xhci_hcd
> [ 1390.351122] usb 3-7: New USB device found, idVendor=0bda,
> idProduct=2838
> [ 1390.351132] usb 3-7: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [ 1390.351138] usb 3-7: Product: RTL2838UHIDIR
> [ 1390.351144] usb 3-7: Manufacturer: Realtek
> [ 1390.351149] usb 3-7: SerialNumber: 00000001
> [ 1390.358518] usb 3-7: dvb_usb_v2: found a 'Realtek RTL2832U reference
> design' in warm state
> [ 1390.411917] usb 3-7: dvb_usb_v2: will pass the complete MPEG2
> transport stream to the software demuxer
> [ 1390.411928] DVB: registering new adapter (Realtek RTL2832U reference
> design)
> [ 1390.415941] i2c i2c-6: Added multiplexed i2c bus 7
> [ 1390.415945] rtl2832 6-0010: Realtek RTL2832 successfully attached
> [ 1390.415950] usb 3-7: DVB: registering adapter 0 frontend 0 (Realtek
> RTL2832 (DVB-T))...
> [ 1390.416003] r820t 7-001a: creating new instance
> [ 1390.427516] r820t 7-001a: Rafael Micro r820t successfully identified
> [ 1390.428198] rtl2832_sdr rtl2832_sdr.1.auto: Registered as swradio0
> [ 1390.428211] rtl2832_sdr rtl2832_sdr.1.auto: Realtek RTL2832 SDR
> attached
> [ 1390.428212] rtl2832_sdr rtl2832_sdr.1.auto: SDR API is still slightly
> experimental and functionality changes may follow
> [ 1390.434674] Registered IR keymap rc-empty
> [ 1390.434714] input: Realtek RTL2832U reference design as
> /devices/pci0000:00/0000:00:14.0/usb3/3-7/rc/rc0/input26
> [ 1390.434794] rc0: Realtek RTL2832U reference design as
> /devices/pci0000:00/0000:00:14.0/usb3/3-7/rc/rc0
> [ 1390.435000] rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu)
> registered at minor = 0
> [ 1390.435044] input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as
> /devices/virtual/input/input27
> [ 1390.435158] usb 3-7: dvb_usb_v2: schedule remote query interval to
> 200 msecs
> [ 1390.451269] usb 3-7: dvb_usb_v2: 'Realtek RTL2832U reference design'
> successfully initialized and connected
> address@hidden:~$ lf /dev/swradio0 
> crw-rw-rw-+ 1 root video 81, 0 Oct 23 16:29 /dev/swradio0
> address@hidden:~$ 
> ========================
> 
> -Duane.
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 

Attachment: rtl-blacklist.conf
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]