You are not logged in.

#1 2010-09-17 05:05:49

Kirodema
Member
Registered: 2010-01-08
Posts: 81

suspending problems on Thinkpad R500

Ok, since noone wanted to help me with my problem in the kernel-section (https://bbs.archlinux.org/viewtopic.php?id=104833). As the topic suggests, I have a Thinkpad R500. pm-suspends doesnt seem to work for me after reinstalling Arch although I havent done anything different to before. Here is my pm-suspend.log

db@kirodema ~ $ cat /var/log/pm-suspend.log 
Initial commandline parameters: 
Wed Sep 15 07:59:25 CEST 2010: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux kirodema 2.6.35-ice #1 SMP PREEMPT Tue Sep 14 20:35:04 CEST 2010 i686 Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz GenuineIntel GNU/Linux
Module                  Size  Used by
ipv6                  239405  14 
fuse                   54698  3 
aes_i586                6892  2 
aes_generic            25846  1 aes_i586
hdaps                   7604  1 
ext2                   56204  1 
btusb                   9713  0 
bluetooth              44753  1 btusb
uvcvideo               53488  0 
videodev               39124  1 uvcvideo
v4l1_compat            13562  2 uvcvideo,videodev
arc4                    1070  2 
joydev                  7503  0 
ecb                     1589  2 
snd_seq_dummy           1079  0 
snd_seq_oss            25104  0 
snd_seq_midi_event      4496  1 snd_seq_oss
snd_seq                41752  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4369  3 snd_seq_dummy,snd_seq_oss,snd_seq
iwlagn                243931  0 
iwlcore               104325  1 iwlagn
snd_pcm_oss            33630  0 
snd_mixer_oss          14686  1 snd_pcm_oss
pcmcia                 32607  0 
i915                  265975  2 
snd_hda_codec_conexant    25794  1 
drm_kms_helper         22011  1 i915
drm                   134004  3 i915,drm_kms_helper
mac80211              167862  2 iwlagn,iwlcore
snd_hda_intel          19020  0 
snd_hda_codec          67274  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               4764  1 snd_hda_codec
cfg80211              124271  3 iwlagn,iwlcore,mac80211
thinkpad_acpi          54236  0 
yenta_socket           19842  0 
snd_pcm                58276  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
sdhci_pci               5774  0 
sdhci                  14341  1 sdhci_pci
firewire_ohci          20238  0 
snd_timer              15423  2 snd_seq,snd_pcm
pcmcia_rsrc             9464  1 yenta_socket
snd                    43283  12 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,thinkpad_acpi,snd_pcm,snd_timer
cpufreq_userspace       1560  0 
intel_agp              23799  2 i915
soundcore               5025  1 snd
i2c_algo_bit            4407  1 i915
tg3                   115624  0 
mmc_core               47268  1 sdhci
iTCO_wdt                8677  0 
rfkill                 12854  3 bluetooth,cfg80211,thinkpad_acpi
wmi                     5962  0 
cpufreq_ondemand        6971  2 
firewire_core          38941  1 firewire_ohci
uhci_hcd               19219  0 
i2c_i801                7426  0 
snd_page_alloc          5949  2 snd_hda_intel,snd_pcm
nvram                   4749  1 thinkpad_acpi
ac                      2329  0 
ehci_hcd               32828  0 
battery                 7879  0 
pcmcia_core            10636  3 pcmcia,yenta_socket,pcmcia_rsrc
led_class               1843  2 thinkpad_acpi,sdhci
crc_itu_t               1053  1 firewire_core
i2c_core               15599  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
psmouse                51529  0 
agpgart                23520  2 drm,intel_agp
acpi_cpufreq            5157  1 
tpm_tis                 6420  0 
tpm                     9793  1 tpm_tis
tpm_bios                4629  1 tpm
sg                     20932  0 
video                  15889  1 i915
output                  1448  1 video
libphy                 14543  1 tg3
usbcore               121702  5 btusb,uvcvideo,uhci_hcd,ehci_hcd
iTCO_vendor_support     1433  1 iTCO_wdt
freq_table              1999  2 cpufreq_ondemand,acpi_cpufreq
serio_raw               3566  0 
thermal                 9786  0 
button                  3746  1 i915
evdev                   6820  19 
processor              25126  3 acpi_cpufreq
mperf                    979  1 acpi_cpufreq
tp_smapi               15845  0 
thinkpad_ec             4101  2 hdaps,tp_smapi
rtc_cmos                7746  0 
rtc_core               11831  1 rtc_cmos
rtc_lib                 1494  1 rtc_core
ext3                  110740  2 
jbd                    39247  1 ext3
mbcache                 4290  2 ext2,ext3
sr_mod                 13313  0 
sd_mod                 26768  5 
cdrom                  31410  1 sr_mod
ahci                   17813  0 
libahci                16174  5 ahci
libata                140707  2 ahci,libahci
scsi_mod              105888  4 sg,sr_mod,sd_mod,libata
             total       used       free     shared    buffers     cached
Mem:       1957008     919500    1037508          0     102324     306988
-/+ buffers/cache:     510188    1446820
Swap:      4000180          0    4000180

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:

/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Done.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Wed Sep 15 07:59:27 CEST 2010: performing suspend

Dont know why its stuck at "performing suspend".

Currently I try to use s2ram (doesnt know my machine, but its working with -f). Only problems with that are, that I cant get it working on closing the laptop lid. And the terminal seems awfully slow after waking the laptop up (sometimes he needs a few ms more to show me what I have written, little bit annoying)

db@kirodema ~ $ cat /etc/acpi/events/lm_lid
event=button[ /]lid
action=/etc/acpi/actions/lm_mylid.sh %e
db@kirodema ~ $ cat /etc/acpi/actions/lm_mylid.sh
#!/bin/sh

if grep closed /proc/acpi/button/lid/LID/state > /dev/null; then
    echo "funktioniert" > /home/db/acpi-event
    s2ram -f
fi

Doesnt even write in the specified file hmm. Please help me either get pm-utils working or s2ram working proberly

Edit: Fixed typo in title

Last edited by Kirodema (2010-09-18 14:03:35)

Offline

#2 2010-09-17 06:15:26

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: suspending problems on Thinkpad R500

Can you add PM_DEBUG="true" to your config?

Offline

#3 2010-09-17 07:52:39

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: suspending problems on Thinkpad R500

pm-suspend.log with PM_DEBUG

db@kirodema ~ $ cat /var/log/pm-suspend.log 
+ log 'Initial commandline parameters: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Initial commandline parameters: ' = -n ']'
+ printf '%s\n' 'Initial commandline parameters: '
Initial commandline parameters: 
+ load_hook_blacklist
+ '[' ' ' ']'
+ local hook
+ load_hook_parameters
+ '[' ' ' ']'
+ remove_parameters
+ local p
+ '[' '' = all ']'
+ echo ''
+ grep -vxFf /var/run/pm-utils/pm-suspend/storage/parameters.rm /var/run/pm-utils/pm-suspend/storage/parameters
+ cp -f /var/run/pm-utils/pm-suspend/storage/parameters.new /var/run/pm-utils/pm-suspend/storage/parameters
+ '[' ' ' ']'
+ add_parameters
+ remove_parameters
+ local p
+ '[' '' = all ']'
+ echo ''
+ grep -vxFf /var/run/pm-utils/pm-suspend/storage/parameters.rm /var/run/pm-utils/pm-suspend/storage/parameters
+ cp -f /var/run/pm-utils/pm-suspend/storage/parameters.new /var/run/pm-utils/pm-suspend/storage/parameters
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
++ get_parameters
++ cat /var/run/pm-utils/pm-suspend/storage/parameters
+ export PM_CMDLINE=
+ PM_CMDLINE=
+ rm -f /var/run/pm-utils/pm-suspend/storage/parameters.new
++ date
+ log 'Fri Sep 17 09:41:50 CEST 2010: Running hooks for suspend.'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Fri Sep 17 09:41:50 CEST 2010: Running hooks for suspend.' = -n ']'
+ printf '%s\n' 'Fri Sep 17 09:41:50 CEST 2010: Running hooks for suspend.'
Fri Sep 17 09:41:50 CEST 2010: Running hooks for suspend.
+ run_hooks sleep 'suspend suspend'
+ _run_hooks sleep 'suspend suspend'
+ local syshooks=/etc/pm/sleep.d
+ local phooks=/usr/lib/pm-utils/sleep.d
+ command_exists before_hooks
+ type before_hooks
+ return 0
+ before_hooks
+ '[' -z '' ']'
+ return 0
+ local sort=sort
+ local base
+ local hook
+ local 'oifs=     
'
+ local 'nifs=
'
+ IFS='
'
+ '[' '' = reverse ']'
++ IFS='     
'
++ sort
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O '/etc/pm/sleep.d/*[!~]' ']'
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/00logging ']'
++ echo 00logging
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/00powersave ']'
++ echo 00powersave
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/01grub ']'
++ echo 01grub
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/01laptop-mode ']'
++ echo 01laptop-mode
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/11netcfg ']'
++ echo 11netcfg
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/49bluetooth ']'
++ echo 49bluetooth
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/55NetworkManager ']'
++ echo 55NetworkManager
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/75modules ']'
++ echo 75modules
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/90clock ']'
++ echo 90clock
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/94cpufreq ']'
++ echo 94cpufreq
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/95led ']'
++ echo 95led
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler ']'
++ echo 98video-quirk-db-handler
++ for f in '"$syshooks/"*[!~]' '"$phooks/"*[!~]'
++ '[' -O /usr/lib/pm-utils/sleep.d/99video ']'
++ echo 99video
++ uniq
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a '' ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/00logging ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/00logging ']'
+ hook=/usr/lib/pm-utils/sleep.d/00logging
+ run_hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/00logging
+ local hook=00logging
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:00logging ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:logging ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/00logging ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/00logging suspend suspend
+ case "$1" in
+ '[' -n /var/log/pm-suspend.log ']'
+ /bin/uname -a
Linux kirodema 2.6.35-ice #1 SMP PREEMPT Tue Sep 14 20:35:04 CEST 2010 i686 Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz GenuineIntel GNU/Linux
+ lsmod
Module                  Size  Used by
rfcomm                 29622  4 
sco                     7064  2 
bnep                    6667  2 
l2cap                  36272  16 rfcomm,bnep
crc16                   1053  1 l2cap
fuse                   54698  3 
aes_i586                6892  0 
aes_generic            25846  1 aes_i586
hdaps                   7604  1 
ext2                   56204  1 
btusb                   9713  2 
bluetooth              44753  9 rfcomm,sco,bnep,l2cap,btusb
uvcvideo               53488  0 
videodev               39124  1 uvcvideo
v4l1_compat            13562  2 uvcvideo,videodev
usb_storage            34108  0 
arc4                    1070  2 
ecb                     1589  2 
iwlagn                243931  0 
iwlcore               104325  1 iwlagn
snd_seq_dummy           1079  0 
joydev                  7503  0 
mac80211              167862  2 iwlagn,iwlcore
snd_seq_oss            25104  0 
snd_seq_midi_event      4496  1 snd_seq_oss
snd_seq                41752  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4369  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33630  0 
snd_mixer_oss          14686  1 snd_pcm_oss
cfg80211              124271  3 iwlagn,iwlcore,mac80211
cpufreq_userspace       1560  0 
i915                  265975  2 
snd_hda_codec_conexant    25794  1 
sdhci_pci               5774  0 
sdhci                  14341  1 sdhci_pci
mmc_core               47268  1 sdhci
snd_hda_intel          19020  0 
drm_kms_helper         22011  1 i915
cpufreq_ondemand        6971  2 
snd_hda_codec          67274  2 snd_hda_codec_conexant,snd_hda_intel
drm                   134004  3 i915,drm_kms_helper
snd_hwdep               4764  1 snd_hda_codec
snd_pcm                58276  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              15423  2 snd_seq,snd_pcm
snd_page_alloc          5949  2 snd_hda_intel,snd_pcm
acpi_cpufreq            5157  1 
uhci_hcd               19219  0 
thinkpad_acpi          54236  0 
rfkill                 12854  4 bluetooth,cfg80211,thinkpad_acpi
snd                    43283  12 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer,thinkpad_acpi
soundcore               5025  1 snd
led_class               1843  2 sdhci,thinkpad_acpi
nvram                   4749  1 thinkpad_acpi
ehci_hcd               32828  0 
pcmcia                 32607  0 
i2c_algo_bit            4407  1 i915
freq_table              1999  2 cpufreq_ondemand,acpi_cpufreq
usbcore               121702  6 btusb,uvcvideo,usb_storage,uhci_hcd,ehci_hcd
psmouse                51529  0 
firewire_ohci          20238  0 
battery                 7879  0 
firewire_core          38941  1 firewire_ohci
crc_itu_t               1053  1 firewire_core
ac                      2329  0 
tpm_tis                 6420  0 
tg3                   115624  0 
tpm                     9793  1 tpm_tis
tpm_bios                4629  1 tpm
wmi                     5962  0 
yenta_socket           19842  0 
pcmcia_rsrc             9464  1 yenta_socket
intel_agp              23799  2 i915
pcmcia_core            10636  3 pcmcia,yenta_socket,pcmcia_rsrc
i2c_i801                7426  0 
i2c_core               15599  6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
mperf                    979  1 acpi_cpufreq
serio_raw               3566  0 
agpgart                23520  2 drm,intel_agp
libphy                 14543  1 tg3
video                  15889  1 i915
output                  1448  1 video
sg                     20932  0 
evdev                   6820  19 
iTCO_wdt                8677  0 
iTCO_vendor_support     1433  1 iTCO_wdt
processor              25126  3 acpi_cpufreq
button                  3746  1 i915
thermal                 9786  0 
tp_smapi               15845  0 
thinkpad_ec             4101  2 hdaps,tp_smapi
rtc_cmos                7746  0 
rtc_core               11831  1 rtc_cmos
rtc_lib                 1494  1 rtc_core
ext3                  110740  2 
jbd                    39247  1 ext3
mbcache                 4290  2 ext2,ext3
sr_mod                 13313  0 
sd_mod                 26768  5 
cdrom                  31410  1 sr_mod
ahci                   17813  0 
libahci                16174  5 ahci
libata                140707  2 ahci,libahci
scsi_mod              105888  5 usb_storage,sg,sr_mod,sd_mod,libata
+ free
             total       used       free     shared    buffers     cached
