cariboulabs / cariboulite

CaribouLite turns any 40-pin Raspberry-Pi into a Tx/Rx 6GHz SDR
1.1k stars 104 forks source link

FYI - sudo / pulseaudio conflict #175

Open unixpunk opened 10 months ago

unixpunk commented 10 months ago

I wanted to post and let others know of a workaround to the issue that doing anything with caiboulite requires root / sudo which then breaks pulseaudio.

  1. Edit /etc/group and add your user to the dialout and root groups.
  2. Edit /etc/rc.local and directly above the 'exit 0' line, insert a new line with this: chmod g+rw /dev/gpiomem
  3. Reboot

Doing this on DragonOS where the cariboulite was working in SDR++ but not CubicSDR - this allows you to run CubicSDR without root and use the sdr fine. I have best success on my pi4 4gb using 4mhz sample rate. Remember to swap IQ each time, as well.

Maybe this goes in a doc somewhere.