Hi,
how about a workaround? I cannot write a script at all, but from Google searches on how to do stuff I created my own workaround:
1) For working brightness buttons after startup and a startup brightness of 50 % I added the following to the file /etc/rc.local (before the exit 0):
bash -c "echo 0 > /sys/class/backlight/intel_backlight/brightness" bash -c "echo 50 > /sys/class/backlight/acpi_video0/brightness"
2) For working brightness buttons after a suspend I added a file named
20_Enable_Brightness_setting_keys
to the directory /etc/pm/sleep.d
The file contains:
case "${1}" in resume|thaw)
bash -c "echo 0 > /sys/class/backlight/intel_backlight/brightness"
;; esac
I guess this is crude and full of possible errors/problems, but it works for me for the time being. This way the brightness after a resume is at the level it was before standby and the brightness keys on the XPS13 work.
Hi,
how about a workaround? I cannot write a script at all, but from Google searches on how to do stuff I created my own workaround:
1) For working brightness buttons after startup and a startup brightness of 50 % I added the following to the file /etc/rc.local (before the exit 0):
bash -c "echo 0 > /sys/class/ backlight/ intel_backlight /brightness" backlight/ acpi_video0/ brightness"
bash -c "echo 50 > /sys/class/
2) For working brightness buttons after a suspend I added a file named
20_Enable_ Brightness_ setting_ keys
to the directory /etc/pm/sleep.d
The file contains:
case "${1}" in
resume|thaw)
bash -c "echo 0 > /sys/class/ backlight/ intel_backlight /brightness"
;;
esac
I guess this is crude and full of possible errors/problems, but it works for me for the time being. This way the brightness after a resume is at the level it was before standby and the brightness keys on the XPS13 work.