I was trying to get my ASUS U3100MINI_PLUS_V2 dongle to work as an SDR dongle on Alma Linux. But I tried editing the /etc/group file and added my user to the rtlsdr group and logged out and back in. Then the dongle was working fine when I ran gqrx as a normal user.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | root:x:0: bin:x:1: daemon:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6: lp:x:7: mem:x:8: kmem:x:9: wheel:x:10: cdrom:x:11: mail:x:12: man:x:15: dialout:x:18: floppy:x:19: games:x:20: tape:x:33: video:x:39: ftp:x:50: lock:x:54: audio:x:63: users:x:100: nobody:x:65534: utmp:x:22: utempter:x:35: input:x:999: kvm:x:36:qemu:jcartwright render:x:998: systemd-journal:x:190: systemd-coredump:x:997: dbus:x:81: printadmin:x:996: ssh_keys:x:995: tss:x:59:clevis sssd:x:994: polkitd:x:993: cockpit-ws:x:992: cockpit-wsinstance:x:991: chrony:x:990: sshd:x:74: slocate:x:21: sgx:x:989: systemd-oom:x:988: jcartwright:x:1000: avahi:x:70: geoclue:x:987: libstoragemgmt:x:986: rtkit:x:172: clevis:x:985: pipewire:x:984: brlapi:x:983: colord:x:982: flatpak:x:981: gdm:x:42: gnome-initial-setup:x:980: tcpdump:x:72: dnsmasq:x:979: akmods:x:978: nvidia-persistenced:x:977: wireshark:x:976:jcartwright usbmon:x:975: user1:x:1001: user2:x:1002: user3:x:1003: qemu:x:107: saslauth:x:76: rpc:x:32: rpcuser:x:29: unbound:x:974: libvirt:x:973:jcartwright rtlsdr:x:972:jcartwright |
This is my ~/.config/gqrx/default.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | [General] configversion=3 crashed=false [audio] gain=-60 udp_host=localhost [dxcluster] DXCAddress=localhost DXCFilter= DXCPort=7300 DXCSpotTimeout=10 DXCUsername=nocall [gui] geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x5-\0\0\x1/\0\0\vH\0\0\x4\xc9\0\0\x5-\0\0\x1X\0\0\vH\0\0\x4\xc9\0\0\0\0\0\0\0\0\rp) state="@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x2\0\0\0\x1\0\0\x1G\0\0\x3!\xfc\x2\0\0\0\x2\xfc\0\0\0;\0\0\x2\x5\0\0\x1\x65\0\b\0\x1a\xfa\0\0\0\x1\x2\0\0\0\x3\xfb\0\0\0\x18\0\x44\0o\0\x63\0k\0I\0n\0p\0u\0t\0\x43\0t\0l\x1\0\0\0\0\xff\xff\xff\xff\0\0\x1\f\0\xff\xff\xff\xfb\0\0\0\x12\0\x44\0o\0\x63\0k\0R\0x\0O\0p\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\x1J\0\a\xff\xff\xfb\0\0\0\xe\0\x44\0o\0\x63\0k\0\x46\0\x66\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\xc8\0\a\xff\xff\xfc\0\0\x2\x46\0\0\x1\x16\0\0\0\xde\x1\0\0\x1a\xfa\0\0\0\0\x2\0\0\0\x2\xfb\0\0\0\x12\0\x44\0o\0\x63\0k\0\x41\0u\0\x64\0i\0o\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\xc3\0\xff\xff\xff\xfb\0\0\0\xe\0\x44\0o\0\x63\0k\0R\0\x44\0S\x1\0\0\0\0\xff\xff\xff\xff\0\0\0h\0\xff\xff\xff\0\0\0\x3\0\0\0\0\0\0\0\0\xfc\x1\0\0\0\x1\xfb\0\0\0\x1a\0\x44\0o\0\x63\0k\0\x42\0o\0o\0k\0m\0\x61\0r\0k\0s\0\0\0\0\0\xff\xff\xff\xff\0\0\x1\x42\0\xff\xff\xff\0\0\x4\xcf\0\0\x3!\0\0\0\x1\0\0\0\x2\0\0\0\b\0\0\0\x2\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x16\0m\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)" [input] device="rtl=0" frequency=463000000 gains=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x6\0L\0N\0\x41\0\0\0\x2\0\0\0\x30) sample_rate=1800000 [receiver] demod=Narrow FM filter_high_cut=5000 filter_low_cut=-5000 offset=-429200 [remote_control] allowed_hosts=127.0.0.1 |
This configuration really does work just fine now. It was just a permissions issue. I can use the rtl_test utility to test the functionality of your SDR dongle.
│[jcartwright@localhost:0 gqrx]$ rtl_test Found 1 device(s): 0: Realtek, Rtl2832UDVB, SN: Using device 0: ASUS U3100MINI_PLUS_V2 Found Fitipower FC0013 tuner Supported gain values (23): -9.9 -7.3 -6.5 -6.3 -6.0 -5.8 -5.4 5.8 6.1 6.3 6.5 6.7 6.8 7.0 7.1 17.9 18.1 18.2 18.4 18.6 18.8 19.1 19.7 Sampling at 2048000 S/s. Info: This tool will continuously read from the device, and report if samples get lost. If you observe no further output, everything is fine. Reading samples in async mode... |
This was an easy fix. Now I can use the SDR dongle. After installing the sox package, I was able to listen to FM radio using my SDR dongle.
│[jcartwright@localhost:0 gqrx]$ rtl_fm -M wbfm -f 102.1M | play -r 32k -t raw -e s -b 16 -c 1 -V1 - Found 1 device(s): 0: Realtek, Rtl2832UDVB, SN: Using device 0: ASUS U3100MINI_PLUS_V2 -: (raw) File Size: 0 Encoding: Signed PCM Channels: 1 @ 16-bit Samplerate: 32000Hz Replaygain: off Duration: unknown In:0.00% 00:00:00.00 [00:00:00.00] Out:0 [ | ] Clip:0 Found Fitipower FC0013 tuner Tuner gain set to automatic. Tuned to 102371000 Hz. Oversampling input by: 6x. Oversampling output by: 1x. Buffer size: 8.03ms Exact sample rate is: 1020000.026345 Hz Sampling at 1020000 S/s. Output at 170000 Hz. In:0.00% 00:00:06.66 [00:00:00.00] Out:205k [ | ] Clip:0 ^CSignal caught, exiting! User cancel, exiting... In:0.00% 00:00:06.66 [00:00:00.00] Out:213k [ -====|====- ] Clip:0 Aborted. |