[SOLVED] Error launching gqrx

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Error launching gqrx

Postby hduff » Apr 28th, '24, 09:54

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?
Last edited by hduff on Apr 28th, '24, 18:29, edited 1 time in total.
hduff
 
Posts: 21
Joined: May 30th, '13, 21:10

Re: Error launching gqrx

Postby doktor5000 » Apr 28th, '24, 15:42

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18013
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Error launching gqrx

Postby hduff » Apr 28th, '24, 16:53

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 302 times
hduff
 
Posts: 21
Joined: May 30th, '13, 21:10

Re: Error launching gqrx

Postby hduff » Apr 28th, '24, 17:45

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.
hduff
 
Posts: 21
Joined: May 30th, '13, 21:10

Re: Error launching gqrx

Postby doktor5000 » Apr 28th, '24, 20:06

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18013
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Error launching gqrx

Postby hduff » Apr 28th, '24, 23:58

I'll do a re-install from scratch and see if those issues remain.



removed quote. ~Germ
Last edited by doktor5000 on Apr 29th, '24, 01:20, edited 1 time in total.
hduff
 
Posts: 21
Joined: May 30th, '13, 21:10


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest