N900 light meter: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>speedevil
imported>amigadave
wikify slightly, categorize
Line 1: Line 1:
The light meter lets the software on the n900 sense ambient light levels.
The light meter lets the software on the [[Nokia N900|N900]] sense ambient light levels.
=Hardware=
 
==Hardware==
 
The device is a TAOS [http://www.taosinc.com/downloaddetail.aspx?did=141 TSL2563].
The device is a TAOS [http://www.taosinc.com/downloaddetail.aspx?did=141 TSL2563].


=Software=
==Software==
 
It is handled by the kernel module tsl2563.
It is handled by the kernel module tsl2563.


The kernel driver exposes the lux value in the sysfs file
The kernel driver exposes the [[:wikipedia:lux|lux]] value in the sysfs file
  cat /sys/class/i2c-adapter/i2c-2/2-0029/lux
  cat /sys/class/i2c-adapter/i2c-2/2-0029/lux
  21
  21
Line 13: Line 16:


The sensor is also used to modulate the backlight in response to ambient light.
The sensor is also used to modulate the backlight in response to ambient light.
[[Category:N900 Hardware]]

Revision as of 10:26, 9 June 2010

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

Hardware

The device is a TAOS TSL2563.

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

Third party applications that use this sensor include Luxus Light Meter.

The sensor is also used to modulate the backlight in response to ambient light.