ALS wakes up the suspended Ubuntu
After suspending the Laptop, ALS (Ambient Light Sensor) is waking it up.
Wanted to disable the ALS, but unable to edit /sys/devices/
> sudo su
> echo 0 > /sys/devices/
bash: echo: write error: Invalid argument
System Information -
Product Name: HP ZBook Studio x360 G5
SKU Number: 5LA90PA#ACJ
OS Information -
> uname -a
Linux *** 5.8.0-41-generic #46~20.04.1-Ubuntu SMP Mon Jan 18 17:52:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Edit 1 -
I eventually found out how to disable ALS.
> sudo modprobe -rv hid_sensor_als
modprobe: FATAL: Module hid_sensor_als is in use.
So, I blaclisted hid-sensor-als by appending following text in /etc/modprobe.
# ALS
blacklist hid-sensor-als
Restarted the system and checked if the module is really blacklisted using -
> lsmod | grep hid_sensor_als
But the issue still persists that ALS wakes up the suspended Ubuntu.
Also, BIOS doesn't have the option to disable ALS.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Hrishikesh Kadam for more information if necessary.