Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with USB3 #975

Open
DBMandrake opened this issue Apr 24, 2022 · 2 comments
Open

Does not work with USB3 #975

DBMandrake opened this issue Apr 24, 2022 · 2 comments

Comments

@DBMandrake
Copy link

Just trying this software for the first time (on a Windows 10 PC) and could not get it to work initially on either my Airspy Mini or RTL-SDR Blog V3 adaptors.

On the Airspy Mini:

"AirSpy-OPEN: Error Code: -5 (-5)
AirSpy: failed to start rx mode"

On the RTL-SDR device:

"RTLSDR-OPEN (#0): Error Code: -1 (-1)
RTLSDR: failed to start rx mode"

After a while I discovered the cause - I have both adaptors plugged into USB 3 ports on my PC for improved performance, (although the devices are USB2, the USB3 controller on the motherboard has better performance at high transfer rates for bulk transfers) and this software does not seem to work with USB 3 controllers, at least on this motherboard. (Gigabyte GA-78LMT-USB3 6.0)

All the other SDR software I use - over a dozen different packages/programs work fine with the devices connected to USB 3 ports, with the exception of very old rtl-sdr command line utilities which have a similar problem, and only work on USB 2 ports.

In the case of those old rtl-sdr command line utilities I was able to fix the issue with USB 3 ports by replacing their outdated libusb-1.0.dll with a more up to date version, then they work fine.

However replacing libusb-1.0.dll alone in my URH installation does not seem to fix this issue so there may be more to it than just this one dll file.

@andynoack
Copy link
Collaborator

I know that this may not be very helpful, but the AirSpy Mini works with USB3 on my PC without problems. Maybe @jopohl has an idea or can reproduce the bug.

@jopohl
Copy link
Owner

jopohl commented Oct 28, 2023

URH on WIndows ships with the recent-ish libusb 1.0.25. The utilized AirSpy and RTL-SDR driver versions can be seen here.

Did you try replacing the rtl-sdr.dll or airspy.dll files as well in URHs installation folder? I wonder whether there are special compiler flags that need to be set to enable USB3 support. I grepped through RTL-SDRs and AirSpys source code but did not see anything like that, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants