Hi,

On Mon, Apr 09 2012, Nicholas Doiron wrote:
> Is there a way to read the current value of the 1.75's ambient light sensor?
> It'd be neat if that could be displayed by an activity.

Yes, /sys/devices/platform/olpc-ols.0/level

You can read powerd's source on the XO; it uses a more complicated API
involving setting limits of high and low light to change the backlight.

- Chris.
-- 
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to