Thread
:
lightsense.pl: Auto-adjust backlight based on ambient light
View Single Post
nightfire
2011-03-06 , 23:44
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#
1
Hey guys,
I'm working on a light sensing daemon to automatically adjust the backlight based on detected ambient light.
My work-in-progress (proof of concept, really) is attached, if anyone would like to try it. Specifically, I'd appreciate any feedback about the thresholds I've set or any weird behavior.
Once I've got the algorithm tweaked I'll write a proper daemon in C with a nice settings panel, and clean up the other system events that set the backlight on their own.
For now, just run it as root in a console, throw it in the background, and it'll do its thing. Feel free to play around with the variables defined in the top of the script and send me your settings if you like them better.
Attached Files
lightsense.tar.gz
(1.5 KB, 92 views)
Quote & Reply
|
The Following 5 Users Say Thank You to nightfire For This Useful Post:
drangina
,
ejasmudar
,
F2thaK
,
hawaii
,
kmare
nightfire
View Public Profile
Send a private message to nightfire
Find all posts by nightfire