You are not logged in.
I was followed Arch wiki Backlight .
when using command:
ls /sys/class/backlight
output: acpi_video0 and intel_backlight
check the system status:
systemctl status systemd-backlight@backlight:intel-backlight.service
systemctl status systemd-backlight@backlight:acpi_video0.service
both are active. I'm trying to disable acpi_video0 but it's will come active again after boot.
I want it to remember my last brightness state, save on shutdown and load on boot.
Currently I'm using xbacklight to change my screen brightness. My laptop model is Acer Aspire 4740
Sorry for my bad English. Thank for your help!!
Last edited by vietphi (2017-01-27 03:33:21)
Offline
How are you trying to disable it? Please post the exact commands you are using.
Offline
How are you trying to disable it? Please post the exact commands you are using.
I tried this:
systemctl stop systemd-backlight@backlight:acpi_video0.service
systemctl disable systemd-backlight@backlight:acpi_video0.service
But overall I want it to save my brightness on shutdown and restore it on boot.
Offline
Weird... Do you use the kernel parameter "systemd.restore_state=" at all? It is supposed to default to 1, which is what you want, but maybe it got turned to 0 instead.
Offline
i'm not touching anything related to "systemd.restore_state..."
Offline
Weird... Do you use the kernel parameter "systemd.restore_state=" at all? It is supposed to default to 1, which is what you want, but maybe it got turned to 0 instead.
Can you guide me how to access parameter "systemd.restore_state"?
thank you
Offline
Since I don't know what boot loader you are using I can't be very precise, but this page has instructions for each boot loader / manager.
Offline
Since I don't know what boot loader you are using I can't be very precise, but this page has instructions for each boot loader / manager.
I'm using GRUB, but counldn't find any related to "systemd" in
/boot/grub/grub.cfg
Offline
If you haven't set it manually, and it seems you did not, it should be fine because the default is what you want. I'm not nearly enough of an expert to know what the problem is, but maybe someone else can help out and figure out the problem.
Offline
#cat /etc/default/grub
...
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=Linux acpi_backlight=vendor"
...
#systemctl disable systemd-backlight@backlight:acpi_video0
///sys/class/backlight/acpi_video0 will be removed
that work for me . backlight restore at boot and you can control backlight by FN key too
Em cũng dùng acer
Windows is my life
Offline
I prefer the udev method as it works all the time, every time. systemd-backlight does not restore settings upon ungraceful exits.
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
#cat /etc/default/grub
...
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=Linux acpi_backlight=vendor"
...
#systemctl disable systemd-backlight@backlight:acpi_video0
///sys/class/backlight/acpi_video0 will be removedthat work for me . backlight restore at boot and you can control backlight by FN key too
Em cũng dùng acer
After stop, disable and restart the service is still back on "active". I don't know why?
Offline
I prefer the udev method as it works all the time, every time. systemd-backlight does not restore settings upon ungraceful exits.
udev method only allow you to set static brightness level, it isjj not save your last brightness right?
Offline
In my experience, only acpi_backlight=vendor was necessary to remove the acpi_video0 device
Offline
After stop, disable and restart the service is still back on "active". I don't know why?
Are you escape the colon (:) ?
#systemctl disable systemd-backlight@backlight\:acpi_video0.service
Windows is my life
Offline
vietphi wrote:After stop, disable and restart the service is still back on "active". I don't know why?
Are you escape the colon (:) ?
#systemctl disable systemd-backlight@backlight\:acpi_video0.service
I think this solution didn't work for me.
Offline