ACPI script for Sony VAIO S series that makes special keys work on Linux.
- STAMINA / SPEED switches CPU and fan mode between silent and performance
- FN+F1 disables / enables touchpad
- FN+F9&F10 (Zoom-Out&In) decreases / increases keyboard backlight timeout
- VAIO button switches keyboard backlight mode
- ASSIST button enables fan force mode
- Install acpid -
apt install acpid
- Install TLP -
apt install tlp
(Optional) - Place files into /etc/acpi/
- Don't forget to make script executable -
chmod +x /etc/acpi/actions/sony-laptop.sh
- Restart laptop
Check daemon status - systemctl status acpid.service
- Then, if daemon inactive:
- Enable autostart -
systemctl enable acpid.service
- Start it now -
systemctl start acpid.service
- Enable autostart -
- If daemon active:
- Check keypress detect work -
acpi_listen
- Then press some FN or VAIO keys, terminal must show ACPI events
- If events doesn't shows up - that is acpid problem
- If events shows up, but nothing happens:
- Open /etc/acpi/events/sony-laptop
- Replace
sony/hotkey SNY5001:00
by acpi_listen output after keypress - Open /etc/acpi/actions/sony-laptop.sh
- Replace ACPI event codes by acpi_listen outputs after non-working keypreses
- Check keypress detect work -