The officially official Devuan Forum!

You are not logged in.

#1 2023-07-16 16:49:11

rechvs
Member
Registered: 2023-07-16
Posts: 7  

pm-utils hangs occasionally during resume

Since upgrading from Beowulf to Chimaera, pm-utils occasionally hangs on my laptop (Lenovo Thinkpad T520, see
https://www.thinkwiki.org/wiki/Category:T520) during resume/waking up after pm-suspend: the screen simply shows the state right
after executing the pm-suspend command but doesn’t respond to any keyboard input (including not being able to switch to a tty via
Ctrl-Alt-F[1-6]). Unfortunately, I cannot reliably reproduce the behavior, so I’m assuming it’s some race condition.

I don’t have any screensaver/-locker installed. I updated firmware-iwlwifi to version 20230210-4~bpo11+1 via chimaera-backports, but to no avail. Otherwise, all packages are up-to-date wrt the chimaera, chimaera-security, and chimaera-updates repos.

I’m unable to draw any conclusions from /var/log/pm-suspend.log (see below) other than the fact that it never receives the "Awake" signal. What other logs might be worth investigating and what should I be looking for?

PS: A similar thing happens during pm-hibernate (except in that case it happens while going to sleep instead of while waking up), but to avoid
confusion, I wanted to focus this thread on the resume issue, assuming that both are related and solving one will hopefully solve the other.

/var/log/pm-suspend.log (including debug output) starting with the suspend from which resume fails:

Sa 15. Jul 11:32:29 CEST 2023: 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
+ [ -O /etc/pm/sleep.d/*[!~] ]
+ [ -O /usr/lib/pm-utils/sleep.d/000kernel-change ]
+ + echouniq 000kernel-change

+ [ -O /usr/lib/pm-utils/sleep.d/00logging ]
+ echo 00logging
+ [ -O /usr/lib/pm-utils/sleep.d/00powersave ]
+ echo 00powersave
+ [ -O /usr/lib/pm-utils/sleep.d/50unload_alx ]
+ echo 50unload_alx
+ [ -O /usr/lib/pm-utils/sleep.d/60_wpa_supplicant ]
+ echo 60_wpa_supplicant
+ [ -O /usr/lib/pm-utils/sleep.d/75modules ]
+ echo 75modules
+ [ -O /usr/lib/pm-utils/sleep.d/90clock ]
+ echo 90clock
+ [ -O /usr/lib/pm-utils/sleep.d/94cpufreq ]
+ echo 94cpufreq
+ [ -O /usr/lib/pm-utils/sleep.d/95hdparm-apm ]
+ echo 95hdparm-apm
+ [ -O /usr/lib/pm-utils/sleep.d/95led ]
+ echo 95led
+ [ -O /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler ]
+ echo 98video-quirk-db-handler
+ [ -O /usr/lib/pm-utils/sleep.d/99video ]
+ echo 99video
+ 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/000kernel-change ]
+ [ -f /usr/lib/pm-utils/sleep.d/000kernel-change ]
+ hook=/usr/lib/pm-utils/sleep.d/000kernel-change
+ run_hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend
+ log Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: = -n ]
+ printf %s\n Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/000kernel-change
+ local hook=000kernel-change
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:000kernel-change ]
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:0kernel-change ]
+ [ -x /usr/lib/pm-utils/sleep.d/000kernel-change ]
+ return 0
+ /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ -n = -n ]
+ fmt=%s
+ shift
+ printf %s /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: 
/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: + hook_exit_status 0
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=000kernel-change
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ IFS= 	

+ [  -a  = reverse -a 000kernel-change ]
+ [ !  ]
+ 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
+ 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
+ [ -n /var/log/pm-suspend.log ]
+ /bin/uname -a
Linux REDACTED 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
+ lsmod
Module                  Size  Used by
ctr                    16384  1
ccm                    20480  3
bnep                   28672  2
bluetooth             737280  7 bnep
jitterentropy_rng      16384  1
drbg                   40960  1
ansi_cprng             16384  0
ecdh_generic           16384  1 bluetooth
ecc                    36864  1 ecdh_generic
efivarfs               16384  1
binfmt_misc            24576  1
nls_ascii              16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    86016  1 vfat
firewire_sbp2          28672  0
iTCO_wdt               16384  0
intel_rapl_msr         20480  0
intel_pmc_bxt          16384  1 iTCO_wdt
at24                   24576  0
mei_wdt                16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
cdc_mbim               20480  0
watchdog               28672  2 iTCO_wdt,mei_wdt
cdc_ncm                53248  1 cdc_mbim
snd_hda_codec_conexant    24576  1
wmi_bmof               16384  0
mei_hdcp               24576  0
cdc_ether              24576  1 cdc_ncm
intel_rapl_common      28672  1 intel_rapl_msr
usbnet                 53248  3 cdc_mbim,cdc_ncm,cdc_ether
cdc_wdm                28672  1 cdc_mbim
cdc_acm                45056  0
mii                    16384  1 usbnet
snd_hda_codec_generic    98304  1 snd_hda_codec_conexant
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
snd_hda_codec_hdmi     73728  2
coretemp               20480  0
snd_hda_intel          57344  1
crc32_pclmul           16384  0
snd_intel_dspcfg       28672  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
ghash_clmulni_intel    16384  0
aesni_intel           368640  2
soundwire_generic_allocation    16384  1 soundwire_intel
nouveau              2330624  1
libaes                 16384  2 bluetooth,aesni_intel
iwldvm                159744  0
crypto_simd            16384  1 aesni_intel
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
snd_soc_core          315392  1 soundwire_intel
snd_compress           32768  1 snd_soc_core
glue_helper            16384  1 aesni_intel
i915                 2711552  4
mac80211              983040  1 iwldvm
soundwire_cadence      36864  1 soundwire_intel
rapl                   20480  0
mxm_wmi                16384  1 nouveau
intel_cstate           20480  0
libarc4                16384  1 mac80211
sdhci_pci              69632  0
intel_uncore          176128  0
ttm                   114688  1 nouveau
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
cqhci                  32768  1 sdhci_pci
iwlwifi               294912  1 iwldvm
drm_kms_helper        278528  2 i915,nouveau
sdhci                  77824  1 sdhci_pci
joydev                 28672  0
pcspkr                 16384  0
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
cec                    61440  2 drm_kms_helper,i915
thinkpad_acpi         118784  0
firewire_ohci          45056  0
mmc_core              188416  3 sdhci,cqhci,sdhci_pci
cfg80211              970752  3 iwldvm,iwlwifi,mac80211
snd_hwdep              16384  1 snd_hda_codec
efi_pstore             16384  0
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
firewire_core          81920  2 firewire_ohci,firewire_sbp2
drm                   618496  7 drm_kms_helper,i915,ttm,nouveau
nvram                  16384  1 thinkpad_acpi
sr_mod                 28672  0
snd_pcm               135168  7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core
cdrom                  73728  1 sr_mod
crc_itu_t              16384  1 firewire_core
sg                     36864  0
tpm_tis                16384  0
snd_timer              49152  1 snd_pcm
ledtrig_audio          16384  2 snd_hda_codec_generic,thinkpad_acpi
e1000e                303104  0
tpm_tis_core           28672  1 tpm_tis
wmi                    36864  3 wmi_bmof,mxm_wmi,nouveau
snd                   110592  13 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
rfkill                 28672  5 bluetooth,thinkpad_acpi,cfg80211
tpm                    73728  2 tpm_tis,tpm_tis_core
i2c_i801               32768  0
mei_me                 45056  2
ac                     16384  0
battery                20480  1 thinkpad_acpi
rng_core               16384  1 tpm
i2c_algo_bit           16384  2 i915,nouveau
i2c_smbus              20480  1 i2c_i801
soundcore              16384  1 snd
mei                   139264  5 mei_wdt,mei_hdcp,mei_me
ptp                    32768  1 e1000e
lpc_ich                28672  0
pps_core               24576  1 ptp
video                  53248  3 thinkpad_acpi,i915,nouveau
button                 24576  1 nouveau
ext4                  921600  2
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
crc32c_generic         16384  0
hid_generic            16384  0
usbhid                 65536  0
hid                   147456  2 usbhid,hid_generic
sd_mod                 61440  5
t10_pi                 16384  1 sd_mod
crc_t10dif             20480  1 t10_pi
crct10dif_generic      16384  0
ata_generic            16384  0
ata_piix               36864  4
crct10dif_pclmul       16384  1
crct10dif_common       16384  3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
libata                290816  2 ata_piix,ata_generic
ehci_pci               20480  0
crc32c_intel           24576  4
ehci_hcd               98304  1 ehci_pci
psmouse               184320  0
usbcore               323584  9 ehci_pci,usbnet,usbhid,cdc_mbim,cdc_acm,cdc_ncm,cdc_wdm,ehci_hcd,cdc_ether
scsi_mod              262144  5 sd_mod,firewire_sbp2,libata,sg,sr_mod
evdev                  28672  13
serio_raw              20480  0
usb_common             16384  2 usbcore,ehci_hcd
+ free
               total        used        free      shared  buff/cache   available
Mem:         3904804      269452     2403716       60812     1231636     3349428
Swap:         976892           0      976892
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/00logging suspend suspend: 
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=00logging
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ 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
+ 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
+ uname -m
+ ARCH=x86_64
+ command_exists pm-powersave
+ type pm-powersave
+ return 0
+ [ x86_64 != x86_64 ]
+ 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=/var/cache/pm-utils/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
+ [ -f /etc/pm/config.d/env-vars ]
+ [  ]
+ [  ]
+ [  ]
+ [  ]
+ set -a
+ . /etc/pm/config.d/env-vars
+ PM_DEBUG=true
+ SUSPEND_MODULES= 
+ HOOK_BLACKLIST= 
+ ADD_PARAMETERS= 
+ DROP_PARAMETERS= 
+ set +a
+ [ -f /etc/pm/pm-powersave.config.d/*[!~] ]
+ continue
+ . /usr/lib/pm-utils/functions
+ is_set true
+ return 0
+ set -x
+ profiling
+ [  = true ]
+ profiling
+ [  = true ]
+ profiling
+ [  = true ]
+ [ auto = auto ]
+ SLEEP_MODULE=tuxonice uswsusp
+ 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
+ [ -d /sys/power/tuxonice ]
+ [ -d /sys/power/suspend2 ]
+ [ -n  ]
+ [ -z  -a -n  ]
+ [ -z  -a -n  ]
+ 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 127
+ [ -z  ]
+ [ -f /sys/power/disk ]
+ grep -q disk /sys/power/state
+ [ -c /dev/snapshot ]
+ command_exists s2disk
+ type s2disk
+ return 127
+ [ -z  ]
+ grep -q mem /sys/power/state
+ command_exists s2both
+ type s2both
+ return 127
+ [ -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  ]
+ [ -f /sys/power/disk ]
+ grep -q disk /sys/power/state
+ grep -q suspend /sys/power/disk
+ SUSPEND_HYBRID_MODULE=kernel
+ [ -z kernel -a -w /sys/class/rtc/rtc0/wakealarm ]
+ 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
+ exec
+ exit 0
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: 
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=00powersave
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ 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/50unload_alx ]
+ [ -f /usr/lib/pm-utils/sleep.d/50unload_alx ]
+ hook=/usr/lib/pm-utils/sleep.d/50unload_alx
+ run_hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend
+ log Running hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend:
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ Running hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend: = -n ]
+ printf %s\n Running hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend:
Running hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/50unload_alx
+ local hook=50unload_alx
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:50unload_alx ]
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:unload_alx ]
+ [ -x /usr/lib/pm-utils/sleep.d/50unload_alx ]
+ return 0
+ /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend: 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ -n = -n ]
+ fmt=%s
+ shift
+ printf %s /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend: 
/usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend: + hook_exit_status 0
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=50unload_alx
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ IFS= 	

+ [  -a  = reverse -a 50unload_alx ]
+ [ !  ]
+ 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/60_wpa_supplicant ]
+ [ -f /usr/lib/pm-utils/sleep.d/60_wpa_supplicant ]
+ hook=/usr/lib/pm-utils/sleep.d/60_wpa_supplicant
+ run_hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend
+ log Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: = -n ]
+ printf %s\n Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/60_wpa_supplicant
+ local hook=60_wpa_supplicant
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:60_wpa_supplicant ]
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:_wpa_supplicant ]
+ [ -x /usr/lib/pm-utils/sleep.d/60_wpa_supplicant ]
+ return 0
+ /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend
Selected interface 'wlan0'
OK
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ -n = -n ]
+ fmt=%s
+ shift
+ printf %s /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: 
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: + hook_exit_status 0
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=60_wpa_supplicant
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ IFS= 	

+ [  -a  = reverse -a 60_wpa_supplicant ]
+ [ !  ]
+ 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
+ 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
+ suspend_modules
+ [ -z   ]
+ return 0
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/75modules suspend suspend: 
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=75modules
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ 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
+ 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 
+ return 2
+ exit 254
+ local status=254
+ log -n /usr/lib/pm-utils/sleep.d/90clock suspend suspend: 
+ is_set true
+ 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 254
+ log not applicable.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ not applicable. = -n ]
+ printf %s\n not applicable.
not applicable.
+ LAST_HOOK=90clock
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ 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
+ 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/ ]
+ hibernate_cpufreq
+ cd /sys/devices/system/cpu/
+ [ -L cpu0/cpufreq ]
+ continue
+ [ -L cpu1/cpufreq ]
+ continue
+ [ -L cpu2/cpufreq ]
+ continue
+ [ -L cpu3/cpufreq ]
+ continue
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: 
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=94cpufreq
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ 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/95hdparm-apm ]
+ [ -f /usr/lib/pm-utils/sleep.d/95hdparm-apm ]
+ hook=/usr/lib/pm-utils/sleep.d/95hdparm-apm
+ run_hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend
+ _run_hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend
+ log Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: = -n ]
+ printf %s\n Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:
+ hook_ok /usr/lib/pm-utils/sleep.d/95hdparm-apm
+ local hook=95hdparm-apm
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:95hdparm-apm ]
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:hdparm-apm ]
+ [ -x /usr/lib/pm-utils/sleep.d/95hdparm-apm ]
+ return 0
+ /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend
+ local status=254
+ log -n /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ -n = -n ]
+ fmt=%s
+ shift
+ printf %s /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: 
/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: + hook_exit_status 254
+ log not applicable.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ not applicable. = -n ]
+ printf %s\n not applicable.
not applicable.
+ LAST_HOOK=95hdparm-apm
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ IFS= 	

+ [  -a  = reverse -a 95hdparm-apm ]
+ [ !  ]
+ 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
+ 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
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/95led suspend suspend: 
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=95led
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ 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
+ 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@16(): set -x
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@31(): 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@46(): 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@349(): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@353(): precache_dmivars
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@176(precache_dmivars): local p q f
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.firmware.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.firmware.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_firmware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_firmware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.firmware.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@113(dmisysget): _dmisysget bios_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/bios_version ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES='8AET69WW (1.49 )'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES='8AET69WW (1.49 )'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_firmware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.firmware.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.firmware.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_firmware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_firmware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.firmware.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@112(dmisysget): _dmisysget bios_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/bios_vendor ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_firmware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.firmware.release_date
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.firmware.release_date =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_firmware_release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_firmware_release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.firmware.release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@114(dmisysget): _dmisysget bios_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/bios_date ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=06/14/2018
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=06/14/2018
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_firmware_release_date
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.hardware.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.hardware.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_hardware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_hardware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.hardware.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@115(dmisysget): _dmisysget sys_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/sys_vendor ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_hardware_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.hardware.product
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.hardware.product =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_hardware_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_hardware_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.hardware.product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@116(dmisysget): _dmisysget product_name
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/product_name ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=4242R17
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=4242R17
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_hardware_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.hardware.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.hardware.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_hardware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_hardware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.hardware.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@117(dmisysget): _dmisysget product_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/product_version ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES='ThinkPad T520'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES='ThinkPad T520'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_hardware_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.board.product
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.board.product =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_board_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_board_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.board.product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@118(dmisysget): _dmisysget board_name
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/board_name ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=4242R17
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=4242R17
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_board_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.board.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.board.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.board.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@119(dmisysget): _dmisysget board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/board_version ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES='Not Available'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES='Not Available'
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_board_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.board.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.board.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.board.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@120(dmisysget): _dmisysget board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@106(_dmisysget): [[ -r /sys/class/dmi/id/board_vendor ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@107(_dmisysget): read RES
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=LENOVO
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_board_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.vendor
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.hardware.primary_video.vendor =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_hardware_primary_video_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_hardware_primary_video_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.hardware.primary_video.vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@121(dmisysget): videoget vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@71(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@72(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:01.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:01.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060400 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@76(videoget): case $1 in
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@77(videoget): cat /sys/bus/pci/devices/0000:00:02.0/vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@77(videoget): RES=0x8086
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@97(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=0x8086
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=0x8086
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_hardware_primary_video_vendor
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.product
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.hardware.primary_video.product =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_hardware_primary_video_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_hardware_primary_video_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.hardware.primary_video.product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@122(dmisysget): videoget device
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@71(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@72(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:01.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:01.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060400 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@76(videoget): case $1 in
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@78(videoget): cat /sys/bus/pci/devices/0000:00:02.0/device
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@78(videoget): RES=0x0116
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@97(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=0x0116
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=0x0116
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_hardware_primary_video_product
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.driver
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.hardware.primary_video.driver =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_hardware_primary_video_driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_hardware_primary_video_driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.hardware.primary_video.driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@123(dmisysget): videoget driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@71(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@72(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:01.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:01.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060400 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@76(videoget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@80(videoget): [[ -L /sys/bus/pci/devices/0000:00:02.0/driver ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@81(videoget): readlink /sys/bus/pci/devices/0000:00:02.0/driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@81(videoget): RES=../../../bus/pci/drivers/i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@82(videoget): RES=i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@97(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=i915
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_hardware_primary_video_driver
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.hardware.primary_video.using_kms
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.hardware.primary_video.using_kms =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_hardware_primary_video_using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_hardware_primary_video_using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.hardware.primary_video.using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@124(dmisysget): videoget using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@71(videoget): local dev pci
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@72(videoget): pci=/sys/bus/pci/devices
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:00.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:00.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:01.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:01.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x060400 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): continue
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@73(videoget): for dev in "$pci"/*
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@74(videoget): [[ -f /sys/bus/pci/devices/0000:00:02.0/class ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): cat /sys/bus/pci/devices/0000:00:02.0/class
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@75(videoget): [[ 0x030000 = \0\x\0\3\0\0\0\0 ]]
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@76(videoget): case $1 in
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@90(videoget): using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@66(using_kms): grep -q -E '(nouveau|drm)fb' /proc/fb
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@91(videoget): RES=true
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@97(videoget): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=true
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=true
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_hardware_primary_video_using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@177(precache_dmivars): for q in $possible_system_properties
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): canonicalize_dmivar system.kernel.version
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(canonicalize_dmivar): [[ system.kernel.version =~ ^[a-z._-]+$ ]]
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@169(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@170(canonicalize_dmivar): echo system_kernel_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@178(precache_dmivars): p=system_kernel_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@179(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@180(precache_dmivars): for f in dmisysget halget dmidecodeget
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): dmisysget system.kernel.version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@111(dmisysget): case $1 in
//usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@125(dmisysget): uname -r
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@125(dmisysget): RES=5.10.0-9-amd64
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@181(precache_dmivars): break
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@183(precache_dmivars): RES=5.10.0-9-amd64
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@184(precache_dmivars): RES=5.10.0-9-amd64
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@185(precache_dmivars): read system_kernel_version
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@187(precache_dmivars): RES=
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@358(): has_parameter --quirk-test
//usr/lib/pm-utils/functions@240(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@364(): using_kms
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@66(using_kms): grep -q -E '(nouveau|drm)fb' /proc/fb
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler@366(): 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@367(): 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@368(): echo 'Kernel modesetting video driver detected, not using quirks.'
Kernel modesetting video driver detected, not using quirks.
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: 
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=98video-quirk-db-handler
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ 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
+ 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
+ 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
+ QUIRK_NO_CHVT=true
+ command_exists vbetool
+ type vbetool
+ return 0
+ command_exists radeontool
+ type radeontool
+ return 127
+ maybe_chvt
+ is_set true
+ return 0
+ return
+ suspend_video
+ local acpi_flag=0
+ quirk 
+ is_set 
+ return 2
+ quirk 
+ is_set 
+ return 2
+ sysctl -w kernel.acpi_video_flags=0
kernel.acpi_video_flags = 0
+ quirk 
+ is_set 
+ return 2
+ quirk 
+ is_set 
+ return 2
+ quirk 
+ is_set 
+ return 2
+ quirk 
+ is_set 
+ return 2
+ quirk 
+ is_set 
+ return 2
+ quirk 
+ is_set 
+ return 2
+ quirk 
+ is_set 
+ return 2
+ save_fbcon
+ local con
+ [ -f /sys/class/graphics/fb0/state ]
+ echo 1
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/99video suspend suspend: 
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=99video
+ log 
+ is_set true
+ return 0
+ local fmt=%s\n
+ [  = -n ]
+ printf %s\n 

+ IFS=

+ IFS= 	

+ inhibited
+ [ -f /var/run/pm-utils/pm-suspend/storage/inhibit ]
+ return 0
+ date
+ log Sa 15. Jul 11:32:30 CEST 2023: performing suspend
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ Sa 15. Jul 11:32:30 CEST 2023: performing suspend = -n ]
+ printf %s\n Sa 15. Jul 11:32:30 CEST 2023: performing suspend
Sa 15. Jul 11:32:30 CEST 2023: performing suspend
+ sync
+ do_suspend
+ echo -n mem

Last edited by rechvs (2023-07-16 16:52:16)

Offline

#2 2023-07-16 17:00:42

rechvs
Member
Registered: 2023-07-16
Posts: 7  

Re: pm-utils hangs occasionally during resume

Judging by the open bug for pm-utils (https://bugs.devuan.org/cgi/bugreport.cgi?bug=366), it might be worth
mentioning that I have elogind and consolekit (both as a dependency of lightdm) installed.

Offline

#3 2023-07-17 03:28:08

GNUser
Member
Registered: 2017-03-16
Posts: 570  

Re: pm-utils hangs occasionally during resume

Hi, rechvs. I once had a similar problem, where laptop keyboard was unresponsive after resuming from suspend. Laptop in question ran Devuan (I don't remember which version) and did have pm-utils installed.

The problem/solution may vary depending on exact hardware. For me, changing suspend method from the default "deep" (i.e., suspend-to-RAM) to "s2idle" (i.e., suspend-to-idle) solved the problem:

$ sudo sh -c "echo s2idle >/sys/power/mem_sleep"

Last edited by GNUser (2023-07-17 12:20:54)

Offline

#4 2023-07-22 08:43:55

rechvs
Member
Registered: 2023-07-16
Posts: 7  

Re: pm-utils hangs occasionally during resume

Thanks for the hint. However, /sys/power/mem_sleep is already set to s2idle [deep] on my machine, so I’m afraid that’s not the issue.

Offline

#5 2023-07-22 11:07:48

GNUser
Member
Registered: 2017-03-16
Posts: 570  

Re: pm-utils hangs occasionally during resume

Your mem_sleep is set to deep. s2idle is listed as a valid option but is not selected. If you run the command I suggested, you should see [s2idle] deep

Offline

#6 2023-07-22 13:05:42

rechvs
Member
Registered: 2023-07-16
Posts: 7  

Re: pm-utils hangs occasionally during resume

Ah, thanks. I was wondering what the square brackets meant. I’ll try setting the corresponding SuspendMode in /etc/elogind/logind.conf and see if it helps.

Offline

#7 2023-07-22 14:04:18

rechvs
Member
Registered: 2023-07-16
Posts: 7  

Re: pm-utils hangs occasionally during resume

Setting the SuspendMode didn’t change anything. sad

$ sudo sh -c "echo s2idle > /sys/power/mem_sleep"

did change the mode used for suspend, but I’m not sure that’s what I want, since s2idle will probably mean a higher battery drain than deep. hmm
I’ll open a pm-utils bug for this with and see if the package maintainer can shed some light on this.

Offline

#8 2023-07-22 14:13:09

GNUser
Member
Registered: 2017-03-16
Posts: 570  

Re: pm-utils hangs occasionally during resume

Yes, I think s2idle uses more battery than deep.
Switching to s2idle is the only fix I ever found that allowed the keyboard on one of my laptops to work after suspend. Sorry I couldn't help you find a satisfactory fix. Happy hacking!

Offline

#9 2023-07-22 15:42:12

rechvs
Member
Registered: 2023-07-16
Posts: 7  

Re: pm-utils hangs occasionally during resume

Ok, so according to https://bugs.devuan.org/cgi/pkgreport.c … a=pm-utils the pm-utils package is unmaintained, meaning opening new bugs is discouraged. neutral
Am I simply using an umaintained and therefore buggy package the whole time? Judging by https://pkginfo.devuan.org/cgi-bin/poli … q=pm-utils it does get regular updates, so it doesn’t seem to be completely unmaintained.
But if not pm-utils, what else should I be using for suspending and hibernating?

Anyway, I did find https://dev1galaxy.org/viewtopic.php?pid=40334#p40334 which seems to be at least somewhat related (and fairly recent) and followed the advice to remove the xserver-xorg-video-intel package. So far this hasn’t broken anything and resuming from suspend has been working ok (though that doesn’t mean much since the problem only appears very unpredictably). I’ll have to see whether this really is a fix.

Offline

#10 2023-07-23 14:50:19

rechvs
Member
Registered: 2023-07-16
Posts: 7  

Re: pm-utils hangs occasionally during resume

Removing the xserver-xorg-video-intel package was not the fix, as resume from suspend failed again just now. sad
I’m really at a loss here, since none of the logs in /var/log (auth.log, daemon.log, debug, kern.log, messages, pm-powersave.log, pm-suspend.log, syslog) contain any entry matching the time of the resume. Are there other logs I should be looking at?

Offline

Board footer