You are not logged in.
recently, I loaded my dell xps m1210 lappy with Arch, and noticed a drop in battery time, and weird behavior of kpowersave: it is refreshing its informations far too often, comparing with same versions on same hardware under gentoo.
followed the track up to /var/log/acpid, which has grown to tremendous size, because it is filled with such battery events, spaced by ~1s (sometimes though, it can be as much as 10s):
[Thu Mar 15 16:14:10 2007] received event "battery BAT0 00000080 00000001"
[Thu Mar 15 16:14:10 2007] notifying client 4870[0:0]
[Thu Mar 15 16:14:10 2007] notifying client 4931[82:82]
[Thu Mar 15 16:14:10 2007] notifying client 4985[0:0]
[Thu Mar 15 16:14:10 2007] executing action "/etc/acpi/handler.sh battery BAT0 00000080 00000001"
[Thu Mar 15 16:14:10 2007] BEGIN HANDLER MESSAGES
[Thu Mar 15 16:14:10 2007] END HANDLER MESSAGES
[Thu Mar 15 16:14:10 2007] action exited with status 0
[Thu Mar 15 16:14:10 2007] completed event "battery BAT0 00000080 00000001"
which explains the constant ~1s refresh behavior of kpowersave
I don't have gentoo at hand anymore (I was so much satisfied by arch... so far) but I'm 99.999% positive this did not occur.
any ideas?
Last edited by lloeki (2007-03-16 18:48:13)
To know recursion, you must first know recursion.
Offline
problem seems solved.
as weird as it may be, it seems powersaved was triggering acpi events (very weird):
vc/1:
tail -f /var/log/acpid
vc/2:
/etc/rc.d/powersave stop => flood stops in vc/1
/etc/rc.d/powersave start => flood again
so, pacman -R powersave
Last edited by lloeki (2007-03-16 18:47:07)
To know recursion, you must first know recursion.
Offline
I add here as have very similar acpi issue --button/sleep , not BAT0--
but i do not have powersaved installed (somehow haven't foudn it)
$ lssh /var/log/acpid.log
560M /var/log/acpid.log
$ tail -f /var/log/acpid.log
Mar 26 20:01:55 delll400 acpid: completed event "button/sleep SBTN 00000080 00002ebd"
Mar 26 20:01:55 delll400 acpid: received event "button/sleep SBTN 00000080 00002ebe"
Mar 26 20:01:55 delll400 acpid: executing action "/etc/acpi/handler.sh button/sleep SBTN 00000080 00002ebe"
Mar 26 20:01:55 delll400 acpid: action exited with status 0
Mar 26 20:01:55 delll400 acpid: completed event "button/sleep SBTN 00000080 00002ebe"
Mar 26 20:01:55 delll400 acpid: received event "button/sleep SBTN 00000080 00002ebf"
Mar 26 20:01:55 delll400 acpid: executing action "/etc/acpi/handler.sh button/sleep SBTN 00000080 00002ebf"
Mar 26 20:01:55 delll400 acpid: action exited with status 0
Have stopped apmd, cpufreq & cpufreqd daemons, without any change.
Linux delll400 2.6.24-ARCH #1 SMP PREEMPT Wed Mar 5 12:07:52 UTC 2008 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
$ yaourt -Qs power cpufreq
extra/acpid 1.0.6-1
Utilities for using ACPI power management
extra/apmd 3.0.2-5
Set of tools for managing notebook power consumption
community/pmtools 20071116-1
A small collection of ACPI power management test and investigation tools
extra/cpufreqd 2.2.1-1
A small daemon to adjust cpu speed (and indeed voltage)
extra/cpufrequtils 002-3
Userspace tools for the kernel cpufreq subsystem
$ lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:08.0 Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 01)
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
00:10.0 Communication controller: Agere Systems WinModem 56k (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
02:00.0 Ethernet controller: 3Com Corporation 3cCFE575BT Megahertz 10/100 LAN CardBus [Cyclone] (rev 01)
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline