[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEnQRZCAAmcs3M+2NkNknDV_2kqHEgKbsECkLpspCYJu1vQ-7Q@mail.gmail.com>
Date: Mon, 9 Mar 2015 22:38:45 +0200
From: Daniel Baluta <daniel.baluta@...el.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Kevin Tsai <ktsai@...ellamicro.com>,
Daniel Baluta <daniel.baluta@...el.com>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald <pmeerw@...erw.net>,
"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iio: light: Add support for Capella CM3323 color/light sensor
On Mon, Mar 9, 2015 at 5:45 PM, Jonathan Cameron <jic23@...nel.org> wrote:
> On 02/03/15 19:03, Kevin Tsai wrote:
>> Hi Daniel,
>>
>> Ambient light sensor is trying to match the brightness sensitivity of human visual system. Please see the following links:
>> http://en.wikipedia.org/wiki/Color_vision#mediaviewer/File:Eyesensitivity.svg
>> http://en.wikipedia.org/wiki/Color_vision
>>
>> You can compare the spectrum with the datasheet. The green channel is matched with ALS spectrum.
> It's close (ish) to the right measurement, but it isn't the right measurement. As such
> I'd argue we leave it up to userspace to make the jump and use Green if a true estimate
> if illuminance isn't available, but don't suggest it is available from the kernel.
Ok, I will respin the patch with this in mind.
thanks,
Daniel.
--
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