Package: acpi-support Version: 0.86-1 Severity: normal Hi,
/etc/acpi/lid.sh does not work right for me. First problem was that lid.sh calls /usr/share/acpi-support/screenblank, which only turns off the screen, but does not put the computer to sleep. As opinions differ about what to do upon lid closure, this behaviour is fine with me (a debconf question "What's supposed to happen when you close the lid" would be cool, though). I just replaced the call to screenblank with a call to s2ram. However, sometimes (sorry, cannot be more specific) lid.sh just does not work at all. I close the lid, and s2ram (or screenblank, for that matter) just is not executed. I put some debugging statements into the script. The problem is that '[ x"$XAUTHORITY" != x"" ]' (around line 17) returns False, which results in nothing being executed. To have this fixed for my needs, I just replaced the whole 'for x in /tmp/.X11-unix/*; do .... done' stuff with /usr/sbin/s2ram, but it'd be neat if this could be fixed for real. If you need any more information or tests, feel free to contact me. Cheers, Wolf -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.9 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages acpi-support depends on: ii acpid 1.0.4-5 Utilities for using ACPI power man ii dmidecode 2.8-2 Dump Desktop Management Interface ii finger 0.17-10 user information lookup program ii hdparm 6.6-5 tune hard disk parameters for high ii laptop-detect 0.12.1 attempt to detect a laptop ii libc6 2.3.6.ds1-5 GNU C Library: Shared libraries ii lsb-base 3.1-17 Linux Standard Base 3.1 init scrip ii powermgmt-base 1.29 Common utils and configs for power ii radeontool 1.5-4 utility to control ATI Radeon back ii toshset 1.71-1.1 Access much of the Toshiba laptop ii vbetool 0.7-1+b1 run real-mode video BIOS code to a ii xbase-clients 1:7.1.ds-3 miscellaneous X clients Versions of packages acpi-support recommends: ii laptop-mode-tools 1.31-1 Scripts to spin down hard drive an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]