Re: [PATCH] iio: light: Add support for Capella CM3323 color/light sensor

From: Daniel Baluta
Date: Mon Mar 09 2015 - 16:38:54 EST


On Mon, Mar 9, 2015 at 5:45 PM, Jonathan Cameron <jic23@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/