lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1251794376.3483.238.camel@rzhang-dt>
Date:	Tue, 01 Sep 2009 16:39:36 +0800
From:	Zhang Rui <rui.zhang@...el.com>
To:	Pavel Machek <pavel@....cz>
Cc:	Len Brown <lenb@...nel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	linux-acpi <linux-acpi@...r.kernel.org>,
	Greg KH <greg@...ah.com>,
	Dmitry Torokhov <dmitry.torokhov@...il.com>
Subject: Re: [PATCH V6 2/2] introduce ACPI ALS device driver

On Tue, 2009-09-01 at 16:13 +0800, Pavel Machek wrote:
> Hi!
> 
> > ACPI spec defines ACPI Ambient Light Sensor device (hid ACPI0008),
> > which provides a standard interface by which the OS may query properties
> > of the ambient light environment the system is currently operating in,
> > as well as the ability to detect meaningful changes in these values when
> > the environment changes.
> 
> > +struct acpi_als {
> > +	struct acpi_device *device;
> > +	struct als_device *als_sys;
> > +	int illuminance;
> > +	int chromaticity;
> > +	int temperature;
> > +	int polling;
> > +	int count;
> > +	struct als_mapping *mappings;
> > +};
> 
> chromaticity is write-only variable.

>  I believe you can drop it and
> associted code.
> 
> temperature ditto. Drop from this version?
> 
> polling ditto. Drop from this version?
> 
color temperature, chromaticity and polling are three optional features
defined in the ACPI spec, which are not supported yet in the ACPI ALS
driver right now.

I think it's okay to add the code first and then generate some
incremental patches to enable these features once we found such kind of
platforms.

thanks,
rui


> Thanks,
> 									Pavel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