Package: sleepd
Version: 1.11
Severity: grave
Justification: renders package unusable
I believe most computers these days don't have PS/2 any more, which is why
I consider this to be broken for "most users".
The default behavior on a modern system seems to be to watch the empty set,
and later suspend the computer because none of those interrupts were
triggered.
It's not just a problem with shared interrupts as #147678 would imply. Sure,
for cases where the mouse and keyboard have their own interrupts, getting one
of those interrupts is a pretty good indicaton that the system is not idle.
However, that is far from complete.
Here are a few suggestions:
* Check utmp. Don't suspend if users are clearly active.
* Provide some way to reset the countdown. Maybe something like
"sleepctl poke". This could be used for example in mplayer's heardbeat-cmd,
or any other script the user might write to indicate that they are still
active.
* Implement joeyh's 3 year old suggestion to use /dev/input/event* (I haven't
actually looked into that enough to be sure it would work, but it seems
like it should.)
* Change the defaults to be more conservative. Defaults that assume the system
is idle when it is not seem worse than ones that fail in the other direction.
(Although that might be subjective... At least failing to suspend is no worse
than the behavior of the package isn't installed. At any rate, suspending
when you know you have no indication the system is idle is just plain wrong.)
Please let me know if I am misunderstanding something.
Here is my /proc/interrupts in case you want it:
CPU0 CPU1
0: 381 0 IO-APIC-edge timer
1: 10 0 IO-APIC-edge i8042
4: 2 0 IO-APIC-edge
6: 5 0 IO-APIC-edge floppy
7: 0 0 IO-APIC-edge parport0
8: 13 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 16 0 IO-APIC-edge i8042
14: 550963 0 IO-APIC-edge ide0
16: 10648 0 IO-APIC-fasteoi eth0, rad...@pci:0000:01:00.0
18: 218 0 IO-APIC-fasteoi uhci_hcd:usb3
20: 999099 0 IO-APIC-fasteoi ata_piix
21: 9198525 0 IO-APIC-fasteoi uhci_hcd:usb1, ehci_hcd:usb5
22: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
23: 9893 0 IO-APIC-fasteoi uhci_hcd:usb4, Intel ICH6
NMI: 0 0 Non-maskable interrupts
LOC: 1905669 1898220 Local timer interrupts
RES: 39927 24361 Rescheduling interrupts
CAL: 132 610 function call interrupts
TLB: 1038 2199 TLB shootdowns
TRM: 0 0 Thermal event interrupts
SPU: 0 0 Spurious interrupts
ERR: 0
MIS: 0
-- System Information:
Debian Release: lenny/sid
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages sleepd depends on:
ii libapm1 3.2.2-12 Library for interacting with APM d
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.1-4 simple interprocess messaging syst
ii libhal1 0.5.11-6 Hardware Abstraction Layer - share
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
Versions of packages sleepd recommends:
ii hal 0.5.11-6 Hardware Abstraction Layer
ii hibernate 1.99-1 smartly puts your computer to slee
sleepd suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]