Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd cannot save/restore brightness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Thu Aug 28, 2014 12:08 pm    Post subject: systemd cannot save/restore brightness Reply with quote

whenever I reboot, I always start off with the maximum brightness
systemctl:
systemd-backlight@backlight:acpi_video0.service loaded failed failed Load/Save Screen Backlight Brightness of backlight:acp

journalctl -xb
Aug 28 15:01:07 localhost systemd[1]: systemd-backlight@backlight:acpi_video0.service: main process exited, code=exited, status=1/FAILURE
Aug 28 15:01:07 localhost systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.

systemctl status systemd-backlight@backlight:acpi_video0.service
● systemd-backlight@backlight:acpi_video0.service - Load/Save Screen Backlight Brightness of backlight:acpi_video0
Loaded: loaded (/usr/lib64/systemd/system/systemd-backlight@.service; static)
Active: failed (Result: exit-code) since Thu 2014-08-28 15:01:07 EEST; 3min 52s ago
Docs: man:systemd-backlight@.service(8)
Process: 148 ExecStart=/usr/lib/systemd/systemd-backlight load %i (code=exited, status=1/FAILURE)
Main PID: 148 (code=exited, status=1/FAILURE)

Aug 28 15:01:07 localhost systemd[1]: systemd-backlight@backlight:acpi_video0.service: main process exited, code=exited, sta...FAILURE
Aug 28 15:01:07 localhost systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Aug 28 15:01:07 localhost systemd[1]: Unit systemd-backlight@backlight:acpi_video0.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full


I have a /sys/class/backlight/acpi_video0:
lrwxrwxrwx 1 root root 0 Aug 28 15:01 acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
lrwxrwxrwx 1 root root 0 Aug 28 15:01 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight

I have temorarily used this acpi_video0 directory to automatically load a static brightness config
I'd prefer having the system save my brightness level instead(preferably without creating a new service script)


thanks
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Sun Aug 31, 2014 6:46 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum