[Pkg-acpi-devel] Bug#766632: acpi-support: fails to correctly execute /etc/acpi/power.sh

Nicolas Évrard nicoe at no-log.org
Fri Oct 24 14:06:42 UTC 2014


Package: acpi-support
Version: 0.142-5
Severity: important

Dear Maintainer,

Here is the output of the execution of acpid -f -d:

    cat: /sys/class/power_supply/AC0/online: Aucun fichier ou dossier de ce type
    /etc/acpi/power.sh: 12: [: =: unexpected operator
    /etc/acpi/power.sh: 15: /etc/acpi/power.sh: pm_powersave: not found

And indeed there is a typo line 15 pm_powersave -> pm-powersave.

The online file on my machine is in /sys/class/power_supply/AC/ (no 0)
but I suppose this can vary from one machine to another.

With those two changes, the script executes flawlessly.

Regards,


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-support-base  0.142-5
ii  acpid              1:2.0.23-1
ii  lsb-base           4.1+Debian13+nmu1
ii  pm-utils           1.4.1-15
ii  x11-xserver-utils  7.7+3

Versions of packages acpi-support recommends:
ii  acpi-fakekey  0.142-5
pn  rfkill        <none>

Versions of packages acpi-support suggests:
pn  radeontool  <none>
ii  vbetool     1.1-3
ii  xautolock   1:2.2-4
pn  xinput      <none>
ii  xtrlock     2.6

-- Configuration Files:
/etc/default/acpi-support changed:
ACPI_SLEEP=true
ACPI_HIBERNATE=true
LOCK_SCREEN=true
LID_SLEEP=true
DISPLAY_DPMS=xset
XRANDR_OUTPUT=LVDS


-- no debconf information

-- 
(°> Nicolas Évrard
( ) Liège
 `¯



More information about the Pkg-acpi-devel mailing list