[maemo-developers] n810: Light Sensor (?)

From: Klaus.K Pedersen (Nokia-M/Helsinki) klaus.k.pedersen at nokia.com
Date: Thu Jan 10 17:47:04 EET 2008
On Wed, 2008-01-09 at 18:32 +0100, ext Luca De Cicco wrote:
> Hi there to the list. 
> 
> Sorry if ask something which has been already discussed... 
> I was wondering if there is some specification about the
> small thing near the camera which appears to be a Light Sensor. 

The device is fully supported by the hwmon interface:

$ cd /sys/class/hwmon/hwmon0/device
$ ls
adc            calib1         lux            subsystem/
bus/           driver/        name           uevent
calib0         hwmon:hwmon0/  power/

$ cat name
tsl2563

$ cat lux
303


Happy hacking :-)


> 
> I'm thinking about funny applications of that little sexy thing.
> 
> Cheers,
> Luca
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list