Odroid xu4 - cloudshell control backlight with c1 remote

I use wiringpi to control the backlight it is also possible to write direct to the hardware see : http://odroid.com/dokuwiki/doku.php?id=en:xu4_cloudshell_lcd_backlight
1. Dietpi-software
select software additional
under Development / Programming add :
Build-essentials
Git client
select go to install the software

2. install wiringpi

git clone https://github.com/hardkernel/wiringPi
cd wiringPi
./build

3. add to /etc/lirc/lircmd.conf

# backlight OFF
begin
   prog   = irexec
   button = KEY_VOLUMEDOWN
   config = gpio write 7 0
end
# backlight ON
begin
   prog   = irexec
   button = KEY_VOLUMEUP
   config = gpio write 7 1
end

If you want, you can use other remote keys, adjust the button keyword in the config.

Excellent guide, thanks for sharing. Sticky :slight_smile:

I could never get the screen to enter powersaving mode (blanking), unless the command was run from the main screen: https://github.com/Fourdee/DietPi/issues/379#issuecomment-225637243

So this is a great alternative, good stuff :slight_smile: