samsung-laptop: light sensor?
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
Quoted 11 lines · Alexander Holler
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).
Quoted 3 lines
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 far :). I'll happy to review if you have the time to do that.
Signature · 2 lines
Corentin Chary http://xf.iksaif.net
Am 10.09.2012 11:27, schrieb Corentin Chary:
Quoted 16 lines · Alexander Holler
Quoted 11 lines
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).
Quoted 3 lines
Regards,
Alexander
Quoted 8 lines
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.develBasically, 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.
Quoted 1 line
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
Quoted 23 lines · Alexander Holler
Am 10.09.2012 11:27, schrieb Corentin Chary:
Quoted 22 lines · Alexander Holler
Quoted 11 lines
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).
Quoted 3 lines
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
Quoted 8 lines
Quoted 2 lines
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/illuminance3230
----
Even better, in the last versions of the patches (v6 or something) there was something (don't remember the name of the file) that could be directly wirtten to backlight brightness file.
Quoted 9 lines
Only a few modifications on the 2 patches from Zhang Rui were necessary to build the driver for the als-acpi-device.
Quoted 1 line
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).
Take a look at "acpi als iio" on the mailing list to know what have to be done !
Signature · 2 lines
Corentin Chary http://xf.iksaif.net