Page 1 of 1

[SOLVED] Error launching gqrx

PostPosted: Apr 28th, '24, 09:54
by hduff
I've installed the gqrz application (for software defined radio) and get the following response:
Code: Select all
$ gqrx
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.5.1
built-in source types: file fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
Resampling audio 96000 -> 48000
BandPlanFile is /home/hoyt/.config/gqrx/bandplan.csv
BookmarksFile is /home/hoyt/.config/gqrx/bookmarks.csv
[INFO] [UHD] linux; GNU C++ version 12.2.1 20230128; Boost_108100; UHD_4.4.0.0-0-unknown
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.5.1
built-in source types: file fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
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
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.5.1
built-in source types: file fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
WARNING: Overriding original sample rate of 96000 with 1.8e+06


I have installed the udev rules file rtl-sdr.rules file in /etc/udev/rules.d/
Code: Select all
# RTL2832U OEM vid/pid, e.g. ezcap EzTV668 (E4000), Newsky TV28T (E4000/R820T), ‎NESDR SMArt v5 etc.
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"


The device itself is:
Code: Select all
$lsusb
...
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
...


So it appears the device permissions cannot be initialized even though the udev rule exists.

In case it matters:
Code: Select all
$ uname -a
Linux zeus.maximumhoyt.com 6.6.28-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Wed Apr 17 17:19:36 UTC 2024 x86_64 GNU/Linux



What to do?

Re: Error launching gqrx

PostPosted: Apr 28th, '24, 15:42
by doktor5000
Well, what are the actual permissions of the USB device? Also is your user in the group plugdev ?
Code: Select all
ls -al /dev/bus/usb


Also the following would help to show all the udev attributes for the device and the nodes above the device
Code: Select all
udevadm info --attribute-walk --name=/dev/path/to/USB/device

Re: Error launching gqrx

PostPosted: Apr 28th, '24, 16:53
by hduff
Thank you for the quick reply!

ls -al /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 256 Apr 28 03:31 /dev/bus/usb/003/001


There is no group plugdev.

udev.txt
(6.02 KiB) Downloaded 312 times

Re: Error launching gqrx

PostPosted: Apr 28th, '24, 17:45
by hduff
There is no group plugdev.


Upon re-reading this, I added the group plugdev and the device appears to be working although I'm getting some .

Should not installing the gqrs package create that group? I can file a bug report about that if necessary.

Also, it seems necessary to have gnuradio installed which is not a dependency of gqrx. I can file a bug report about that if necessary.

So, for this issue, I can mark it as SOLVED and continue troubleshooting other issues.

Thanks for pointing me in teh right direction.

Re: Error launching gqrx

PostPosted: Apr 28th, '24, 20:06
by doktor5000
hduff wrote:Should not installing the gqrs package create that group? I can file a bug report about that if necessary.

Also, it seems necessary to have gnuradio installed which is not a dependency of gqrx. I can file a bug report about that if necessary.

Well, if it doesn't work out of the box, you should probably report it, IMHO you can also report both issues in one bug against gqrx.

Re: Error launching gqrx

PostPosted: Apr 28th, '24, 23:58
by hduff
I'll do a re-install from scratch and see if those issues remain.



removed quote. ~Germ