pm-suspend.log:
+ log 2022年 07月 25日 星期一 19:57:38 CST: Running hooks for suspend.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ 2022年 07月 25日 星期一 19:57:38 CST: Running hooks for suspend. = -n ]
+ printf %s\n 2022年 07月 25日 星期一 19:57:38 CST: Running hooks for suspend.
2022年 07月 25日 星期一 19:57:38 CST: 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=
+ [ -O /etc/pm/sleep.d/10_unattended-upgrades-hibernate ]
+ echo 10_unattended-upgrades-hibernate
+ [ -O /usr/lib/pm-utils/sleep.d/000kernel-change ]
+ uniq
+ sort
+ echo 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/01laptop-mode ]
+ echo 01laptop-mode
+ [ -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 Longhao-Chen-Laptop 5.18.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) x86_64 GNU/Linux
+ lsmod
Module Size Used by
ctr 16384 2
ccm 20480 6
rfcomm 90112 16
cmac 16384 3
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 36864 6 algif_hash,algif_skcipher
bnep 28672 2
btusb 65536 0
btrtl 28672 1 btusb
btbcm 24576 1 btusb
btintel 45056 1 btusb
btmtk 16384 1 btusb
bluetooth 876544 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
jitterentropy_rng 16384 1
sha512_ssse3 49152 1
sha512_generic 16384 1 sha512_ssse3
drbg 40960 1
ansi_cprng 16384 0
ecdh_generic 16384 2 bluetooth
ecc 40960 1 ecdh_generic
crc16 16384 1 bluetooth
tun 61440 2
snd_sof_probes 24576 0
snd_soc_skl_hda_dsp 24576 7
snd_soc_intel_hda_dsp_common 20480 1 snd_soc_skl_hda_dsp
snd_soc_hdac_hdmi 45056 1 snd_soc_skl_hda_dsp
snd_soc_dmic 16384 1
mei_hdcp 24576 0
intel_rapl_msr 20480 0
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
coretemp 20480 0
kvm_intel 368640 0
kvm 1060864 1 kvm_intel
irqbypass 16384 1 kvm
ghash_clmulni_intel 16384 0
aesni_intel 380928 8
crypto_simd 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
rapl 20480 0
intel_cstate 20480 0
intel_uncore 208896 0
pcspkr 16384 0
serio_raw 20480 0
efi_pstore 16384 0
wmi_bmof 16384 0
nvidia_modeset 1204224 0
snd_hda_codec_hdmi 73728 1
snd_hda_codec_realtek 167936 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_sof_pci_intel_tgl 16384 0
snd_sof_intel_hda_common 110592 1 snd_sof_pci_intel_tgl
soundwire_intel 45056 1 snd_sof_intel_hda_common
soundwire_generic_allocation 16384 1 soundwire_intel
soundwire_cadence 40960 1 soundwire_intel
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
qrtr 45056 4
joydev 28672 0
snd_sof 192512 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes
snd_sof_utils 20480 1 snd_sof
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
bbswitch 20480 0
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match 65536 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_soc_core 331776 8 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_probes,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress 28672 2 snd_soc_core,snd_sof_probes
soundwire_bus 94208 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
uinput 20480 1
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_sof
snd_hda_intel 57344 0
snd_intel_dspcfg 32768 2 snd_hda_intel,snd_sof_intel_hda_common
snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec 176128 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_hda_core 110592 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
iwlmvm 368640 0
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 147456 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core
snd_timer 45056 1 snd_pcm
iTCO_wdt 16384 0
intel_pmc_bxt 16384 1 iTCO_wdt
snd 110592 27 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm,snd_soc_skl_hda_dsp
iTCO_vendor_support 16384 1 iTCO_wdt
sunrpc 651264 1
mac80211 1085440 1 iwlmvm
watchdog 32768 1 iTCO_wdt
soundcore 16384 1 snd
ee1004 20480 0
libarc4 16384 1 mac80211
nls_ascii 16384 1
nls_cp437 20480 1
mei_me 45056 1
vfat 20480 1
mei 151552 3 mei_hdcp,mei_me
fat 86016 1 vfat
hid_multitouch 32768 0
iwlwifi 344064 1 iwlmvm
cfg80211 1056768 3 iwlmvm,iwlwifi,mac80211
uvcvideo 122880 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 36864 1 uvcvideo
videobuf2_common 65536 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
videodev 270336 3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc 65536 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
rfkill 32768 10 iwlmvm,bluetooth,cfg80211
processor_thermal_device_pci 16384 0
processor_thermal_device 20480 1 processor_thermal_device_pci
processor_thermal_rfim 16384 1 processor_thermal_device
processor_thermal_mbox 16384 2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl 20480 1 processor_thermal_device
intel_rapl_common 28672 2 intel_rapl_msr,processor_thermal_rapl
int340x_thermal_zone 20480 1 processor_thermal_device
ac 20480 0
intel_hid 24576 0
sparse_keymap 16384 1 intel_hid
int3400_thermal 20480 0
acpi_thermal_rel 16384 1 int3400_thermal
intel_pmc_core 53248 0
acpi_tad 20480 0
acpi_pad 184320 0
evdev 28672 30
nvidia 35381248 16 nvidia_modeset
ipmi_devintf 20480 0
ipmi_msghandler 118784 1 ipmi_devintf
msr 16384 0
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 69632 3 parport_pc,lp,ppdev
fuse 172032 1
configfs 57344 1
efivarfs 16384 1
ip_tables 32768 0
x_tables 53248 1 ip_tables
autofs4 53248 2
btrfs 1695744 1
blake2b_generic 20480 0
xor 24576 1 btrfs
raid6_pq 122880 1 btrfs
zstd_compress 311296 1 btrfs
libcrc32c 16384 1 btrfs
crc32c_generic 16384 0
usbhid 65536 0
i915 3166208 28
hid_generic 16384 0
drm_buddy 20480 1 i915
xhci_pci 20480 0
i2c_algo_bit 16384 1 i915
drm_dp_helper 159744 1 i915
xhci_hcd 315392 1 xhci_pci
nvme 49152 3
cec 61440 2 drm_dp_helper,i915
nvme_core 139264 5 nvme
rc_core 61440 1 cec
ttm 86016 1 i915
t10_pi 16384 1 nvme_core
usbcore 327680 5 xhci_hcd,usbhid,uvcvideo,btusb,xhci_pci
drm_kms_helper 192512 2 drm_dp_helper,i915
crc64_rocksoft 20480 1 t10_pi
crc64 20480 1 crc64_rocksoft
i2c_hid_acpi 16384 0
intel_lpss_pci 28672 0
crc_t10dif 20480 1 t10_pi
i2c_hid 32768 1 i2c_hid_acpi
crct10dif_generic 16384 0
i2c_i801 36864 0
intel_lpss 16384 1 intel_lpss_pci
crct10dif_pclmul 16384 1
drm 614400 16 drm_dp_helper,drm_kms_helper,nvidia,drm_buddy,i915,ttm
crc32_pclmul 16384 0
crc32c_intel 24576 2
hid 151552 4 i2c_hid,usbhid,hid_multitouch,hid_generic
i2c_smbus 20480 1 i2c_i801
idma64 20480 0
usb_common 16384 3 xhci_hcd,usbcore,uvcvideo
crct10dif_common 16384 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
wmi 36864 1 wmi_bmof
fan 20480 0
video 57344 1 i915
battery 28672 0
button 24576 0
+ free
total used free shared buff/cache available
内存: 65589884 1289532 62842968 346092 1457384 63330528
交换: 63476732 0 63476732
+ 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/*[!~] ]
+ continue
+ [ -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
+ [ ]
+ return
+ 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/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
+ 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
+ local status=0
+ log -n /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:
+ is_set true
+ 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
+ log success.
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ success. = -n ]
+ printf %s\n success.
success.
+ LAST_HOOK=01laptop-mode
+ log
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ = -n ]
+ printf %s\n
+ IFS=
+ 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/10_unattended-upgrades-hibernate ]
+ hook=/etc/pm/sleep.d/10_unattended-upgrades-hibernate
+ run_hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend
+ _run_hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend
+ log Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: = -n ]
+ printf %s\n Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
+ hook_ok /etc/pm/sleep.d/10_unattended-upgrades-hibernate
+ local hook=10_unattended-upgrades-hibernate
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:10_unattended-upgrades-hibernate ]
+ [ -f /var/run/pm-utils/pm-suspend/storage/disable_hook:_unattended-upgrades-hibernate ]
+ [ -x /etc/pm/sleep.d/10_unattended-upgrades-hibernate ]
+ return 0
+ /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend
+ local status=0
+ log -n /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ -n = -n ]
+ fmt=%s
+ shift
+ printf %s /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
/etc/pm/sleep.d/10_unattended-upgrades-hibernate 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=10_unattended-upgrades-hibernate
+ log
+ is_set true
+ return 0
+ local fmt=%s\n
+ [ = -n ]
+ printf %s\n
+ IFS=
+ IFS=
+ [ -a = reverse -a 10_unattended-upgrades-hibernate ]
+ [ ! ]
+ 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=