lkml.org 
[lkml]   [2009]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V5 1/2] introduce ALS sysfs class
Hi!

> @@ -0,0 +1,32 @@
> +What: /sys/class/als/als[0-N]/desc
> +Date: Aug. 2009
> +KernelVersion: 2.6.32
> +Contact: Zhang Rui <rui.zhang@intel.com>
> +Description: Strings which descibes the current Ambient Light Sensor
> + device. This is given by native ALS driver as part of
> + registration. e.g: "acpi_als" for ACPI ALS devices.
> + RO

Normal way to do that (backlight class does it, for example) is to
have acpi_als instead of als0, and get rid of desc field.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2009-08-31 10:37    [W:0.037 / U:11.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site