Package: acpi-support
Version: 0.109-6
Severity: normal

I am sorry to be trouble, there is probably an easy solution but I
couldn't find it after some time, so I am submitting this as a
documentation bug, hopefully the situation can be improved for future
users even if my question is addressed.

I just want to turn of my network interfaces on suspend (maybe this
happens automatically with some desktop environment or using
/etc/network/interfaces but I don't use those), so I looked around and
found /etc/acpi/suspend.d/ and put a script in there. It doesn't seem
to run on suspend, which I do with

acpitool -s

A README in that directory explaining the use of the directory would
help, maybe? Then I found /etc/default/acpi-support which has a long
comment before the SUSPEND_METHODS line saying something about how
/etc/acpi/suspend.d is deprecated but also saying I can enable it by
putting "acpi-support" in SUSPEND_METHODS. The comment didn't say what
the non-deprecated solution was (e.g. pm-utils is supposedly
non-deprecated, but where do I put my scripts to have them run by
pm-utils?). I tried putting my script in /usr/lib/pm-utils/sleep.d/,
but no luck. Then I tried adding "acpi-support" to SUSPEND_METHODS in
/etc/default/acpi-support, with the script back in
/etc/acpi/suspend.d, still no luck. Note that
/etc/default/acpi-support doesn't explain what services to restart
after modifying the file, which would be useful, but I tried

/etc/init.d/acpid restart
/etc/init.d/acpi-support restart

and repeated the experiment with no luck.

Also, I wasn't able to find useful information in the ACPI HOWTO

http://www.ibiblio.org/pub/Linux/docs/HOWTO/ACPI-HOWTO

I hope that I am not overlooking something obvious. It is strange to
have a huge directory of scripts in /etc/ which don't seem to be
getting executed by anything...

Many thanks.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support depends on:
ii  acpi-support-base             0.109-6    scripts for handling base ACPI eve
ii  acpid                         1.0.6-10   Utilities for using ACPI power man
ii  dmidecode                     2.9-1      Dump Desktop Management Interface 
ii  finger                        0.17-12    user information lookup program
ii  hdparm                        8.9-1      tune hard disk parameters for high
ii  laptop-detect                 0.13.6     attempt to detect a laptop
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  lsb-base                      3.2-12     Linux Standard Base 3.2 init scrip
ii  powermgmt-base                1.30       Common utils and configs for power
ii  vbetool                       1.0-3      run real-mode video BIOS code to a
ii  x11-xserver-utils             7.3+3      X server utilities

Versions of packages acpi-support recommends:
ii  dbus                          1.2.1-2    simple interprocess messaging syst
ii  hal                           0.5.9.1-6  Hardware Abstraction Layer
ii  nvclock                       0.8b3-1    Allows you to overclock your nVidi
ii  pm-utils                      1.1.2.4-1  utilities and scripts for power ma
ii  radeontool                    1.5-5      utility to control ATI Radeon back
ii  toshset                       1.73-2     Access much of the Toshiba laptop 

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to