forked from pool/acpid
This commit is contained in:
parent
9d607f1e32
commit
990f8b0978
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 15:17:58 CEST 2009 - seife@suse.de
|
||||
|
||||
- remove obsolete cruft from acpid init script
|
||||
- fix syntax error in "rcacpid probe" (bnc#508574)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 20:57:52 CEST 2009 - seife@suse.de
|
||||
|
||||
|
280
acpid.spec
280
acpid.spec
@ -21,7 +21,7 @@
|
||||
Name: acpid
|
||||
Url: http://acpid.sourceforge.net/
|
||||
Version: 1.0.10
|
||||
Release: 1
|
||||
Release: 2
|
||||
%define acpi_version 0.09
|
||||
License: GPL v2 or later
|
||||
Group: System/Daemons
|
||||
@ -126,281 +126,3 @@ rm -rf %{buildroot}
|
||||
%ghost %config(noreplace,missingok) %_var/log/acpid
|
||||
|
||||
%changelog
|
||||
* Wed Apr 22 2009 seife@suse.de
|
||||
- update to version 1.0.10
|
||||
- Add a -C (--clientmax) command line flag to set max number of
|
||||
non-root socket connections.
|
||||
- Set the maximum number of socket clients to 256 by default.
|
||||
- Close clients that have disconnected.
|
||||
- Give up and exit() if 5 accept() calls fail in a row.
|
||||
- Open /dev/null O_RDWR, rather than O_RDONLY.
|
||||
- this fixes bnc#491455
|
||||
* Wed Apr 15 2009 crrodriguez@suse.de
|
||||
- fix boot warning about /etc/modprobe.d/thinkpad_acpi
|
||||
* Mon Mar 09 2009 mmarek@suse.cz
|
||||
- renamed modprobe config to /etc/modprobe.d/50-thinkpad_acpi.conf
|
||||
(required by new module-init-tools).
|
||||
* Wed Feb 04 2009 seife@suse.de
|
||||
- update to version 1.0.8:
|
||||
- various code cleanups, enable stricter compiler warnings
|
||||
- fix typos in man pages. (acpid.8, acpi_listen.8)
|
||||
- stop processing ACPI events when a lockfile exists (see acpid.8)
|
||||
- add -l (--logevents) option to enable logging of all events.
|
||||
Due to a number of reports of log flooding (bad ACPI BIOS?), the
|
||||
new default is to NOT log events
|
||||
- add pidfile support and a -p (--pidfile) option to change it
|
||||
- close client file descriptors on exec()
|
||||
- fix a fd leak on error
|
||||
* Mon Jan 26 2009 ro@suse.de
|
||||
- change fillup call from "-Y" to "-y" the boot script has
|
||||
been present in this package for long enough (SLES10-GA)
|
||||
* Sun Nov 16 2008 hmacht@suse.de
|
||||
- Don't shutdown if a kde4 session is running and the power button
|
||||
is pressed, powerdevil will care (bnc#443210)
|
||||
* Thu Oct 16 2008 thoenig@suse.de
|
||||
- Fix documentation reference and vendor names in thinkpad_acpi
|
||||
(bnc#410684)
|
||||
* Wed Oct 15 2008 seife@suse.de
|
||||
- fix syntax error in acpid init script (bnc#435503)
|
||||
* Mon Sep 01 2008 hmacht@suse.de
|
||||
- different config files for different rules:
|
||||
events.thinkpad and events.power_button
|
||||
* Thu Aug 07 2008 hmacht@suse.de
|
||||
- add power_button script to care about button presses if there
|
||||
is no active X session
|
||||
* Sun Jun 08 2008 hmacht@suse.de
|
||||
- minor fixes to the thinkpad_handler script (bnc#371927)
|
||||
* Fri Jun 06 2008 hmacht@suse.de
|
||||
- add script for enabling/disabling bluetooth via hotkey on
|
||||
Thinkpads (bnc#371927)
|
||||
* Tue May 20 2008 thoenig@suse.de
|
||||
- The game is not over yet: Re-introduce hotkey mask for
|
||||
thinkpad_acpi.modprobe (bnc#369535, bnc#382343)
|
||||
* Tue Feb 26 2008 thoenig@suse.de
|
||||
- Drop hotkey masks for thinkpad_acpi.modprobe
|
||||
* Tue Sep 11 2007 thoenig@suse.de
|
||||
- Fix hotkey mask for thinkpad_acpi.modprobe (#308191)
|
||||
* Wed Aug 08 2007 thoenig@suse.de
|
||||
- remove loading of ACPI modules, they are now being loaded
|
||||
automatically (#216564)
|
||||
- rename ibm_acpi.modprobe to thinkpad_acpi.modprobe as the kernel
|
||||
module was renamed (#297812)
|
||||
* Mon Jul 30 2007 seife@suse.de
|
||||
- fix "--skip-unsupported" warnings on module load (b.n.c #293758)
|
||||
* Tue Jul 03 2007 seife@suse.de
|
||||
- update to version 1.0.6
|
||||
mostly our patches included upstream
|
||||
- adjust init script to the new pcc-acpi module
|
||||
* Tue Jun 19 2007 thoenig@suse.de
|
||||
- Add $local_fs to Required-Start (b.n.c #285472)
|
||||
* Mon Jun 04 2007 lrupp@suse.de
|
||||
- clean builddir after build is finished
|
||||
- own /var/log/acpid (#280469)
|
||||
* Tue Apr 24 2007 trenn@suse.de
|
||||
- compile some more files with rpm_opt flags
|
||||
- remove/fix:
|
||||
+E: acpid unknown-lsb-tag # X-UnitedLinux-Should-Start:
|
||||
+E: acpid unknown-lsb-tag # X-UnitedLinux-Should-Stop:
|
||||
* Tue Apr 10 2007 hmacht@suse.de
|
||||
- add modules dock and bay to probed laptop modules
|
||||
* Thu Mar 29 2007 rguenther@suse.de
|
||||
- add /etc/modprobe.d directory
|
||||
* Fri Nov 17 2006 hmacht@suse.de
|
||||
- remove CPUFreq modules loading, acpid is not available on all
|
||||
architectures. Move handling to proper place --> HAL init script
|
||||
(novell bug 220682)
|
||||
* Mon Nov 13 2006 hmacht@suse.de
|
||||
- do not "fail" if there is no CPUFreq support, print descriptive
|
||||
message instead (novell bug 219757)
|
||||
* Wed Oct 18 2006 seife@suse.de
|
||||
- unload asus_acpi on unsupported machines.
|
||||
- load cpufreq_acpi after speedstep-smi module.
|
||||
- load the cpufreq_conservative governor (bug 163767).
|
||||
- ignore editor backup files for the event configuration.
|
||||
- package the provided action script samples under documentation.
|
||||
- cleanup the specfile %%prep section.
|
||||
* Tue Oct 17 2006 hmacht@suse.de
|
||||
- load CPUFreq modules before acpi modules, otherwise we would
|
||||
exit without acpi support
|
||||
* Tue Sep 12 2006 hmacht@suse.de
|
||||
- load CPUFreq modules in acpid for now because they have to be
|
||||
already loaded when HAL starts
|
||||
* Thu Jun 01 2006 thoenig@suse.de
|
||||
- rcacpid: do not probe unsupported modules if
|
||||
LOAD_UNSUPPORTED_MODULES_AUTOMATICALLY is set to yes
|
||||
(b.n.c #180654)
|
||||
- rcacpid: be verbose about which modules are being probed or
|
||||
loaded.
|
||||
* Tue Feb 21 2006 rw@suse.de
|
||||
- never try laptop modules on ia64 (bug #146291)
|
||||
* Wed Feb 15 2006 thoenig@suse.de
|
||||
- revert hotkey mask for IBM ACPI back to 0xffff (bug #150357)
|
||||
- add documentation hints for IBM ACPI driver
|
||||
* Fri Feb 10 2006 seife@suse.de
|
||||
- do not try the hotkey modules on ia64 (bug #146291)
|
||||
* Mon Feb 06 2006 seife@suse.de
|
||||
- do not load ac and battery modules on ia64 (bug #140249)
|
||||
- untangle the "suse-files.tar" packaging mess
|
||||
- after a kernel update, rescan the laptop modules
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Nov 24 2005 seife@suse.de
|
||||
- move daemon from /usr/sbin to /sbin to remove the $remote_fs
|
||||
dependency and start sooner
|
||||
- log via syslog instead of using the own logfile mechanism
|
||||
* Tue Oct 25 2005 thoenig@suse.de
|
||||
- changed hotkey mask for ibm_acpi from 0xffff to 0xffef so that
|
||||
the driver does not block Fn-F5 (switch Bluetooh on/off) on IBM
|
||||
ThinkPads (closes #128088)
|
||||
* Wed Oct 05 2005 dmueller@suse.de
|
||||
- add norootforbuild
|
||||
* Sat Sep 24 2005 seife@suse.de
|
||||
- rework last patch, fix a memleak in addition to the fd leak.
|
||||
* Fri Sep 23 2005 seife@suse.de
|
||||
- fix filedescriptor leak on client disconnect (bug #117884)
|
||||
* Thu Sep 08 2005 thoenig@suse.de
|
||||
- fixed probing of laptop modules (closes #115819)
|
||||
* Wed Sep 07 2005 thoenig@suse.de
|
||||
- changed modprobe.d/ibm_acpi to be even more verbose (more Fn-Fxx
|
||||
will be reported (see #115127 and closes re-opened #113625)
|
||||
* Wed Aug 31 2005 ro@suse.de
|
||||
- removed config-dist.sh (ExclusiveArch is already there)
|
||||
* Tue Aug 30 2005 thoenig@suse.de
|
||||
- added sony_acpi and pcc_acpi to be probed on first run (SUSE
|
||||
feature request r6125)
|
||||
* Mon Aug 29 2005 thoenig@suse.de
|
||||
- fixed probe function of rcacpid
|
||||
* Mon Aug 29 2005 thoenig@suse.de
|
||||
- added install parameter for ibm_acpi to enable verbose output
|
||||
of hotkey (#113625)
|
||||
* Thu Aug 25 2005 thoenig@suse.de
|
||||
- rcacpid now probes laptop modules once and will only
|
||||
load those modules at a later point if modprobe succeeded.
|
||||
* Wed Aug 10 2005 thoenig@suse.de
|
||||
- added three modules to DEFAULT_ACPI_MODULES:
|
||||
* asus_acpi
|
||||
* ibm_acpi
|
||||
* toshiba_acpi
|
||||
- added $SYSCONFDIR/modprobe.d/ibm_acpi for ibm_acpi to load the
|
||||
module with "experimental=1"
|
||||
* Fri Aug 05 2005 seife@suse.de
|
||||
- load ACPI modules in /etc/init.d/acpid.
|
||||
* Fri Aug 05 2005 trenn@suse.de
|
||||
- Activate acpid by default again (use -Y to force, was disabled
|
||||
in old setups, but we need it urgently now)
|
||||
- Deleted suse stuff (acpid_proxy,...), only use acpid to forward
|
||||
acpi events to other apps/services.
|
||||
- updated acpid (1.0.3 -> 1.0.4) acpi (0.07 -> 0.09)
|
||||
- changed config to not process acpi events, just forward them
|
||||
* Mon May 02 2005 mmj@suse.de
|
||||
- Fix warning about chdir return value not being caught
|
||||
* Mon Apr 04 2005 pth@suse.de
|
||||
- Fix signed/unsigned warnings
|
||||
* Thu Nov 25 2004 zoz@suse.de
|
||||
- rcacpid status now reports service acpid as unused if acpid was
|
||||
started from rcpowersaved (Bug 48432)
|
||||
* Thu Nov 11 2004 zoz@suse.de
|
||||
- added /var/lib/acpi with proper permissions to filelist. Further
|
||||
acpid_proxy won't create that dir if missing. (Bug 47729)
|
||||
* Mon Sep 06 2004 seife@suse.de
|
||||
- clean up config file for sysconfig editor
|
||||
* Thu Aug 26 2004 trenn@suse.de
|
||||
- deleted debian stuff
|
||||
* Fri Aug 13 2004 trenn@suse.de
|
||||
- updated to acpid from 1.0.1 to version 1.0.3 and
|
||||
acpi Version from 0.06 to 0.07
|
||||
* Fri May 14 2004 trenn@suse.de
|
||||
- P4 Hyperthreading patch from pth@suse (#39017)
|
||||
* Tue Apr 06 2004 trenn@suse.de
|
||||
- rcacpid stop does not return skipped anymore on none acpi systems
|
||||
this prevented acpid to uninstall on these systems (#38508)
|
||||
* Thu Mar 18 2004 seife@suse.de
|
||||
- updated README.SuSE and default config (#36208)
|
||||
* Wed Mar 03 2004 trenn@suse.de
|
||||
- add %%restart_on_update and %%stop_on_removal in .spec file
|
||||
* Tue Feb 24 2004 trenn@suse.de
|
||||
- deleted ac_on_power, is now in powersave package
|
||||
* Mon Feb 23 2004 trenn@suse.de
|
||||
- deleted -y parameter in inserv, to not start by default
|
||||
powersave gets confused otherwise, only one daemon is allowed
|
||||
to access /proc/acpi/event
|
||||
* Wed Nov 05 2003 olh@suse.de
|
||||
- do not start the build if not required
|
||||
* Mon Sep 22 2003 zoz@suse.de
|
||||
- fixed naming of actions in acpid_proxy (Bug 31357)
|
||||
- fixed metadata and description of actions in sysconfig template
|
||||
(Bug 31357)
|
||||
- fixed startscript to unload modules if requested (Bug 31357)
|
||||
- set default action for lid closure to 'ignore', because 'throttle'
|
||||
breaks some laptops (Bug 31529)
|
||||
* Sun Sep 21 2003 ro@suse.de
|
||||
- fix typo in sysconfig-file
|
||||
* Thu Sep 18 2003 trenn@suse.de
|
||||
- bug 30913 and 31265
|
||||
lid state is now read out correctly (CLOSE->CLOSED)
|
||||
corrected parts for throttling
|
||||
action kde_term fixed (determine kde user)
|
||||
action kde_logout additionally added
|
||||
* Tue Sep 16 2003 trenn@suse.de
|
||||
- bug 30399 -> lid read out of /proc/acpi/lid/... now
|
||||
and changed frequency scaling from deprecated /acpi/processor
|
||||
to cpufreqd
|
||||
* Wed Sep 10 2003 kukuk@suse.de
|
||||
- rcacpid: Fix return codes, fix try-restart, fix probe (don't
|
||||
compare with non existing FOO config file), fix restart (restart
|
||||
should honor modified sysconfig file).
|
||||
* Tue Sep 02 2003 trenn@suse.de
|
||||
- on_ac_adapter: more stable and
|
||||
check for desktop
|
||||
start acpid by default
|
||||
* Thu Aug 28 2003 trenn@suse.de
|
||||
- fixed bug in sysconfig.acpi template
|
||||
* Thu Aug 28 2003 trenn@suse.de
|
||||
- added on_ac_power
|
||||
* Tue Aug 26 2003 trenn@suse.de
|
||||
- added action tags for sysconfig file
|
||||
* Thu Aug 14 2003 ro@suse.de
|
||||
- added exclusivearch line to specfile
|
||||
* Sun Jul 20 2003 zoz@suse.de
|
||||
- Removed ACPI_MODULES_NOT_TO_LOAD from /etc/init.d/acpid and
|
||||
/etc/sysconfig/powermanagement. now we use ACPI_MODULES instead.
|
||||
This works also with 2.5/6 kernels and you may add one of the
|
||||
modules asus_acpi or toshiba_acpi to this variable.
|
||||
* Sat Mar 01 2003 zoz@suse.de
|
||||
- fixed acpid: Did not call acpid_proxy with event information
|
||||
- splitted ACPI_BUTTON_LID into ACPI_BUTTON_LID_OPEN and
|
||||
ACPI_BUTTON_LID_CLOSE
|
||||
- added some actions for button events to acpid_proxy
|
||||
+ kde_term (terminate all KDE sessions)
|
||||
+ wmaker_term (terminate all wmaker sessions)
|
||||
+ standby (switches to S1. This may crash the system. Test it before!)
|
||||
+ suspend (switches to S3 if kernel is 2.5 or newer)
|
||||
+ hibernate (switches to S4 if kernel is 2.5 or newer
|
||||
+ throttle (reduce processor performance, enable maximum processor throttlin
|
||||
put disk into sleep state)
|
||||
+ dethrottle (restore settings like before throttle)
|
||||
- for proper throttling added ACPI_THROTTLED_DISK_TIMEOUT and
|
||||
ACPI_THROTTLED_KUPDATED_INTERVAL
|
||||
- provided some usefull information in README.SuSE
|
||||
* Mon Feb 24 2003 zoz@suse.de
|
||||
- enhanced sysconfig metadata and descriptions
|
||||
- added ACPI_MODULES_NOT_TO_UNLOAD, because there are modules which
|
||||
oops when unloaded
|
||||
- added ACPI_BUTTON_SLEEP
|
||||
- added some more actions for button events
|
||||
* Sat Feb 22 2003 mmj@suse.de
|
||||
- Add sysconfig metadata [#22676]
|
||||
* Sat Feb 08 2003 zoz@suse.de
|
||||
- added 'acpi': a tool providing battery and thermal information
|
||||
(like apm in package apmd)
|
||||
* Tue Sep 17 2002 ro@suse.de
|
||||
- removed bogus self-provides
|
||||
* Fri Sep 06 2002 zoz@suse.de
|
||||
- added comments to sysconfig variables (Bug 18654)
|
||||
- fixed specfile to fillup /etc/sysconfig/powermanagement properly
|
||||
* Tue Aug 13 2002 zoz@suse.de
|
||||
- added PreReq insserv_prereq fillup_prereq
|
||||
* Tue Aug 06 2002 zoz@suse.de
|
||||
- initial package: version 1.0.1
|
||||
- added init script which loads acpi modules as well
|
||||
- provided acpid_proxy (apmd like) which cares about all events
|
||||
|
11
rcacpid
11
rcacpid
@ -1,9 +1,10 @@
|
||||
#! /bin/bash
|
||||
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany.
|
||||
# Copyright (c) 2002-2009 SuSE Linux AG, Nuernberg, Germany.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Authors: Christian Zoz <zoz@suse.de>
|
||||
# Timo Hoenig <thoenig@suse.de>
|
||||
# Stefan Seyfried <seife@suse.de>
|
||||
#
|
||||
# /etc/init.d/acpid
|
||||
# and its symbolic link
|
||||
@ -63,10 +64,6 @@ rc_reset
|
||||
# with force-reload (in case signaling is not supported) are
|
||||
# considered a success.
|
||||
|
||||
[ -f /etc/sysconfig/powersave/common ] && . /etc/sysconfig/powersave/common
|
||||
[ -f /etc/sysconfig/acpi ] && . /etc/sysconfig/acpi
|
||||
[ -f /etc/sysconfig/powersave/cpufreq ] && . /etc/sysconfig/powersave/cpufreq
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
if [ ! -d /proc/acpi ] ; then
|
||||
@ -112,7 +109,9 @@ case "$1" in
|
||||
rc_status -v
|
||||
;;
|
||||
probe)
|
||||
test $ACPID_CONFIG -nt /var/run/acpid.pid && echo restart
|
||||
for i in /etc/acpi/events/*; do
|
||||
test $i -nt /var/run/acpid.pid && echo restart && break
|
||||
done
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user