Mem:       1957008     396692    1560316          0      15204     188704
-/+ buffers/cache:     192784    1764224
Swap:      4000180          0    4000180
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/00logging suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/00logging suspend suspend: '
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=00logging
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 00logging ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/00powersave ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/00powersave ']'
+ hook=/usr/lib/pm-utils/sleep.d/00powersave
+ run_hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/00powersave
+ local hook=00powersave
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:00powersave ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:powersave ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/00powersave ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/00powersave suspend suspend
+ command_exists pm-powersave
+ type pm-powersave
+ return 0
+ case $1 in
+ pm-powersave false
++ set -a
++ PM_UTILS_LIBDIR=/usr/lib/pm-utils
++ PM_UTILS_ETCDIR=/etc/pm
++ PM_UTILS_RUNDIR=/var/run/pm-utils
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/pm-utils/bin
++ PM_LOGFILE=/var/log/pm-powersave.log
++ TEMPORARY_CPUFREQ_GOVERNOR=performance
++ LOCKDIR=/var/run/pm-utils/locks
++ STORAGEDIR=/var/run/pm-utils/pm-powersave/storage
++ NA=254
++ NX=253
++ DX=252
++ PM_FUNCTIONS=/usr/lib/pm-utils/functions
++ PM_QUIRKDB=/usr/lib/pm-utils/video-quirks
++ PM_LKW_QUIRKS=/etc/pm/last_known_working.quirkdb
++ LC_COLLATE=C
++ HIBERNATE_MODE=
++ HIBERNATE_RESUME_POST_VIDEO=no
++ SLEEP_MODULE=auto
++ SUSPEND_MODULES=
++ HOOK_BLACKLIST=
++ ADD_PARAMETERS=
++ DROP_PARAMETERS=
++ PARAMETERS=/var/run/pm-utils/pm-powersave/storage/parameters
++ INHIBIT=/var/run/pm-utils/pm-powersave/storage/inhibit
++ PM_CMDLINE=false
++ BEFORE_HOOKS=
++ MODULE_HELP=
++ SUSPEND_MODULE=
++ HIBERNATE_MODULE=
++ SUSPEND_HYBRID_MODULE=
++ PM_HIBERNATE_DELAY=900
++ PM_RTC=/sys/class/rtc/rtc0
++ '[' -f /usr/lib/pm-utils/defaults ']'
++ . /usr/lib/pm-utils/defaults
++ '[' -f /usr/lib/pm-utils/pm-powersave.defaults ']'
++ set +a
++ for cfg in '"${PM_UTILS_ETCDIR}"/config.d/*[!~]' '"${PM_UTILS_ETCDIR}/${STASHNAME}.config.d"/*[!~]'
++ '[' -f /etc/pm/config.d/00-debug ']'
++ '[' '' ']'
++ '[' '' ']'
++ '[' '' ']'
++ '[' '' ']'
++ set -a
++ . /etc/pm/config.d/00-debug
+++ PM_DEBUG=true
++ SUSPEND_MODULES=' '
++ HOOK_BLACKLIST=' '
++ ADD_PARAMETERS=' '
++ DROP_PARAMETERS=' '
++ set +a
++ for cfg in '"${PM_UTILS_ETCDIR}"/config.d/*[!~]' '"${PM_UTILS_ETCDIR}/${STASHNAME}.config.d"/*[!~]'
++ '[' -f '/etc/pm/pm-powersave.config.d/*[!~]' ']'
++ continue
++ . /usr/lib/pm-utils/functions
+++ is_set true
+++ case ${1-UNSET} in
+++ return 0
+++ set -x
++ profiling
++ '[' '' = true ']'
++ profiling
++ '[' '' = true ']'
++ profiling
++ '[' '' = true ']'
++ '[' auto = auto ']'
++ SLEEP_MODULE='tuxonice uswsusp'
++ for mod in '$SLEEP_MODULE'
++ mod=/usr/lib/pm-utils/module.d/tuxonice
++ '[' -f /usr/lib/pm-utils/module.d/tuxonice ']'
++ . /usr/lib/pm-utils/module.d/tuxonice
+++ export TUXONICE_LOC
+++ for loc in '"/sys/power/tuxonice"' '"/sys/power/suspend2"'
+++ '[' -d /sys/power/tuxonice ']'
+++ for loc in '"/sys/power/tuxonice"' '"/sys/power/suspend2"'
+++ '[' -d /sys/power/suspend2 ']'
+++ '[' -n '' ']'
+++ '[' -z '' -a -n '' ']'
+++ '[' -z '' -a -n '' ']'
++ for mod in '$SLEEP_MODULE'
++ mod=/usr/lib/pm-utils/module.d/uswsusp
++ '[' -f /usr/lib/pm-utils/module.d/uswsusp ']'
++ . /usr/lib/pm-utils/module.d/uswsusp
+++ '[' -z '' ']'
+++ command_exists s2ram
+++ type s2ram
+++ return 1
+++ '[' -z '' ']'
+++ '[' -f /sys/power/disk ']'
+++ grep -q disk /sys/power/state
+++ '[' -c /dev/snapshot ']'
+++ command_exists s2disk
+++ type s2disk
+++ return 1
+++ '[' -z '' ']'
+++ grep -q mem /sys/power/state
+++ command_exists s2both
+++ type s2both
+++ return 1
++ '[' -z '' ']'
++ grep -q mem /sys/power/state
++ SUSPEND_MODULE=kernel
++ '[' -z '' ']'
++ '[' -f /sys/power/disk ']'
++ grep -q disk /sys/power/state
++ HIBERNATE_MODULE=kernel
++ '[' -z '' -a -w /sys/class/rtc/rtc0/wakealarm ']'
++ check_suspend
++ '[' -n kernel ']'
++ check_hibernate
++ '[' -n kernel ']'
++ is_set no
++ case ${1-UNSET} in
++ return 1
++ SUSPEND_HYBRID_MODULE=kernel
+ case $1 in
+ lock_and_load
+ try_lock pm-powersave.lock
+ local lock=/var/run/pm-utils/locks/pm-powersave.lock
+ mkdir -p /var/run/pm-utils/locks
+ touch /var/run/pm-utils/locks/pm-powersave.lock
+ exec
+ flock -x -n 3
+ return 0
+ trap remove_powersave_lock 0
+ mkdir -p /var/run/pm-utils/pm-powersave/storage
+ rm -f /var/run/pm-utils/pm-powersave/storage/inhibit
+ load_hook_blacklist
+ '[' ' ' ']'
+ local hook
+ init_logfile /var/log/pm-powersave.log
+ '[' -z /var/log/pm-powersave.log ']'
+ '[' -h /var/log/pm-powersave.log ']'
+ '[' -f /var/log/pm-powersave.log -a '!' -O /var/log/pm-powersave.log ']'
+ export LOGGING=true
+ LOGGING=true
+ exec
+ exit 0
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: '
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=00powersave
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 00powersave ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/01grub ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/01grub ']'
+ hook=/usr/lib/pm-utils/sleep.d/01grub
+ run_hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/01grub
+ local hook=01grub
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:01grub ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:grub ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/01grub ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/01grub suspend suspend
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/01grub suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/01grub suspend suspend: '
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=01grub
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 01grub ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/01laptop-mode ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/01laptop-mode ']'
+ hook=/usr/lib/pm-utils/sleep.d/01laptop-mode
+ run_hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/01laptop-mode
+ local hook=01laptop-mode
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:01laptop-mode ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:laptop-mode ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/01laptop-mode ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: '
/usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=01laptop-mode
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 01laptop-mode ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/11netcfg ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/11netcfg ']'
+ hook=/usr/lib/pm-utils/sleep.d/11netcfg
+ run_hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/11netcfg
+ local hook=11netcfg
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:11netcfg ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:netcfg ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/11netcfg ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend
+ '[' -x /usr/bin/netcfg2 ']'
+ case "$1" in
+ suspend_netcfg
+ netcfg2 all-suspend
+ exit 0
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: '
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=11netcfg
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 11netcfg ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/49bluetooth ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/49bluetooth ']'
+ hook=/usr/lib/pm-utils/sleep.d/49bluetooth
+ run_hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/49bluetooth
+ local hook=49bluetooth
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:49bluetooth ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:bluetooth ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/49bluetooth ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend
+ '[' -f /proc/acpi/ibm/bluetooth ']'
+ case "$1" in
+ suspend_bluetooth
+ grep -q enabled /proc/acpi/ibm/bluetooth
+ savestate ibm_bluetooth enable
+ '[' -n enable ']'
+ echo enable
+ echo disable
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: '
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=49bluetooth
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 49bluetooth ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/55NetworkManager ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/55NetworkManager ']'
+ hook=/usr/lib/pm-utils/sleep.d/55NetworkManager
+ run_hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/55NetworkManager
+ local hook=55NetworkManager
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:55NetworkManager ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:NetworkManager ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/55NetworkManager ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend
+ case "$1" in
+ suspend_nm
+ printf 'Having NetworkManager put all interaces to sleep...'
Having NetworkManager put all interaces to sleep...+ dbus_send --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep
+ command dbus-send --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep
+ echo Done.
Done.
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: '
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=55NetworkManager
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 55NetworkManager ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/75modules ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/75modules ']'
+ hook=/usr/lib/pm-utils/sleep.d/75modules
+ run_hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/75modules
+ local hook=75modules
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:75modules ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:modules ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/75modules ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/75modules suspend suspend
+ case "$1" in
+ suspend_modules
+ '[' -z ' ' ']'
+ return 0
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/75modules suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/75modules suspend suspend: '
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=75modules
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 75modules ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/90clock ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/90clock ']'
+ hook=/usr/lib/pm-utils/sleep.d/90clock
+ run_hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/90clock
+ local hook=90clock
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:90clock ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:clock ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/90clock ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/90clock suspend suspend
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ exit 254
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/90clock suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/90clock suspend suspend: '
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=90clock
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 90clock ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/94cpufreq ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/94cpufreq ']'
+ hook=/usr/lib/pm-utils/sleep.d/94cpufreq
+ run_hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/94cpufreq
+ local hook=94cpufreq
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:94cpufreq ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:cpufreq ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/94cpufreq ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend
+ '[' -d /sys/devices/system/cpu/ ']'
+ case "$1" in
+ hibernate_cpufreq
+ cd /sys/devices/system/cpu/
+ for x in 'cpu[0-9]*'
+ '[' -L cpu0/cpufreq ']'
+ gov=cpu0/cpufreq/scaling_governor
+ '[' -f cpu0/cpufreq/scaling_governor ']'
+ grep -q performance cpu0/cpufreq/scaling_available_governors
+ savestate cpu0_governor
+ '[' -n '' ']'
+ cat
+ echo performance
+ for x in 'cpu[0-9]*'
+ '[' -L cpu1/cpufreq ']'
+ gov=cpu1/cpufreq/scaling_governor
+ '[' -f cpu1/cpufreq/scaling_governor ']'
+ grep -q performance cpu1/cpufreq/scaling_available_governors
+ savestate cpu1_governor
+ '[' -n '' ']'
+ cat
+ echo performance
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: '
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=94cpufreq
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 94cpufreq ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/95led ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/95led ']'
+ hook=/usr/lib/pm-utils/sleep.d/95led
+ run_hook /usr/lib/pm-utils/sleep.d/95led suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/95led suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/95led
+ local hook=95led
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:95led ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:led ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/95led ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/95led suspend suspend
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/95led suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/95led suspend suspend: '
/usr/lib/pm-utils/sleep.d/95led suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=95led
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 95led ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/98video-quirk-db-handler ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler ']'
+ hook=/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler
+ run_hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler
+ local hook=98video-quirk-db-handler
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:98video-quirk-db-handler ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:video-quirk-db-handler ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend
+ [[ -n true ]]
+ export 'PS4=${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): '
+ PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): '
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@10(): set -x
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@25(): possible_video_quirks=' --quirk-dpms-on
       --quirk-dpms-suspend
       --quirk-s3-mode
       --quirk-s3-bios
       --quirk-vbe-post
       --quirk-vbe-post
       --quirk-vga-mode-3
       --quirk-vbemode-restore
       --quirk-vbestate-restore
       --quirk-reset-brightness
       --quirk-radeon-off
       --quirk-no-fb
       --quirk-save-pci'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@40(): possible_system_properties='system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@343(): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@347(): precache_dmivars
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@170(precache_dmivars): local p q f
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.firmware.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.firmware.version* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_firmware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_firmware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.firmware.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(dmisysget): _dmisysget bios_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/bios_version ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES='7YET78WW (3.08 )'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES='7YET78WW (3.08 )'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_firmware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.firmware.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.firmware.vendor* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_firmware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_firmware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.firmware.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(dmisysget): _dmisysget bios_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/bios_vendor ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_firmware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.firmware.release_date
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.release_date =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.firmware.release_date* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_firmware_release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_firmware_release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.firmware.release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@108(dmisysget): _dmisysget bios_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/bios_date ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=09/16/2009
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=09/16/2009
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_firmware_release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.hardware.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.hardware.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.hardware.vendor* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_hardware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_hardware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.hardware.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@109(dmisysget): _dmisysget sys_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/sys_vendor ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_hardware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.hardware.product
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.hardware.product =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.hardware.product* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_hardware_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_hardware_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.hardware.product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@110(dmisysget): _dmisysget product_name
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/product_name ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=2714AAG
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=2714AAG
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_hardware_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.hardware.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.hardware.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.hardware.version* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_hardware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_hardware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.hardware.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): _dmisysget product_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/product_version ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES='ThinkPad R500'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES='ThinkPad R500'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_hardware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.board.product
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.board.product =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.board.product* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_board_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_board_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.board.product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@112(dmisysget): _dmisysget board_name
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/board_name ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=2714AAG
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=2714AAG
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_board_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.board.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.board.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.board.version* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.board.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@113(dmisysget): _dmisysget board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/board_version ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES='Not Available'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES='Not Available'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.board.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.board.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.board.vendor* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.board.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@114(dmisysget): _dmisysget board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@100(_dmisysget): [[ -r /sys/class/dmi/id/board_vendor ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@101(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.hardware.primary_video.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.hardware.primary_video.vendor* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_hardware_primary_video_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_hardware_primary_video_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.hardware.primary_video.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@115(dmisysget): videoget vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@65(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@66(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@70(videoget): case $1 in
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@71(videoget): cat /sys/bus/pci/devices/0000:00:02.0/vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@71(videoget): RES=0x8086
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@91(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=0x8086
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=0x8086
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_hardware_primary_video_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.product
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.hardware.primary_video.product =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.hardware.primary_video.product* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_hardware_primary_video_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_hardware_primary_video_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.hardware.primary_video.product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@116(dmisysget): videoget device
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@65(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@66(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@70(videoget): case $1 in
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@72(videoget): cat /sys/bus/pci/devices/0000:00:02.0/device
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@72(videoget): RES=0x2a42
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@91(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=0x2a42
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=0x2a42
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_hardware_primary_video_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.driver
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.hardware.primary_video.driver =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.hardware.primary_video.driver* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_hardware_primary_video_driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_hardware_primary_video_driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.hardware.primary_video.driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@117(dmisysget): videoget driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@65(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@66(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@70(videoget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -L /sys/bus/pci/devices/0000:00:02.0/driver ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): readlink /sys/bus/pci/devices/0000:00:02.0/driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): RES=../../../bus/pci/drivers/i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@76(videoget): RES=i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@91(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_hardware_primary_video_driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.using_kms
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.hardware.primary_video.using_kms =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.hardware.primary_video.using_kms* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_hardware_primary_video_using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_hardware_primary_video_using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.hardware.primary_video.using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@118(dmisysget): videoget using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@65(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@66(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@67(videoget): for dev in '"$pci"/*'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@68(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@69(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@70(videoget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@84(videoget): using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@60(using_kms): grep -q -E '(nouveau|drm)fb' /proc/fb
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@85(videoget): RES=true
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@91(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=true
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=true
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_hardware_primary_video_using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@171(precache_dmivars): for q in '$possible_system_properties'
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): canonicalize_dmivar system.kernel.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.kernel.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@163(canonicalize_dmivar): [[ system.firmware.version 
        system.firmware.vendor
    system.firmware.release_date
        system.hardware.vendor
    system.hardware.product 
        system.hardware.version
    system.board.product 
        system.board.version 
        system.board.vendor
    system.hardware.primary_video.vendor
    system.hardware.primary_video.product
    system.hardware.primary_video.driver
    system.hardware.primary_video.using_kms
    system.kernel.version = *system.kernel.version* ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@164(canonicalize_dmivar): echo system_kernel_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@172(precache_dmivars): p=system_kernel_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@173(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@174(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): dmisysget system.kernel.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@105(dmisysget): case $1 in
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@119(dmisysget): uname -r
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@119(dmisysget): RES=2.6.35-ice
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@175(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): RES=2.6.35-ice
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): RES=2.6.35-ice
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): read system_kernel_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@352(): has_parameter --quirk-test
//usr/lib/pm-utils/functions@239(has_parameter): get_parameters
//usr/lib/pm-utils/functions@234(get_parameters): cat /var/run/pm-utils/pm-suspend/storage/parameters
/usr/lib/pm-utils/functions@243(has_parameter): return 1
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@358(): using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@60(using_kms): grep -q -E '(nouveau|drm)fb' /proc/fb
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@360(): remove_parameters --quirk-dpms-on --quirk-dpms-suspend --quirk-s3-mode --quirk-s3-bios --quirk-vbe-post --quirk-vbe-post --quirk-vga-mode-3 --quirk-vbemode-restore --quirk-vbestate-restore --quirk-reset-brightness --quirk-radeon-off --quirk-no-fb --quirk-save-pci
/usr/lib/pm-utils/functions@210(remove_parameters): local p
/usr/lib/pm-utils/functions@211(remove_parameters): '[' --quirk-dpms-on = all ']'
/usr/lib/pm-utils/functions@214(remove_parameters): echo ''
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-dpms-on
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-dpms-suspend
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-s3-mode
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-s3-bios
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-vbe-post
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-vbe-post
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-vga-mode-3
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-vbemode-restore
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-vbestate-restore
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-reset-brightness
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-radeon-off
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-no-fb
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-save-pci
/usr/lib/pm-utils/functions@219(remove_parameters): grep -vxFf /var/run/pm-utils/pm-suspend/storage/parameters.rm /var/run/pm-utils/pm-suspend/storage/parameters
/usr/lib/pm-utils/functions@221(remove_parameters): cp -f /var/run/pm-utils/pm-suspend/storage/parameters.new /var/run/pm-utils/pm-suspend/storage/parameters
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@361(): add_parameters --quirk-no-chvt
/usr/lib/pm-utils/functions@226(add_parameters): remove_parameters --quirk-no-chvt
/usr/lib/pm-utils/functions@210(remove_parameters): local p
/usr/lib/pm-utils/functions@211(remove_parameters): '[' --quirk-no-chvt = all ']'
/usr/lib/pm-utils/functions@214(remove_parameters): echo ''
/usr/lib/pm-utils/functions@215(remove_parameters): for p in '"$@"'
/usr/lib/pm-utils/functions@216(remove_parameters): echo --quirk-no-chvt
/usr/lib/pm-utils/functions@219(remove_parameters): grep -vxFf /var/run/pm-utils/pm-suspend/storage/parameters.rm /var/run/pm-utils/pm-suspend/storage/parameters
/usr/lib/pm-utils/functions@221(remove_parameters): cp -f /var/run/pm-utils/pm-suspend/storage/parameters.new /var/run/pm-utils/pm-suspend/storage/parameters
/usr/lib/pm-utils/functions@227(add_parameters): for x in '"$@"'
/usr/lib/pm-utils/functions@228(add_parameters): echo --quirk-no-chvt
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@362(): echo 'Kernel modesetting video driver detected, not using quirks.'
Kernel modesetting video driver detected, not using quirks.
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: '
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=98video-quirk-db-handler
+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
        do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS='     
'
+ '[' '' -a '' = reverse -a 98video-quirk-db-handler ']'
+ '[' '!' '' ']'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
++ get_parameters
++ cat /var/run/pm-utils/pm-suspend/storage/parameters
+ export PM_CMDLINE=--quirk-no-chvt
+ PM_CMDLINE=--quirk-no-chvt
+ rm -f /var/run/pm-utils/pm-suspend/storage/parameters.new
+ '[' -f /etc/pm/sleep.d/99video ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/99video ']'
+ hook=/usr/lib/pm-utils/sleep.d/99video
+ run_hook /usr/lib/pm-utils/sleep.d/99video suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/99video suspend suspend
+ log 'Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:'
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/99video
+ local hook=99video
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:99video ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:video ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/99video ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/99video suspend suspend
+ for opt in '$PM_CMDLINE'
+ case "${opt##--quirk-}" in
+ QUIRK_NO_CHVT=true
+ command_exists vbetool
+ type vbetool
+ return 0
+ command_exists radeontool
+ type radeontool
+ return 1
+ case "$1" in
+ maybe_chvt
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ return
+ suspend_video
+ local acpi_flag=0
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ sysctl -w kernel.acpi_video_flags=0
kernel.acpi_video_flags = 0
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ quirk ''
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ save_fbcon
+ local con
+ for con in '/sys/class/graphics/*/state'
+ '[' -f /sys/class/graphics/fb0/state ']'
+ echo 1
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ log -n '/usr/lib/pm-utils/sleep.d/99video suspend suspend: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/99video suspend suspend: '
/usr/lib/pm-utils/sleep.d/99video suspend suspend: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=99video
+ IFS='
'
+ IFS='     
'
+ inhibited
+ '[' -f /var/run/pm-utils/pm-suspend/storage/inhibit ']'
+ return 0
++ date
+ log 'Fri Sep 17 09:41:51 CEST 2010: performing suspend'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Fri Sep 17 09:41:51 CEST 2010: performing suspend' = -n ']'
+ printf '%s\n' 'Fri Sep 17 09:41:51 CEST 2010: performing suspend'
Fri Sep 17 09:41:51 CEST 2010: performing suspend
+ sync
+ do_suspend
+ echo -n mem

Offline

#4 2010-09-17 16:08:52

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: suspending problems on Thinkpad R500

If you have HAL installed do

lshal | grep suspend

and look for whether can_suspend is true or not.

Offline

#5 2010-09-17 18:58:03

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: suspending problems on Thinkpad R500

db@kirodema ~ $ lshal | grep suspend
  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = true  (bool)
  power_management.quirk.dpms_suspend = true  (bool)
  input.keymap.data = {'0x01:screenlock', '0x02:battery', '0x03:sleep', '0x04:wlan', '0x06:switchvideomode', '0x07:f22', '0x08:f24', '0x0b:suspend', '0x0f:brightnessup', '0x10:brightnessdown', '0x11:kbdillumtoggle', '0x13:zoom', '0x14:volumeup', '0x15:volumedown', '0x16:mute', '0x17:prog1'} (string list)

hal says, that it should work.

In an Ubuntuwiki I also found a script for pm-utils to check if it is supported (and it seems like it is). Here is the script and the output:

db@kirodema ~ $ cat Diverses/pmsupport.sh 
#!/bin/bash 

# check if we can test acpi power states with pm-is-supported 
if ! which pm-is-supported 1>/dev/null 
then 
   echo 
   echo "pm-is-supported not found" 
   echo "Please install the package pm-utils if not installed" 
   echo 
   echo "Otherwise check \$PATH" 
   echo "pm-is-supported should be in /usr/bin/" 
   echo 
   exit 1  
fi 

# a new line 
echo 

# check POWER MANAGEMENT MODES 
# for MODE in suspend hibernate suspend-hybrid 
# do 
#    pm-is-supported --$MODE && echo "Kernel supports $(echo $MODE | tr [:lower:] [:upper:] ) " 
# done 

pm-is-supported --suspend         && echo "Kernel supports SUSPEND (SUSPEND to RAM)" 
pm-is-supported --hibernate       && echo "Kernel supports HIBERNATE (SUSPEND to DISK)" 
pm-is-supported --suspend-hybrid  && echo "Kernel supports HYBRID-SUSPEND (to DISK & to RAM)" 
# a new line 
echo 

exit 0 
db@kirodema ~ $ Diverses/pmsupport.sh 

Kernel supports SUSPEND (SUSPEND to RAM)
Kernel supports HIBERNATE (SUSPEND to DISK)

Offline

#6 2010-10-21 07:49:03

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

Re: suspending problems on Thinkpad R500

I have similar issues on a Thinkpad W500. The laptop suspends, but is often not possible to wake up and I need to restart it. My pm-suspend.log looks pretty much like yours.

Offline

#7 2010-10-22 08:52:28

measure
Member
Registered: 2009-07-17
Posts: 62

Re: suspending problems on Thinkpad R500

I am not sure if this is the optimal configuration, but this is how I have my laptop (which is a T410, not that it matters) run s2ram.

[ryan@HAL9002 ~]$ cd /etc/acpi/
[ryan@HAL9002 acpi]$ ls
actions  events  handler.sh  sleep.sh

As you can see I use acpi to handle it.  I've edited the handler.sh to contain the following

...
button/lid)
    /etc/acpi/sleep.sh
...

So it calls my sleep.sh file, which contains

#!/bin/sh
sleep 1
if grep -q open /proc/acpi/button/lid/LID/state; then 
    exit 0; 
fi
/root/.bin/unison -logfile /home/ryan/.unison/log -batch
s2ram -f

The conditional basically just makes sure the lid is still closed (this is really more of a thing from my old computer which tripped the lid event with a little rubber button that was easy to accidentally hit, but it doesn't hurt, I think).  Anyway, you could obviously just put s2ram -f in the handler.sh file, if you're using acpi to handle the events.

Like I said, probably this method is frowned upon, but I've been successfully suspending/resuming without error for quite a while now, so I am pleased.

Thanks,
Ryan
[\code]

Offline

#8 2010-10-22 14:27:56

ccc1
Member
Registered: 2009-04-16
Posts: 111

Re: suspending problems on Thinkpad R500

might be this bug (which should be fixed in 2.6.36):
https://bbs.archlinux.org/viewtopic.php … 01#p830801

ccc1

Offline

Board footer

Powered by FluxBB