[Pm-utils] ASUS M2V-MX SE: Graphics not initialized correctly after suspend.
Paul Menzel
paulepanter at users.sourceforge.net
Sun Feb 21 08:30:56 PST 2010
Dear pm-utils folks,
after upgrading pm-utils from 1.2.6.1-3 to 1.3.0~rc3-2 on my Debian Sid/unstable system, suspend is not working anymore. Using the default settings, the graphics is not initialized correctly as it was before I applied the following patch to hal-info which unfortunately has not yet be answered to on the HAL list or been committed [1–4].
I need the quirk s3-bios for the correct initialization of the graphic after suspend.
$ sudo pm-suspend --quirk-s3-bios
I tried to add this quirk to all kind places to no avail.
$ ls -l /etc/pm/sleep.d/
insgesamt 4
-rwxr-xr-x 1 root root 33 21. Feb 02:01 m2v.txt
$ more /etc/pm/sleep.d/m2v.txt
ADD_PARAMETERS="--quirk-s3-bios"
$ grep -A2 "ASUS M2V-MX" /usr/lib/pm-utils/video-quirks/20-video-quirk-pm-asus.quirkdb
match system.firmware.version regex ^ASUS M2V-MX
addquirk --quirk-s3-bios
endmatch
With those changes the system does not even suspend anymore.
$ more /var/log/pm-suspend.log
[…]
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 1
Can't get video state buffer size (vm86 failure)
Get video state buffer size failed
Allocated buffer at 0x2010 (base is 0x0)
ES: 0x0201 EBX: 0x0000
Can't save video state (vm86 failure)
Save video state failed
Error: something went wrong performing real mode interrupt
Error: something went wrong performing real mode interrupt
Returned exit code 255.
Sun Feb 21 14:00:01 CET 2010: Inhibit found, will not perform suspend
Sun Feb 21 14:00:01 CET 2010: Running hooks for resume
[…]
It looks like some other quirks are applied too, which use `vbetool` which does not work on my system [5].
The only thing that worked for me was adding `ADD_PARAMETERS="--quirk-s3-bios"` to `/usr/lib/pm-utils/default`.
$ more /var/log/pm-suspend.log
[…]
Initial commandline parameters: --quirk-s3-bios
So 21. Feb 16:03:39 CET 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend:Linux myhostname 2.6.32-2-amd64 #1 SMP Thu Feb 11 05:36:29 UTC 2010 x86_64 GNU/Linux
Module Size Used by
[…]
total used free shared buffers cached
Mem: 3932540 2511080 1421460 0 177872 1485636
-/+ buffers/cache: 847572 3084968
Swap: 4194296 0 4194296
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib/pm-utils/sleep.d/70action_wpa suspend suspend:success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98-video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 1
success.
/etc/pm/sleep.d/m2v.txt suspend suspend:success.
So 21. Feb 16:03:40 CET 2010: performing suspend
So 21. Feb 16:12:57 CET 2010: Awake.
So 21. Feb 16:12:57 CET 2010: Running hooks for resume
/etc/pm/sleep.d/m2v.txt resume suspend:success.
/usr/lib/pm-utils/sleep.d/99video resume suspend:success.
/usr/lib/pm-utils/sleep.d/98-video-quirk-db-handler resume suspend:success.
/usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:success.
/usr/lib/pm-utils/sleep.d/90clock resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/75modules resume suspend:success.
/usr/lib/pm-utils/sleep.d/70action_wpa resume suspend:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:success.
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend:success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend:success.
/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:success.
So 21. Feb 16:12:58 CET 2010: Finished.
Please tell me what the correct way is to add such a quirk. I did not find any information on [6]. Maybe you can also apply [2] to hal-info.
Thanks,
Paul
[1] http://lists.freedesktop.org/archives/hal/2009-October/013605.html
[2] http://lists.freedesktop.org/archives/hal/2009-October/013609.html
[3] http://lists.freedesktop.org/archives/hal/2009-November/013625.html
[4] http://lists.freedesktop.org/archives/hal/2009-December/013727.html
[5] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406682
[6] http://pm-utils.freedesktop.org/wiki/
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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-68 Linux console and font utilities
ii powermgmt-base 1.31 Common utils and configs for power
Versions of packages pm-utils recommends:
ii procps 1:3.2.8-7 /proc file system utilities
ii radeontool 1.6.0-1 utility to control ATI Radeon back
ii vbetool 1.1-2 run real-mode video BIOS code to a
Versions of packages pm-utils suggests:
ii cpufrequtils 006-2 utilities to deal with the cpufreq
pn uswsusp <none> (no description available)
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.freedesktop.org/archives/pm-utils/attachments/20100221/0d436ec3/attachment.pgp>
More information about the Pm-utils
mailing list