Light sensor on XO-1.75

Bert Freudenberg bert at freudenbergs.de
Mon Aug 29 13:06:32 EDT 2011


On 17.08.2011, at 17:24, Martin Langhoff wrote:
> Saadia Baloch (4):
>      Driver to read Outdoor Light Sensor from EC on OLPC.

So this is exposed at

	/sys/devices/platform/olpc-ols.0/power_state

And it seems to sit "behind" the blinking left-most LED? And the blink rate is proportional to the light sensed? Why?

>      Add compass driver for LSM303DLH.
>      xo_175_defconfig: Enable magnetometer/compass.
>      olpc-xo-1-75.c: Add compass support

Is the compass exposed, too? Is there a list of all the sensors and how to access them somewhere?

- Bert -





More information about the Devel mailing list