Kernel module driver for the APU2 LEDs and button
Forked from LEDE and distributed as standalone package.
-
Requred modules:
- leds-gpio
- gpio-keys-polled
-
Install Linux headers:
sudo apt-get install linux-headers-$(uname -r)
-
Clone and install this module's sources:
git clone https://github.com/qu1x/leds-apu2.git sudo mv leds-apu2 /usr/src/leds-apu2-1.0.0
-
Build and install this module:
-
Either via Make (must be manually rebuilt for each kernel update):
sudo make -C /usr/src/leds-apu2-1.0.0 install
-
Or via DKMS (will be automatically rebuilt for each kernel update):
-
Install DKMS:
sudo apt-get install dkms
-
Install this module:
sudo dkms install leds-apu2/1.0.0
-
-
...to the module's Author Christian Lamparter for helping me to get it running with Debian Stretch.