• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / General Linux questions / Re: How to switch of LEDS during halt on: January 08, 2012, 08:09:58 PM
I guess the OP already answered his own question. http://www.plugcomputer.org/plugforum/index.php?topic=6003.0
Good job with the script.
2  Linux Stuff / General Linux questions / Re: How to switch of LEDS during halt on: January 08, 2012, 07:48:56 PM
Personally, I haven't figured out how to turn off the power light. The  LEDs are bright.
3  Linux Stuff / General Linux questions / Re: How to switch of LEDS during halt on: January 05, 2012, 08:58:13 PM
turn off bluetooth led:
/sbin/blinkbtled 0xf1010148 w 0x000

turn on bluetooth led:
/sbin/blinkbtled 0xf1010148 w 0x8000

to turn on LEDs:

echo 1 > /sys/devices/platform/leds-gpio/leds/guruplug\:green\:health/brightness
echo 1 > /sys/devices/platform/leds-gpio/leds/guruplug\:green\:wmode/brightness
echo 1 > /sys/devices/platform/leds-gpio/leds/guruplug\:red\:health/brightness
echo 1 > /sys/devices/platform/leds-gpio/leds/guruplug\:red\:wmode/brightness

turn them off by sending 0 to the devices.

You could do something similar to /etc/init.d/rc.local on shutdown.
Pages: [1]