Summary: | Provide handle for ACPI to change backlight brightness, similiar to other power-related ACPI events | ||
---|---|---|---|
Product: | systemd | Reporter: | Peter Weber <peter.weber> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED WONTFIX | QA Contact: | systemd-bugs |
Severity: | enhancement | ||
Priority: | medium | CC: | i.gnatenko.brain |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Peter Weber
2013-06-29 15:34:09 UTC
I've to apologize. Instead of the link to freedesktop: https://lkml.org/lkml/2013/6/9/161 (In reply to comment #1) > I've to apologize. Instead of the link to freedesktop: > https://lkml.org/lkml/2013/6/9/161 I think this method in systemd is better. Hmm, I am not convinced we really want this in logind. In contrast to handling of lid switch/power button/suspend button this isn't really part of the system lifecycle. It's an auxiliary thing really... I am tempted to say that gnome-settings-daemon is probably a better place for handling this... Thanks for your response. I thought about HandleLitSwitch or HandleSuspendKey more in a way of basic integration of power-management, instead of a integration into the system-lifecycle. But it's obvious for me now and makes sense! You're right with this. Well. Handling the brightness in Systemd looked like an straight solution, till now. The problem with gnome-settings-daemon is, that it requires a desktop-environment at all with the complete stoftware stack from DBUS to X11/Wayland. The changes to the kernel breaks "brigthness-keys" for users of plain TTYs and non-desktop-environements. Also gnome-settings-daemon ignores the events from the keys, if the users operates currently on a TTY and not in GNOME. Maybe writing and shell-script (with an alias for it) which modifies the content in the responsible files in /sys/... to change the brigthness would be a sufficient solution for me. The brightness changes should be per-output, and there's no way that you can adequately do that in the console, without a display manager of some sort, that would direct the backlight changes to the correct output. Xorg drivers mostly use libbacklight[1] nowadays for that purpose, ensuring that they do not trample on each other (there might be multiple brightness controls for each output, and none for others). [1]: http://cgit.freedesktop.org/libbacklight/ |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.