Re: [PATCH V4 1/2] introduce ALS sysfs class

From: Pavel Machek
Date: Tue Aug 25 2009 - 04:45:22 EST


On Tue 2009-08-25 15:18:13, Zhang Rui wrote:
>
> ???Introduce ALS sysfs class.
>
> ALS sysfs class provides a standard sysfs interface for
> Ambient Light Sensor devices.
>
> please read Documentation/ABI/testing/sysfs-class-als for
> detailed sysfs designs.
>
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>

ACK.

> +What: /sys/class/als/als[0-N]/display_adjustment
> +Date: Aug. 2009
> +KernelVersion: 2.6.32
> +Contact: Zhang Rui <rui.zhang@xxxxxxxxx>
> +Description: a relative percentages in order simplify the means
> + by which these adjustments are applied in lieu of
> + changes to the user???s display brightness preference.
> + A value of 100% is used to indicate no display
> + brightness adjustment.
> + Values less than 100% indicate a negative adjustment
> + (dimming); values greater than 100% indicate a positive
> + adjustment (brightening).
> + RO

And yes, I like the new interface much better.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/