discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] RuntimeError: Failed to open rtlsdr device - some


From: Phil
Subject: Re: [Discuss-gnuradio] RuntimeError: Failed to open rtlsdr device - some success
Date: Sun, 17 Jun 2012 11:40:31 +1000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120426 Thunderbird/10.0.4

On 17/06/12 01:23, Marcus D. Leech wrote:
On 16/06/12 07:14 AM, Alex DEKKER wrote:
On 16/06/12 11:56, Phil wrote:

OK I now have simple_FM_rcv running as root!

So all I need now is to set the permission of the dongle. How might I
do that?

I have an FCD and an RTL dongle. I got the FCD first, for which I
created a udev rule. I duplicated these for the RTL dongle:

$ cat /etc/udev/rules.d/20-fcd.rules
SUBSYSTEM=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb56"
MODE:="0666" SYMLINK+="FCD"
SUBSYSTEM=="usb" ATTRS{idVendor}=="1d19" ATTRS{idProduct}=="1101"
MODE:="0666" SYMLINK+="DVB"

In case it's not obvious, the hex numbers are the VID/PID of the USB
device. You can see these for connected USB devices with lsusb. The
MODE parameter determines the permissions, in this case RW for
everybody. Once the rules are created, reload udev and reinsert the
device.

alexd


The rtl-sdr source includes a rules file that can be placed in
/etc/udev/rules.d

Thanks Marcus.

--
Regards,
Phil



reply via email to

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