Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8026 - default handler script for acpid conflicts with acpi philosophy
Attached to Project:
Arch Linux
Opened by Pete (tam1138) - Sunday, 16 September 2007, 06:19 GMT
Last edited by Thayer Williams (thayer) - Sunday, 07 December 2008, 02:32 GMT
Opened by Pete (tam1138) - Sunday, 16 September 2007, 06:19 GMT
Last edited by Thayer Williams (thayer) - Sunday, 07 December 2008, 02:32 GMT
|
DetailsDescription:
As shipped with acpid, /etc/acpi/handler.sh is a "default acpi script that takes an entry for all actions". There are three problems with this: first, it does not, in fact, contain an entry for "all" actions. The hotkeys on my ThinkPad are not supported. Secondly, the design of the acpi event delivery mechanism encourages separate scripts for every action, which is a cleaner, more understandable, and easier-to-maintain approach. The third problem is a consequence of the second: handler.sh is fugly and ponderous. I would volunteer to produce a set of replacement default scripts for acpid, providing the Powers-That-Be approve. I like the (as I recall it) Gentoo method whereby the default script merely prints the received event to the system logger: this allows people writing new handlers to easily look up the events they want to handle, while remaining a nop. Additional info: * package version(s) $ pacman -Qs acpid local/acpid 1.0.6-1 * config and/or log files etc. /etc/acpi/handler.sh Steps to reproduce: # cat /etc/acpi/handler.sh # /usr/bin/gag |
This task depends upon
Closed by Thayer Williams (thayer)
Sunday, 07 December 2008, 02:32 GMT
Reason for closing: Works for me
Sunday, 07 December 2008, 02:32 GMT
Reason for closing: Works for me
Hello,
This is not a bug but a feature request.
Please open a feature request, and as long as you volunteer for providing a new solution, please attach the scripts and patches to the report.
Also you may (if you wish to, of course) post something to AUR and the forums and see if the community like it or not.
There is no doubt that if your solution is better than the current one it will be adopted.
Thank you very much !
Cheers and all that =)