Package: pm-utils
Version: 1.2.5-2
Severity: normal
I have a Sony Vaio VGN-S60 laptop. Until recently it would suspend fine
if I put "ADD_PARAMETERS=--quirk-vbe-post" in /etc/pm/config.d/00local.
After an update yesterday it would no longer suspend to RAM with
"powersave -u" but it would still suspend to disk with "powersave -U". The
"-u" option would switch consoles but never suspend.
Likewise, my GUI power managers (xfce4-power-manager and kpowersave) would
not suspend to RAM but would suspend to disk. Both types of suspend continued
to work fine if I used pm-suspend directly.
Some noodling around lead me to use the command:
pm-suspend --store-quirks-as-fdi
This made a file in /etc/hal/fdi/information. However, after restarting
hal the suspend worked as before (ok with pm-suspend, not ok with
powersave). I finally looked at "lshal|grep quirk" and noticed that all
quirks were enabled, not just the one I wanted!
It turns out that the fdi file that pm-suspend made adds a new key, but in
/usr/share/hal/fdi/information/10freedesktop, there is a default video quirks
file that turns on _all_ the quirks. My laptop does not like one particular
quirk, dpms-suspend, and that was the reason for the suspend failure.
By editing the file pm-suspend created and setting all the quirks to false
except the one I wanted, I was able to get suspend to RAM working again.
I think that either pm-suspend needs to turn off unneeded keys when it
creates an fdi file or else the default video fdi file in hal-info needs
to be changed.
Also, FYI, this is my final 99local-pm-utils-quirks.fdi:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<!-- Created by pm-utils -->
<deviceinfo version="0.2">
<device>
<match key="system.hardware.vendor" string="Sony Corporation">
<match key="system.hardware.product" string="VGN-S260(UC)">
<match key="system.firmware.version" string="R0061G4">
<match key="system.hardware.primary_video.vendor" int="0x1002">
<match key="system.hardware.primary_video.product" int="0x5c61">
<merge key="power_management.quirk.dpms_on"
type="bool">false</merge>
<merge key="power_management.quirk.dpms_suspend"
type="bool">false</merge>
<merge key="power_management.quirk.vbe_post"
type="bool">true</merge>
<merge key="power_management.quirk.vbemode_restore"
type="bool">false</merge>
<merge key="power_management.quirk.vbestate_restore"
type="bool">false</merge>
<merge key="power_management.quirk.vga_mode_3"
type="bool">false</merge>
</match>
</match>
</match>
</match>
</match>
</device>
</deviceinfo>
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-2-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 pm-utils depends on:
ii console-tools 1:0.2.3dbs-65.1 Linux console and font utilities
ii powermgmt-base 1.30+nmu1 Common utils and configs for power
Versions of packages pm-utils recommends:
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii radeontool 1.5-5 utility to control ATI Radeon back
ii uswsusp 0.8-1.1+b1 tools to use userspace software su
ii vbetool 1.1-2 run real-mode video BIOS code to a
Versions of packages pm-utils suggests:
ii cpufrequtils 005-1 utilities to deal with the cpufreq
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]