-
Notifications
You must be signed in to change notification settings - Fork 40
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
(Suggestion) Add AntSDR support #5
Comments
It appears the AntSDR E200 works directly with the UHD drivers provided by Ettus (as commands like uhd_find_devices work). In that case, this SDR should work directly too! In the config/ folder use the config-usrp.yml file, and playing around with the device parameters should get it working. If not please post error messages and I can put fixes in. Our dollar is terrible at the moment so I'll try and see if I can borrow one. |
The AntSDR only works with UHD if the modified MicroPhase branch is used as linked above. If that’s not needed within the docker, great, because the modified UHD is already in DragonOS natively and I can go test it myself now. |
I took a peek at the docker file
It would not work as is, would need modified to build the uhd linked above. Preferably a branch off main. I’ll mess around with it when I get a chance. |
Looks like you’ll have to build the modified UHD from source then since there’s no package equivalent. This will add ~30 mins to the build time, but I can put a Dockerfile together to build for the AntSDR - stay tuned. |
Building the modified UHD from source takes around 30 mins, but let me know how it goes. |
It might be that it's just late, so I'll take another look in the morning. It seems the docker on the antsdr branch is still showing |
Nah you're right - completely messed up my one job. Let me just change the repo and rebuild. |
Getting a weird versioning error when building with CMake - the AntSDR code doesn't seem to like the following line: Tried removing the version, unless it's named something else in CMake? I'll have another stab tomorrow, but pushing changes in.
|
I'll have to jump to a different system. My one 22.04 Host while trying to build main or the ant branch is giving me issues at the moment.
|
I can suppress the error and get the find_package(UHD ..) line to complete, but now I'm getting errors from including #include <uhd/usrp/multi_usrp.hpp> - may be more difficult without delving into the AntSDR changes in more detail. Not sure about the lock file issue, my host is 22.04 as well. Try sudo docker system prune -a to clear all cache? |
I read this, |
Off topic, but it appears this 3.12 API is far more stable. I managed one time so far to get the blah2 container to start, but the Duo was not usable. Stopped the container and ran SoapySDRUtil --find which just kind of hung (not a surprise to me). So I ran sudo systemctl restart sdrplay.service which also just looked to be hanging, but i waited maybe a minute and it eventually completed. I think in the past I've had to kill the service manually and then restart to get SDRPlay equipment back and usable. After the restart I've started and stopped the container like 5 times, even pulled out the usb connector and plugged back in. I've not been able to get the SDRplay service to hang again. |
That's great to hear - during development I often had to restart the SDRplay service and wait the ~2 minutes for it to restart. Tried it just then and you're right, seems to be instantly restarting which is great. |
The AntSDR e200 is very similar to the b210. If perhaps you can make a branch/docker with this modified uhd I can test w/ my AntSDR e200. It is reachable on a network connection so that may be a consideration for how the docker is configured.
https://github.com/MicroPhase/antsdr_uhd
I’ve not looked closely at your recent updates, so this is just a suggestion that may or may not work. Looking forward to testing outside with my sdrplay Duo asap.
The text was updated successfully, but these errors were encountered: