View Single Post
Posts: 44 | Thanked: 89 times | Joined on Oct 2009
#14
Hi, am the author of the Luxus program.

I would like to help you and I will, but I seem to have temporary problems. My development PC just died and it will take some days to get it going again. Of course I have the backups but I can't easily access them right now.

Meanwhile I was going to just look at the source code package from the web: http://maemo.org/packages/source/vie...e/luxus/0.4-1/ and copy paste the relevant code lines here for reading the ambient light sensor, but that web address isn't working for me either.

Basically it's really simple, there's a special file somewhere in /proc/sys/dev/something/something that you read, it has the light sensor value in lux units. If you are able to fetch the source code, you can locate the exact path by finding where I am opening some file from a path like that.
 

The Following 2 Users Say Thank You to toninikkanen For This Useful Post: