#593309 pm-utils: No video quirks required for Acer Aspire 5100

#593309#5
Date:
2010-08-17 03:51:33 UTC
From:
To:
I'm trying to increase the suspend/resume time.  This Acer Aspire 5100
suspends and resumes just fine as far as video goes, with just the
2.6.35 kernel
`echo mem > /sys/power/state` and also switching to --quirk-none.

Index: usr/lib/pm-utils/video-quirks/20-video-quirk-pm-acer.quirkdb
===================================================================
--- usr/lib/pm-utils/video-quirks/20-video-quirk-pm-acer.quirkdb	(revision 112)
+++ usr/lib/pm-utils/video-quirks/20-video-quirk-pm-acer.quirkdb	(revision 113)
@@ -94,7 +94,10 @@
     addquirk --quirk-vbe-post
     addquirk --quirk-vbestate-restore
    endmatch
-   match system.hardware.product regex 1520|1650|5100|5110|5570|5920
+   match system.hardware.product regex 5100
+    addquirk --quirk-none
+   endmatch
+   match system.hardware.product regex 1520|1650|5110|5570|5920
     addquirk --quirk-vbe-post
     addquirk --quirk-vbemode-restore
    endmatch

#593309#10
Date:
2010-08-17 07:48:47 UTC
From:
To:
Hi David,

have you also tested the currrent default Debian kernel 2.6.32?

What video driver are you using? Do you use KMS? If so, that particular quirk
should not be necessary as pm-utils automatically does not apply any quirks if
KMS is used.

Could you please also attach the log file /var/log/pm-suspend.log.

Thanks,
Michael

#593309#15
Date:
2010-08-18 17:36:22 UTC
From:
To:
suspend to memory and resumed without any problems
X reported, Kernel modesetting enabled.
it is using the graphical frame buffer for console
log:
Initial commandline parameters:
Wed Aug 18 11:21:28 CDT 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 Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux
             total       used       free     shared    buffers     cached
Mem:       1928880     234216    1694664          0      12100     115088
-/+ buffers/cache:     107028    1821852
Swap:      4008208          0    4008208
success.
/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:not applicable.
/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/95anacron suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/etc/pm/sleep.d/99hdparm suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Wed Aug 18 11:21:29 CDT 2010: performing suspend
Wed Aug 18 11:21:38 CDT 2010: Awake.
Wed Aug 18 11:21:38 CDT 2010: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend:success.
/etc/pm/sleep.d/99hdparm resume suspend:Setting parameters of disc: /dev/sda .
success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
/usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/95anacron resume suspend:success.
/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:not applicable.
/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.
Wed Aug 18 11:21:39 CDT 2010: Finished.

hibernate to disk and resume without any problems
X reported, Kernel modesetting enabled.
it is using the graphical frame buffer for console
log:
Initial commandline parameters:
Wed Aug 18 11:26:51 CDT 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux
             total       used       free     shared    buffers     cached
Mem:       1928880     239448    1689432          0      12528     115704
-/+ buffers/cache:     111216    1817664
Swap:      4008208          0    4008208
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/etc/pm/sleep.d/99hdparm hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Aug 18 11:26:52 CDT 2010: performing hibernate
Wed Aug 18 11:27:40 CDT 2010: Awake.
Wed Aug 18 11:27:40 CDT 2010: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate:success.
/etc/pm/sleep.d/99hdparm thaw hibernate:Setting parameters of disc: /dev/sda .
success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/95anacron thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:success.
Wed Aug 18 11:27:46 CDT 2010: Finished.

removing radeon.ko so it isn't found so it stays with the VGA text console
(testing without kernel modesetting for completeness)
[KMS] drm report modesetting isn't supported.
suspended to ram and back without any problems
Initial commandline parameters:
Wed Aug 18 11:35:48 CDT 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 Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux
             total       used       free     shared    buffers     cached
Mem:       1928880     223244    1705636          0      10068     113844
-/+ buffers/cache:      99332    1829548
Swap:      4008208          0    4008208
success.
/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:not applicable.
/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/95anacron suspend suspend:success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/etc/pm/sleep.d/99hdparm suspend suspend:not applicable.
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Wed Aug 18 11:35:49 CDT 2010: performing suspend
Wed Aug 18 11:35:58 CDT 2010: Awake.
Wed Aug 18 11:35:58 CDT 2010: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend:success.
/etc/pm/sleep.d/99hdparm resume suspend:Setting parameters of disc: /dev/sda .
success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
/usr/lib/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib/pm-utils/sleep.d/95anacron resume suspend:success.
/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:not applicable.
/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.
Wed Aug 18 11:35:59 CDT 2010: Finished.

hibernate to disk, console was messed when X went to console to suspend,
resume failed, but I'll blame that on accidently booting 2.6.35 and
try to do alt-control-delete and try again with 2.6.32-5-amd64
the next hibernate to disk with 2.6.32-5-amd64 had a clean X to
console, hiberante, and resume to X without any issues
log:
Initial commandline parameters:
Wed Aug 18 11:39:39 CDT 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:Linux Pulsar 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux
             total       used       free     shared    buffers     cached
Mem:       1928880     227140    1701740          0      13748     112564
-/+ buffers/cache:     100828    1828052
Swap:      4008208          0    4008208
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/70action_wpa hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95anacron hibernate hibernate:success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:success.
/etc/pm/sleep.d/99hdparm hibernate hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate:success.
Wed Aug 18 11:39:40 CDT 2010: performing hibernate
Wed Aug 18 11:40:27 CDT 2010: Awake.
Wed Aug 18 11:40:28 CDT 2010: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate:success.
/etc/pm/sleep.d/99hdparm thaw hibernate:Setting parameters of disc: /dev/sda .
success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/95anacron thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/70action_wpa thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/55NetworkManager thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw hibernate:not applicable.
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate:success.
/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:success.
Wed Aug 18 11:40:35 CDT 2010: Finished.
Ran the same hibernate to disk and back without any issues.

From console (without radeon.ko and with a VGA text console),
suspend to memory and back while at console leaves the console blank,
going to X is fine, but returning to console displays garbage
graphics not the VGA text console.
hibernate to disk, and back while at the messed up console, restores
the console to a working text mode
add 'addquirk --quirk-vbestate-restore'
same result
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib/pm-utils/sleep.d/99video suspend
suspend:kernel.acpi_video_flags = 0
success.
/usr/lib/pm-utils/sleep.d/99video resume suspend:success.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume
suspend:success.
hibernate to disk and back for a working console
add 'addquirk --quirk-vbe-post'
suspend to memory and back, blank console, X and back, messed up
console
hibernate to disk and back, good text console
enter X,
suspend to memory and back, X is fine, text console isn't
reboot with the two quirks in place,
suspend to memory from console, and back, blank console, to X, to
console and a messed up console
wierd, I left the messed up console while I was typing this and I
can see that the pixels are degrading, it started out as vertical
white black white strips in three bands, I'm not sure if it's
slowly going to static or just white, but something's clearly not
updating it.

The only broken part I found was VGA text console when suspending to
memory and adding the quirks in that situation didn't change the
outcome.  Any other tests you would like me to run?
/usr/lib/xorg/modules/drivers/radeon_drv.so
compiled for 1.7.7, module version = 6.13.1
(II) [KMS] Kernel modesetting enabled.   [ at least for 2.6.35 ]
(--) RADEON(0): Chipset: "ATI Radeon XPRESS 200M 5975 (PCIE)" (ChipID = 0x5975)

#593309#20
Date:
2023-12-21 17:56:09 UTC
From:
To:
Dear submitter,

as the package pm-utils has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1058701

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)