El 3/10/25 a las 23:42, Markus Gustafsson escribió:
Evening!

Tonight I've been trying to get an RTL-SDR dongle working using this wiki 
article: https://wiki.gentoo.org/wiki/Rtl-sdr

I set up everything according to the article, and then tried to run 'rtl_test'. 
This worked fine as root, but not as my regular user. It gave me the following 
error message:

$ rtl_test
Found 1 device(s):
0: �+.B�, , SN:

Using device 0: Generic RTL2832U OEM
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file 
rtl-sdr.rules
Failed to open rtlsdr device #0.

This is despite having added my user to the 'sdr' group. I googled around, but 
couldn't figure anything out (everybody else seems to forget about the udev 
rule, but I didn't). Then I did the following:

$ ls -la /dev/rtl_sdr
lrwxrwxrwx 1 root root 15 Oct  3 23:19 /dev/rtl_sdr -> bus/usb/001/010
$ ls -la /dev/bus/usb/001/010
crw-rw---- 1 root plugdev 189, 9 Oct  3 23:19 /dev/bus/usb/001/010

So for some reason the group is 'plugdev'. When I added my user to that group 
everything works fine, but I don't understand why it gets added to that group? 
Is there some kind of conflict going on here? The udev rule from the article is 
the only udev rule I have (at least in /etc/udev/rules.d).

Mvh,
Markus


Probably the some reason is policykit

Attachment: OpenPGP_0x57E64E0B7FC3BEDF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to