acpid-1.0.6 was released on June 30, including some minor fixes, most important one is switching to logging via syslog. Note that version 1.0.5 was somehow skipped by upstream. Reproducible: Always Steps to Reproduce:
Created attachment 125091 [details] acpid-1.0.6.ebuild Changes relative to acpid-1.0.4-r5.ebuild: * dropped debian patch from SRC_URI, we'll provide light version of that patch * changed KEYWORDS to testing * patch with our own patch, which is an extract from the big debian patch for 1.0.4 (all source code changes are ignored, not needed for 1.0.6) * dodir /usr/bin is not needed as acpid Makefile has been fixed * we install sample conf.d file. (this file was already in portage tree but not used in any recent ebuild) * add elog comment about changed logging system
Created attachment 125097 [details, diff] acpid-1.0.6-examples-and-logrotate.diff already mentioned patch, just adds some example and logrotate files used in src_install. No source code changes. Extracted from debian patch for 1.0.4.
Created attachment 125099 [details] acpid-1.0.6-init.d This file is identical to acpid-1.0.4-init.d. Posted for convenience.
Created attachment 125106 [details] acpid-1.0.6-conf.d conf.d file for acpid. Cosmetical changes to in-tree acpid-conf.d file.
Created attachment 125184 [details] acpid-1.0.6-init.d Reflect the fact that acpid uses system logger. This fixes acpid emitting messages to console if sytem log is neither in runlevel or pulled by other init script.
Created attachment 125201 [details] acpid-1.0.6.ebuild New ebuild version, changes from previous: * kill doc useflag was not used in ebuild anyway. (this also applies to in-tree 1.0.4-r5 ebuild AFAIK) * kill logrotate useflag and modify patch not to ship logrotate file. It had no sense when acpid logs to syslog.
Created attachment 125203 [details, diff] acpid-1.0.6-examples.diff Do not include file for logrotate in the patch. So this patch just adds example directory with some files.
thank you I have committed your excellent work. If you want to contribute more and do not like the extra bugzilla way around feel free to contact me about becoming a developer. Best regards
(In reply to comment #8) > thank you I have committed your excellent work. If you want to contribute more > and do not like the extra bugzilla way around feel free to contact me about > becoming a developer. > > Best regards > I must say I have been playing with the idea of becoming a dev. Currently it looks that sooner or later I'd like to become a gentoo dev, I just want to gain a little bit more experience with gentoo development, so expect more bugzilla work from me. ;)
As of version 1.0.6 my power button stopped working. default.sh gets these commands: Jul 21 10:50:21 [acpid] received event "button/power PWRF 00000080 0000000e"_ Jul 21 10:50:21 [acpid] notifying client 5859[0:0]_ Jul 21 10:50:21 [acpid] executing action "/etc/acpi/default.sh button/power PWRF 00000080 0000000e"_ Jul 21 10:50:21 [logger] group= button/power Jul 21 10:50:21 [logger] action=power Jul 21 10:50:21 [logger] ACPI event unhandled: button/power PWRF 00000080 0000000e Jul 21 10:50:21 [acpid] action exited with status 0_ Jul 21 10:50:21 [acpid] completed event "button/power PWRF 00000080 0000000e"_ i modified the default.sh to show the vaules of the variables. in the case "$group" in default.sh its asking for button). But this will never match as the value of $group is "button/power". Modifiying this to button*) and the power button starts to work again. i wonder why nobody else encounter this problem. any ideas?
(In reply to comment #10) > As of version 1.0.6 my power button stopped working. > > default.sh gets these commands: > Jul 21 10:50:21 [acpid] received event "button/power PWRF 00000080 0000000e"_ > Jul 21 10:50:21 [acpid] notifying client 5859[0:0]_ > Jul 21 10:50:21 [acpid] executing action "/etc/acpi/default.sh button/power > PWRF 00000080 0000000e"_ > Jul 21 10:50:21 [logger] group= button/power > Jul 21 10:50:21 [logger] action=power > Jul 21 10:50:21 [logger] ACPI event unhandled: button/power PWRF 00000080 > 0000000e > Jul 21 10:50:21 [acpid] action exited with status 0_ > Jul 21 10:50:21 [acpid] completed event "button/power PWRF 00000080 0000000e"_ > > i modified the default.sh to show the vaules of the variables. > in the case "$group" in default.sh its asking for button). But this will never > match as the value of $group is "button/power". Modifiying this to button*) and > the power button starts to work again. i wonder why nobody else encounter this > problem. > > any ideas? > This is a little bug introduced by switch to gentoo-own acpid scripts. I encourage you to research bugzilla for this bug and open new bugreport if it is not filled already.