docker-gnuradio icon indicating copy to clipboard operation
docker-gnuradio copied to clipboard

Running gnuradio companion as sudo

Open CraigKnoblauch opened this issue 3 years ago • 2 comments

Hey there! First off, thank you for putting these Dockerfiles together. The image builds and runs without a hitch. I've been working on getting your image to work with the HackRF One. I'm able to pass the radio through to the container and verify that the container has access to it. Unfortunately, the container only seems to have access to the radio with sudo. I tried running the companion with sudo but I get an error from the GTK libraries. Specifically this call in the gnuradio source returns None when using sudo. Do you have any suggestions on how I can run gnuradio companion with sudo? Or how to give the container access to the radio without using sudo?

CraigKnoblauch avatar Jan 13 '22 19:01 CraigKnoblauch

Hi, sorry for the delay in the answer. Sadly, I have little help to offer. Regarding how to get the companion running under sudo, maybe you could try asking at the discuss-gnuradio list (or open an issue on their repo). Regarding access to the hardware from the container, I'd really appreciate if you could share how you did it (even if using sudo), since I've tried but couldn't.

git-artes avatar Feb 01 '22 14:02 git-artes