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:38:45 +1000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120426 Thunderbird/10.0.4

On 16/06/12 21:14, 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.

Thanks again Alex,

By "reload udev" do you mean restart udevd?

--
Regards,
Phil



reply via email to

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