Closed victorhooi closed 3 months ago
I went to https://github.com/jopohl/urh/wiki/Supported-devices, and I saw that it mentioned there's an "Options -> Devices" screen.
On macOS, this seems to be under python3.11, Preferences...:
If I open that up, and go to the Devices tab, I noticed that for some reason, USRP was unticked by default:
I'm thinking that might be my issue - will confirm once I get home.
However, is there a reason that USRP is unticked by defaut? As in, are there any caveats or warnings with this plugin versus the other types?
Usually all SDRs are unticked when you install from source. As you have installed with a package manager, there might be a special crafted package with enabled devices. The driver, however, must be installed beforehand, so in your case the USRP was probably disabled at first. If the driver is installed you should be able to activate it now.
How to make the device support USRP
airspy -- ERROR: No module named 'urh.dev.native.lib.airspy' bladerf -- ERROR: No module named 'urh.dev.native.lib.bladerf' hackrf -- ERROR: No module named 'urh.dev.native.lib.hackrf' limesdr -- ERROR: No module named 'urh.dev.native.lib.limesdr' plutosdr -- ERROR: No module named 'urh.dev.native.lib.plutosdr' rtlsdr -- ERROR: No module named 'urh.dev.native.lib.rtlsdr' sdrplay -- ERROR: No module named 'urh.dev.native.lib.sdrplay' usrp -- ERROR: No module named 'urh.dev.native.lib.usrp' SoundCard -- No module named 'pyaudio'
I will close here because the original issue seems to be solved or inactive. Issues are not for installation support, please visit our Slack channel.
So what should I do to fix it, on windows platforms
This is not a bug in URH, your installation (Windows/SDR drivers/URH installation) is bugged. Make a clean reinstallation.
Expected Behavior
Installing urh with USRP support, it should list "USRP" as an option under Devices in the UI.
(I saw that USRP support was added quite some time back in 2017 - https://github.com/jopohl/urh/issues/133 - hence why I assumed it should probably work out of the box).
Actual Behavior
I've installed URP 2.9.6 with USRP support, and I don't seem to see "USRP" as an option in the Device dropdowns.
If I launch urh, and then go to any of the dialogs (e.g. Spectrum Analyzer), and then click on Device - I don't seem to see "USRP" (or anything similar) listed:
Steps To Reproduce
Screenshots
Platform Specifications
I also checked my local build logs for the nix package - it does seem to mention it was compiled with USRP support.
Full build logs are here:
https://gist.github.com/victorhooi/540a01284a681cb33cb5aea32fa10ff1