sysfsutils -- the script

Andy Green andy at openmoko.com
Thu Jul 24 10:34:12 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| arne anka, 2008-07-23 20:03:21 +0200 :
|
|> sysfsutils (at least on debian/unstable) contains a script, that
|> reads a configfiole on startup and sets values in /sys/ accordingly.
|
|   Thanks for the script.
|
| [...]
|
|> class/leds/gta02-power:orange/trigger=bat-charging
|> class/leds/gta02-power:blue/trigger=bat-full
|> class/leds/gta02-aux:red/trigger=nand-disk
|>
|> when chargin the orange led should shine, when full the blue.
|
|   For some reason, once the battery has started charging, it doesn't
| seem to stop.  Sometimes the LED briefly flickers when I unplug the
| USB cable, but it comes up again.  The icon in the top of the screen
| changes to a battery rather than one with a lightning-bolt in it, but
| what does it know, the LED is directly plugged into the kernel, so I
| guess it's authoritative.  Apparently the hardware guys finally found
| an infinite source of energy!
|
| ...that, or the kernel just forgets to switch the LED off.  Andy?

Should be fixed in the last couple of days

http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=46159c9a3fba291d106625092fd62358548894e0

If you're running today's kernel, then... obviously not fixed enough!

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiIPoQACgkQOjLpvpq7dMpuMgCfeRV3SjzAsrLuUQT2piVYahw1
RREAn1ARtkPG7XRLwnfKTt72p6Jb7y/d
=D5HQ
-----END PGP SIGNATURE-----




More information about the community mailing list