Odroid xu4 - cloudshell control backlight with c1 remote

Guides and tutorials for various stuff. Posted by DietPi users.
Post Reply
delaerp

Odroid xu4 - cloudshell control backlight with c1 remote

Post by delaerp »

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= ... _backlight
1. Dietpi-software
select software additional
under Development / Programming add :
Build-essentials
Git client
select go to install the software

2. install wiringpi

Code: Select all

git clone https://github.com/hardkernel/wiringPi
cd wiringPi
./build
3. add to /etc/lirc/lircmd.conf

Code: Select all

# 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.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Odroid xu4 - cloudshell control backlight with c1 remote

Post by Fourdee »

Excellent guide, thanks for sharing. Sticky :)

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/issue ... -225637243

So this is a great alternative, good stuff :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply