Re: samsung-laptop: light sensor?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 10.09.2012 11:27, schrieb Corentin Chary:
> On Sun, Sep 9, 2012 at 8:31 PM, Alexander Holler <holler@xxxxxxxxxxxxx> wrote:
>> Hello,
>>
>> I'm searching some information about how to read the values from the
>> light sensor found on some Samsung laptops.
>>
>> Does anyone have any information about how to access the light sensor?
>> If I would find such information, I would (try) to write a driver (or
>> enhance samsung-laptop), at least to read the values and maybe something
>> to adjust the keyboard- and/or the lcd-backlight (on startup and maybe
>> dynamically at runtime).
>>
>> Regards,
>>
>> Alexander
> 
> Hello Alexander,
> The light sensor can be used (on mine at least), but nobody had the
> time to write (rebase) the driver for it.
> Check these discussions:
> http://search.gmane.org/?query=ACPI+light+sensor&group=gmane.linux.acpi.devel
> 
> Basically, it's a standard ACPI light sensor, there was a driver for
> it, but it should use another subsystem, and nobody did the work so

Thanks a lot for that hint. I've just booted an 3.5.3:
----
laptopah ~ # cat /sys/class/als/acpi_als0/illuminance
3230
----

Only a few modifications on the 2 patches from Zhang Rui were necessary
to build the driver for the als-acpi-device.

> far :). I'll happy to review if you have the time to do that.

I will have a look at the threads for those 2 patches and will check if
I can modify those patches for a next try for inclusion into the
mainline kernel (in the next weeks, as I will find time, I'm new to the
acpi-stuff in the kernel).

Regards,

Alexander

--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux