N900 light meter

(New page: The light meter lets the software on the n900 sense ambient light levels. =Hardware= The device is a TAOS [http://www.taosinc.com/downloaddetail.aspx?did=141 TSL2562]. =Software=)
(Software)
Line 3: Line 3:
The device is a TAOS [http://www.taosinc.com/downloaddetail.aspx?did=141 TSL2562].
The device is a TAOS [http://www.taosinc.com/downloaddetail.aspx?did=141 TSL2562].
=Software=
=Software=
 +
It is handled by the kernel module tsl2563.
 +
 +
The kernel driver exposes the lux value in the sysfs file
 +
cat /sys/class/i2c-adapter/i2c-2/2-0029/lux
 +
21

Revision as of 23:33, 7 June 2010

The light meter lets the software on the n900 sense ambient light levels.

Hardware

The device is a TAOS TSL2562.

Software

It is handled by the kernel module tsl2563.

The kernel driver exposes the lux value in the sysfs file

cat /sys/class/i2c-adapter/i2c-2/2-0029/lux
21