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

Soapy SDR No devices found #431

Closed
Oliver0804 opened this issue Mar 28, 2024 · 9 comments
Closed

Soapy SDR No devices found #431

Oliver0804 opened this issue Mar 28, 2024 · 9 comments

Comments

@Oliver0804
Copy link

Oliver0804 commented Mar 28, 2024

$SoapySDRUtil --find
Password:
Sorry, try again.
Password:
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################
No devices found! 
$hackrf_info
hackrf_info version: 2024.02.1
libhackrf version: 2024.02.1 (0.9)
Found HackRF
Index: 0
Serial number: -=-=-=-=-=-=-=
Board ID Number: 2 (HackRF One)
Firmware Version: 2024.02.1 (API:1.08)
Part ID Number: -=-=-=-=-=-=-=
Hardware Revision: older than r6
Hardware supported by installed firmware:
    HackRF One

I use macOS with an M3 CPU model. I can successfully identify the HackRF One in GQRX, but I can't find my device using SoapySDRUtil --find. What steps might I be missing?

By the way, I installed SoapySDRUtil automatically using brew when installing GNURadio.

@zuckschwerdt
Copy link
Member

SoapySDRUtil --info

@Oliver0804
Copy link
Author

SoapySDRUtil --info

######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Lib Version: v0.8.1-release
API Version: v0.8.0
ABI Version: v0.8
Install root: /opt/homebrew
Search path: /opt/homebrew/lib/SoapySDR/modules0.8
Module found: /opt/homebrew/lib/SoapySDR/modules0.8/librtlsdrSupport.so (0.3.3)
Available factories... rtlsdr
Available converters...

  • CF32 -> [CF32, CS16, CS8, CU16, CU8]
  • CS16 -> [CF32, CS16, CS8, CU16, CU8]
  • CS32 -> [CS32]
  • CS8 -> [CF32, CS16, CS8, CU16, CU8]
  • CU16 -> [CF32, CS16, CS8]
  • CU8 -> [CF32, CS16, CS8]
  • F32 -> [F32, S16, S8, U16, U8]
  • S16 -> [F32, S16, S8, U16, U8]
  • S32 -> [S32]
  • S8 -> [F32, S16, S8, U16, U8]
  • U16 -> [F32, S16, S8]
  • U8 -> [F32, S16, S8]

@zuckschwerdt
Copy link
Member

You don't have a hackrf module installed. It should be in /opt/homebrew/lib/SoapySDR/modules0.8

@Oliver0804
Copy link
Author

You don't have a hackrf module installed. It should be in /opt/homebrew/lib/SoapySDR/modules0.8

截圖 2024-03-28 下午5 07 20

I only see librtlsdrSupport.so. What should I do next, or what else should I install?

Thank you.

@zuckschwerdt
Copy link
Member

You need this https://github.com/pothosware/SoapyHackRF
No idea if that is available as brew package.

@zuckschwerdt
Copy link
Member

Following the wiki it should be.

@Oliver0804
Copy link
Author

You need this https://github.com/pothosware/SoapyHackRF No idea if that is available as brew package.

I will try to compile and install it. Thank you.

@Oliver0804
Copy link
Author

維基百科應該是的。

SoapySDRUtil --find
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Found device 0
  device = HackRF One
  driver = hackrf
  label = HackRF One #0 
  version = 2024.02.1

Success! Thank you so much.

@ybm911
Copy link

ybm911 commented Apr 19, 2024

Please note here that if you are using brew-installed Soapy, the compiled and installed SoapyHackRF will appear in the wrong directory:

/usr/local/lib/SoapySDR/modules0.8/libHackRFSupport.so

You need to specify the file location during compilation:

cmake -DCMAKE_INSTALL_PREFIX=/opt/homebrew ..

Or copy it after compilation.
This issue is covered here: pothosware/SoapyHackRF#42 (comment)

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

No branches or pull requests

3 participants