Asus-Zenbook-Ambient-Light-Sensor-Controller icon indicating copy to clipboard operation
Asus-Zenbook-Ambient-Light-Sensor-Controller copied to clipboard

Screen brightness not set according to ambient light - seems constant to the eye

Open louisnichols opened this issue 6 years ago • 0 comments

Hi!

I have a UX305F.

As far as I can tell, everything is installed correctly. Driver is loaded, The value of /sys/bus/acpi/devices/ACPI0008:00/ali changes depending on the amount of light to the sensor. als-controller starts and -e, -d, -s work as expected. switch.sh also seems to have done its job

When -e, if I try to set brightness manually, the brightness will "jump" back to some value after a second or so. When -d, the same does not happen. So it's as if als-controller is in charge.

At the same time, dmesg shows entries like this: [ 1353.544524] als_notify 80 68 [ 1382.192085] als_notify 80 63 [ 1457.084030] als_notify 80 64 [ 1510.537693] als_notify 80 55 [ 1527.667035] als_notify 80 0 [ 1539.813231] als_notify 80 52 [ 1612.385555] als_notify 80 93 [ 1620.444981] als_notify 80 3 [ 1632.556895] als_notify 80 58 [ 1745.463713] als_notify 80 67 [ 1974.101690] als_notify 80 4d

However, the brightness does not actually change when ambient light changes. To the eye, it is always the same. I tried covering the sensor and nothing changed (although I can see the value of /sys/bus/acpi/devices/ACPI0008:00/ali changing to 0 and a different dmesg message. Various other experiments with levels of light yielded the same.

It seems to always be in the middle of the range. I can tell this by where the value "jumps" when I try to set it manually. It always goes to the middle, irrespective of the amount of light around.

Am I missing something?

louisnichols avatar Nov 06 '17 23:11 louisnichols