Difference between revisions of "PiHPSDR compile ubuntu"
From HPSDRwiki
(→Setup gpio group) |
(→Setup gpio group) |
||
Line 19: | Line 19: | ||
<pre>sudo addgroup --system gpio</pre> | <pre>sudo addgroup --system gpio</pre> | ||
<pre>sudo adduser USERNAME gpio</pre> | <pre>sudo adduser USERNAME gpio</pre> | ||
− | + | ||
+ | Set gpio ownership and permissions on bootup | ||
+ | |||
+ | Create /etc/udev/rules.d/90-gpio.rules with: | ||
+ | |||
+ | <pre>KERNEL=="gpio*", OWNER="root", GROUP="gpio", MODE="660"</pre> |
Revision as of 07:27, 3 December 2020
Contents
[hide]PiHPSDR - Compiling on Ubuntu 20.10 64 bit
Install System Reqirements
sudo apt install build-essential git
Install piHPSDR prerequisites
sudo apt install libfftw3-dev libgtk-3-dev libasound2-dev libusb-1.0-0-dev libgpiod-dev libi2c-dev
Setup gpio group
Installing libi2c-dev creates a group i2c but installing libgpiod-dev does not create the gpio group.
Replace USERNAME with your login username.
sudo addgroup --system gpio
sudo adduser USERNAME gpio
Set gpio ownership and permissions on bootup
Create /etc/udev/rules.d/90-gpio.rules with:
KERNEL=="gpio*", OWNER="root", GROUP="gpio", MODE="660"