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

Issue to Run gnss-spr in Docker with HackRF One Connected with MAC OS #1

Open
SoniaKaudjhis opened this issue Jan 8, 2024 · 0 comments

Comments

@SoniaKaudjhis
Copy link

I try to make work my hackrf one connected to the host MAC OS Somana 14.1.1 and run the docker.

Scenario :

  1. Connect HackRF One Via USB ( The hack RF One has antenna )
  2. run the following command : docker run -it -v /Users/macsonia/Documents/gps-sdr-sim:/data carlesfernandez/docker-gnsssdr
  3. copy my device conf to Home folder : cp /data/hackrf_GPS_L1.conf . My config file is simular to this config file : configfile
  4. I execute the following command : gnss-sdr --config_file=./hackrf_GPS_L1.conf
  5. I obtain the following results :
Initializing GNSS-SDR v0.0.18.git-next-8e1a7ce78 ... Please wait.
Logging will be written at "/tmp"
Use gnss-sdr --log_dir=/path/to/log to change that.
OsmoSdr arguments: hackrf,bias=1
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.1.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Configuration error in SignalSource block, implementation Osmosdr_Signal_Source. The error was:
Failed to use '0' as HackRF device index: not enough devices
GNSS-SDR program ended.

It seems like inside in the image,it didn't reconize the usb. Do you know someone who make it work ?
Thanks you

System Information

OS : MAC OS Sonoma 14.1.1
Docker Desktop : Docker Desktop 4.26.1 (131620)

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

1 participant