Package: pm-utils
Version: 1.4.1-15
Severity: normal

Dear Maintainer,

On a Lenovo Miix 3-1030, pm-suspend does not work although the kernel can
suspend the machine.

$ cat /sys/power/state
freeze disk

# echo freeze > /sys/power/state

... will indeed suspend the computer, and it comes back alive after pressing
the button, so this mostly works. Unfortunately, the script in pm-utils that
does the work does not recognize this method:

/usr/lib/pm-utils/pm-functions:

if [ -z "$SUSPEND_MODULE" ]; then
        if grep -q mem /sys/power/state; then
                SUSPEND_MODULE="kernel"
                do_suspend() { echo -n "mem" >/sys/power/state; }
        elif [ -c /dev/pmu ] && check_suspend_pmu; then
                SUSPEND_MODULE="kernel"
                do_suspend() { do_suspend_pmu; }
        elif grep -q standby /sys/power/state; then
                SUSPEND_MODULE="kernel"
                do_suspend() { echo -n "standby" >/sys/power/state; }
        fi
fi

As you can see, "mem" and "standby" are supported, but not "freeze".

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.1 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pm-utils depends on:
ii  powermgmt-base  1.31+nmu1

Versions of packages pm-utils recommends:
ii  ethtool  1:3.16-1
ii  hdparm   9.43-2
ii  kbd      1.15.5-2
ii  procps   2:3.3.9-9
ii  vbetool  1.1-3

Versions of packages pm-utils suggests:
pn  cpufrequtils    <none>
pn  radeontool      <none>
ii  wireless-tools  30~pre9-8

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to