Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/04/2017, à 18:14

__fabrice

Ecran noir au bout de 15 secondes d'inactivité.

Bonjour,

j'ai un léger soucis tres enervant smile. Mes 2 écrans s'eteingnent au bout de 15 secondes d'inactivité !. C'est certes très utile, mais 15 secondes...... c'est court lol

J'ai essayé de désactiver la mise en veille et/ou l'hibernation, mais cela ne change rien.
Je n'ai pas trouvé le xorg.conf neutral.

J'ai rien de neuf non plus dans /var/log/syslog

Merci
Fabrice

Dernière modification par __fabrice (Le 05/04/2017, à 14:45)

Hors ligne

#2 Le 02/04/2017, à 18:59

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

Salut,

Peux tu donner le modèle du pc, la distribution et le retour de

uname -a

Bouger la souris suffit pour rallumer les écrans?

Dernière modification par tarkan99 (Le 02/04/2017, à 19:00)


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#3 Le 02/04/2017, à 19:06

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Salut,

Si, bien sur, cela revient, mais le délai est extrement court, et surtout, je ne l'ai pas changé

Linux spectre 4.4.0-71-lowlatency #92-Ubuntu SMP PREEMPT Fri Mar 24 14:04:37 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

F.

Dernière modification par __fabrice (Le 02/04/2017, à 19:06)

Hors ligne

#4 Le 03/04/2017, à 06:27

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

pourrais-tu répondre à toutes les questions de #2 stp ?


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#5 Le 03/04/2017, à 07:25

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Oui, désolé.

C'est un pc de bureau (pas un portable), récent (1 an 1/2 environ)

La distrib, c'est Ubuntu 16.04 LTS.

Mémoire : 15,6 Gio
Processeur: : Intel® Core™ i5-6500 CPU @ 3.20GHz × 4
Vidéo  : GeForce GT 610/PCIe/SSE2
64 bits

Dernière modification par __fabrice (Le 03/04/2017, à 07:44)

Hors ligne

#6 Le 03/04/2017, à 08:13

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

Merci. La distinction portable fixe est importante.

Peux tu essayer la session invité et voir si le pb est identique ?

As tu regardé les règles de l'économiseur d'écran ?


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#7 Le 03/04/2017, à 09:07

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

En session invité, cela ne le fait pas. J'ai reproduit les mêmes paramètre de veille dans ma session, et cela ne change rien au problème.

En veille, j'ai mis 10 minutes. Et 15min pour l'hibernation avec ce script

Hors ligne

#8 Le 03/04/2017, à 09:15

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

donc le problème vient de ta session et non du système.

tu as bien regardé le réglage de
https://doc.ubuntu-fr.org/gnome-screensaver

tu parles de veille et hibernation mais ton problème est lié à la veille de l'écran.


si toujours pas ok:

peux-tu donner le retour de

cat ~/.bash_history

en vérifiant qu'aucune donnée privée ne figure (mot de passe, nom,.....)

c'est bizarre, je suis un autre fil avec un problème assez similaire
https://forum.ubuntu-fr.org/viewtopic.php?id=2007424

n'ayant pas de machine ubuntu sous la main avant demain matin, je ne pourrais pas t'aider plus pour l'instant mais tu peux surveiller le fil ci dessus en attendant.

En fait, on cherche quel fichier de configuration dans /home/ta session est en cause.

Dernière modification par tarkan99 (Le 03/04/2017, à 09:24)


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#9 Le 03/04/2017, à 09:42

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Salut,

Voilà l'history épuré, évidemment :

memrss
free -m
free -g
free -m | sed -n -e '3p' | grep -Po "\d+$"
watch -n 1 free -m
watch -n 60 free -m
htop
sudo vi /etc/hdparm.conf 
kill $(ps -C compiz -o pid=)
scripts/
ll
sh AutoScan-Network-Linux-1.50.sh 
ll /etc/init.d/nfs*
vi /etc/init.d/nfs-kernel-server 
cat /etc/init.d/nfs-kernel-server 
nfs-kernel-server force-reload
service nfs-kernel-server status
sudo vi /etc/exports 
service nfs-kernel-server force-reload
cat /etc/exports 
showmount -e
nfsstat
crontab -e
cat /tmp/autohibernate.log
cat /var/run/pm-utils/locks/rtchibernate.lock
hibernate
sudo vi /etc/polkit-1/localauthority/50-local.d/com.ubuntu.desktop.pkla
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.desktop.pkla
cat /etc/pm/sleep.d/0000rtchibernate
sudo vi /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
vagrant halt && vagrant destroy && vagrant up --provision
vagrant ssh
grep -i "DPMS" /etc/X11/xorg.conf
ll /usr/lib/xorg
tail -f /var/log/syslog
grep -i "DPMS" /usr/share/X11/xorg.conf.d/xorg.conf
ll /usr/share/X11/xorg.conf.d
locate xorg.conf
uname -a
system-update
htop
cat /etc/systemd/logind.conf
dmesg   | tail -500 | grep sleep

Pour gnome-screensaver, lorsque je le lance, il me dit qu'il est déjà ouvert. En fait, c'est la gestion de la luminosité. Il est paramétré à 5 mi,utes, et le verrouillage est inactif.
Je vais suivre le fil de l'autre discution smile

Merci.
F.

Hors ligne

#10 Le 03/04/2017, à 14:36

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Il semble que cela venait de ce script que j'avais ajouté suite à ce problème.

Par contre, je n'ai pas encore pu vraiment testé si le soucis apparaissait uniquement à la suite de la reprise de l'hibernation. Car, à ce retour, le pc se fige une fois sur 2.
Je sais qu'il y a un patch à ce sujet (dans le xorg.conf pour les carte video NVIDIA), mais bizzarement, je n'ai pas de fichier xorg.conf. Et je n'ai pas encore cherché le pourquoi du comment.

Une autre piste ?

Fabrice

Hors ligne

#11 Le 04/04/2017, à 06:25

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

désolé mais je n'ai pas compris le message #10.

tu as supprimé le script et la mise en veille de l'écran a disparu ?


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#12 Le 04/04/2017, à 08:00

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Oui, j'ai fait cela hier et cela ne le faisait plus.
Mais, là, j'ai du mal à reproduire le problème.

J'ai remis le script, redémarré et mise en veille ne se fait plus. Je me suis mis en hibernation (le pc, pas moi lol ), et pas de problème.
C'est (très) surprenant.

Fabrice

Hors ligne

#13 Le 04/04/2017, à 08:36

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

Il est possible qu'une mise à jour ai réglé le problème.


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#14 Le 04/04/2017, à 08:55

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Peut être, mais le soucis avec les bandes blanches (NVidia) et colorées, par contre, n'est encore résolu.

Il va falloir attendre une prochaine mise à  jour.

Merci
Fabrice

Hors ligne

#15 Le 04/04/2017, à 11:53

lepetit

Re : Ecran noir au bout de 15 secondes d'inactivité.

bande blanche et colorée ?
tu utilises quoi comme driver ?

si c'est un pc de bureau, tu peux désactiver le gpu de l'intel dans le bios ? a moins que sa se fasse directement quand il ya une carte graphique en plus !?


-pc principal: amd ryzen 2600, 16 go de ram, ssd nvme samsung @ linux mint 19
-mini pc: amd 5350 mini itx fanless, 8go de ram, ssd
-mini pc 2: intel core 2 duo t7200, 1.5 go de ram, gforce 710 (pilote libre) @ linux mint xfce, kernel xanmod
-netbook samsung nc20, via nano 1.3ghz+, 2go de ram, via vx800 @ xubuntu 18.10

Hors ligne

#16 Le 04/04/2017, à 12:07

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

C'était lié à ce bug là.

Le driver NIDIA

Infos carte video :

$ sudo lshw -enable pci -class display
[sudo] 
  *-display               
       description: VGA compatible controller
       produit: GF119 [GeForce GT 610]
       fabriquant: NVIDIA Corporation
       identifiant matériel: 0
       information bus: pci@0000:01:00.0
       version: a1
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       ressources: irq:318 mémoire:de000000-deffffff mémoire:d0000000-d7ffffff mémoire:d8000000-d9ffffff portE/S:e000(taille=128) mémoire:df000000-df07ffff
  *-display NON-RÉ É
       description: Display controller
       produit: Sky Lake Integrated Graphics
       fabriquant: Intel Corporation
       identifiant matériel: 2
       information bus: pci@0000:00:02.0
       version: 06
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pciexpress msi pm cap_list
       configuration: latency=0
       ressources: mémoire:dd000000-ddffffff mémoire:c0000000-cfffffff portE/S:f000(taille=64)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)
[    28.062] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    28.064] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    28.065] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    28.065] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so

Hors ligne

#17 Le 04/04/2017, à 13:03

lepetit

Re : Ecran noir au bout de 15 secondes d'inactivité.

pour cette carte graphique, pourquoi ne pas utiliser le driver libre ?
j'ai une gt710, ça marche très bien

je ne vois pas trop pourquoi utiliser le pilote proprio vu le peu de perf que ta carte a

Dernière modification par lepetit (Le 04/04/2017, à 13:03)


-pc principal: amd ryzen 2600, 16 go de ram, ssd nvme samsung @ linux mint 19
-mini pc: amd 5350 mini itx fanless, 8go de ram, ssd
-mini pc 2: intel core 2 duo t7200, 1.5 go de ram, gforce 710 (pilote libre) @ linux mint xfce, kernel xanmod
-netbook samsung nc20, via nano 1.3ghz+, 2go de ram, via vx800 @ xubuntu 18.10

Hors ligne

#18 Le 04/04/2017, à 14:05

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

J'avoue que j'ai laissé sans trop toucher. Je vais tester la version libre alors smile

update      :  C'est fait, mais c'est franchement pas bon smile. Pas de détection du second écran et résolution très très petite smile
update #2 :  C'est réparé, driver libre installé wink

Dernière modification par __fabrice (Le 04/04/2017, à 14:45)

Hors ligne

#19 Le 04/04/2017, à 21:13

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

pense à mettre résolu


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#20 Le 05/04/2017, à 09:27

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Pas si résolu que çà.
Après avoir continuer à tester, cela se produit lors d'un retour de l'hibernation. Apparemment, le patch ne serait pas forcement en cause.

Hors ligne

#21 Le 05/04/2017, à 13:25

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

peux-tu supprimé le Résolu du sujet ?

je voudrais que tu lances l'hibernation en debug (ça produit un fichier /var/log/ *suspend*)

 sudo PM_DEBUG=true pm-hibernate

après le réveil, fourni le fichier (désolé, pas de nunux sous main) ainsi que le retour de

dmesg |tail -50 

xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#22 Le 05/04/2017, à 15:04

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Bon, j'ai pas tout mis, car c un peu énorme smile :

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 95led ']'
+ '[' 95hdparm-apm '>' 95led ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate:
+ 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 thaw hibernate

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)
 APM_level	= 254

/dev/sdb:
 setting Advanced Power Management level to 0xfe (254)
 APM_level	= 254

/dev/sdd:
 setting Advanced Power Management level to 0xfe (254)
 APM_level	= 254
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate: '
/usr/lib/pm-utils/sleep.d/95hdparm-apm thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=95hdparm-apm
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

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

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 95anacron ']'
+ '[' 94cpufreq '>' 95anacron ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate:
+ 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 thaw hibernate
+ '[' -d /sys/devices/system/cpu/ ']'
+ case "$1" in
+ thaw_cpufreq
+ cd /sys/devices/system/cpu/
+ for x in 'cpu[0-9]*/cpufreq/scaling_governor'
+ '[' -f cpu0/cpufreq/scaling_governor ']'
+ state_exists cpu0_governor
+ '[' -O /var/run/pm-utils/pm-suspend/storage/state:cpu0_governor ']'
+ continue
+ for x in 'cpu[0-9]*/cpufreq/scaling_governor'
+ '[' -f cpu1/cpufreq/scaling_governor ']'
+ state_exists cpu1_governor
+ '[' -O /var/run/pm-utils/pm-suspend/storage/state:cpu1_governor ']'
+ continue
+ for x in 'cpu[0-9]*/cpufreq/scaling_governor'
+ '[' -f cpu2/cpufreq/scaling_governor ']'
+ state_exists cpu2_governor
+ '[' -O /var/run/pm-utils/pm-suspend/storage/state:cpu2_governor ']'
+ continue
+ for x in 'cpu[0-9]*/cpufreq/scaling_governor'
+ '[' -f cpu3/cpufreq/scaling_governor ']'
+ state_exists cpu3_governor
+ '[' -O /var/run/pm-utils/pm-suspend/storage/state:cpu3_governor ']'
+ continue
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: '
/usr/lib/pm-utils/sleep.d/94cpufreq thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=94cpufreq
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 94cpufreq ']'
+ '[' 90clock '>' 94cpufreq ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/90clock thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/90clock thaw hibernate:
+ 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 thaw hibernate
+ is_set ''
+ case ${1-UNSET} in
+ return 2
+ exit 254
+ local status=254
+ log -n '/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: '
/usr/lib/pm-utils/sleep.d/90clock thaw hibernate: + hook_exit_status 254
+ case $1 in
+ log 'not applicable.'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'not applicable.' = -n ']'
+ printf '%s\n' 'not applicable.'
not applicable.
+ LAST_HOOK=90clock
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 90clock ']'
+ '[' 75modules '>' 90clock ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/75modules thaw hibernate:
+ 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 thaw hibernate
+ case "$1" in
+ resume_modules
+ modreload
+ for x in '"${STORAGEDIR}"/module:*'
+ '[' -O '/var/run/pm-utils/pm-suspend/storage/module:*' ']'
+ continue
+ echo 'Reloaded unloaded modules.'
Reloaded unloaded modules.
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: '
/usr/lib/pm-utils/sleep.d/75modules thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=75modules
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 75modules ']'
+ '[' 60_wpa_supplicant '>' 75modules ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate:
+ 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 thaw hibernate
Failed to connect to non-global ctrl_ifname: (nil)  error: No such file or directory
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate: '
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=60_wpa_supplicant
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 60_wpa_supplicant ']'
+ '[' 50unload_alx '>' 60_wpa_supplicant ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate:
+ 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 thaw hibernate
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate: '
/usr/lib/pm-utils/sleep.d/50unload_alx thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=50unload_alx
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 50unload_alx ']'
+ '[' 40inputattach '>' 50unload_alx ']'
+ '[' '!' reverse ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/40inputattach ']'
+ '[' -f /usr/lib/pm-utils/sleep.d/40inputattach ']'
+ hook=/usr/lib/pm-utils/sleep.d/40inputattach
+ run_hook /usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate:
+ hook_ok /usr/lib/pm-utils/sleep.d/40inputattach
+ local hook=40inputattach
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:40inputattach ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:inputattach ']'
+ '[' -x /usr/lib/pm-utils/sleep.d/40inputattach ']'
+ return 0
+ /usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate
+ STATE=inputattach
+ case "$1" in
+ state_exists inputattach
+ '[' -O /var/run/pm-utils/pm-suspend/storage/state:inputattach ']'
+ restorestate inputattach
+ state_exists inputattach
+ '[' -O /var/run/pm-utils/pm-suspend/storage/state:inputattach ']'
+ cat /var/run/pm-utils/pm-suspend/storage/state:inputattach
+ run_inputattach
+ read CMD
+ exit 0
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate: '
/usr/lib/pm-utils/sleep.d/40inputattach thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=40inputattach
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 40inputattach ']'
+ '[' 10_unattended-upgrades-hibernate '>' 40inputattach ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate
+ log 'Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate:'
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate:
+ 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 thaw hibernate
+ local status=0
+ log -n '/etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate: '
/etc/pm/sleep.d/10_unattended-upgrades-hibernate thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=10_unattended-upgrades-hibernate
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

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

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 10_grub-common ']'
+ '[' 00powersave '>' 10_grub-common ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/00powersave thaw hibernate:
+ 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 thaw hibernate
++ uname -m
+ ARCH=x86_64
+ command_exists pm-powersave
+ type pm-powersave
+ return 0
+ case $1 in
+ pm-powersave
++ 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=
++ BEFORE_HOOKS=
++ MODULE_HELP=
++ SUSPEND_MODULE=
++ HIBERNATE_MODULE=
++ SUSPEND_HYBRID_MODULE=
++ PM_HIBERNATE_DELAY=900
++ PM_RTC=/sys/class/rtc/rtc0
++ '[' -f /usr/lib/pm-utils/defaults ']'
++ . /usr/lib/pm-utils/defaults
++ '[' -f /usr/lib/pm-utils/pm-powersave.defaults ']'
++ set +a
++ for cfg in '"${PM_UTILS_ETCDIR}"/config.d/*[!~]' '"${PM_UTILS_ETCDIR}/${STASHNAME}.config.d"/*[!~]'
++ '[' -f '/etc/pm/config.d/*[!~]' ']'
++ continue
++ for cfg in '"${PM_UTILS_ETCDIR}"/config.d/*[!~]' '"${PM_UTILS_ETCDIR}/${STASHNAME}.config.d"/*[!~]'
++ '[' -f '/etc/pm/pm-powersave.config.d/*[!~]' ']'
++ continue
++ . /usr/lib/pm-utils/functions
+++ is_set true
+++ case ${1-UNSET} in
+++ return 0
+++ set -x
++ profiling
++ '[' '' = true ']'
++ profiling
++ '[' '' = true ']'
++ profiling
++ '[' '' = true ']'
++ '[' auto = auto ']'
++ SLEEP_MODULE='tuxonice uswsusp'
++ for mod in '$SLEEP_MODULE'
++ mod=/usr/lib/pm-utils/module.d/tuxonice
++ '[' -f /usr/lib/pm-utils/module.d/tuxonice ']'
++ . /usr/lib/pm-utils/module.d/tuxonice
+++ export TUXONICE_LOC
+++ for loc in '"/sys/power/tuxonice"' '"/sys/power/suspend2"'
+++ '[' -d /sys/power/tuxonice ']'
+++ for loc in '"/sys/power/tuxonice"' '"/sys/power/suspend2"'
+++ '[' -d /sys/power/suspend2 ']'
+++ '[' -n '' ']'
+++ '[' -z '' -a -n '' ']'
+++ '[' -z '' -a -n '' ']'
++ for mod in '$SLEEP_MODULE'
++ mod=/usr/lib/pm-utils/module.d/uswsusp
++ '[' -f /usr/lib/pm-utils/module.d/uswsusp ']'
++ . /usr/lib/pm-utils/module.d/uswsusp
+++ '[' -z '' ']'
+++ command_exists s2ram
+++ type s2ram
+++ return 1
+++ '[' -z '' ']'
+++ '[' -f /sys/power/disk ']'
+++ grep -q disk /sys/power/state
+++ '[' -c /dev/snapshot ']'
+++ command_exists s2disk
+++ type s2disk
+++ return 1
+++ '[' -z '' ']'
+++ grep -q mem /sys/power/state
+++ command_exists s2both
+++ type s2both
+++ return 1
++ '[' -z '' ']'
++ grep -q mem /sys/power/state
++ SUSPEND_MODULE=kernel
++ '[' -z '' ']'
++ '[' -f /sys/power/disk ']'
++ grep -q disk /sys/power/state
++ HIBERNATE_MODULE=kernel
++ '[' -z '' ']'
++ '[' -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 ']'
+ case $1 in
+ lock_and_load
+ try_lock pm-powersave.lock
+ local lock=/var/run/pm-utils/locks/pm-powersave.lock
+ mkdir -p /var/run/pm-utils/locks
+ touch /var/run/pm-utils/locks/pm-powersave.lock
+ exec
+ flock -x -n 3
+ return 0
+ trap remove_powersave_lock 0
+ mkdir -p /var/run/pm-utils/pm-powersave/storage
+ rm -f /var/run/pm-utils/pm-powersave/storage/inhibit
+ load_hook_blacklist
+ '[' '' ']'
+ 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
+ LOGGING=true
+ exec
+ exit 0
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: '
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=00powersave
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 00powersave ']'
+ '[' 00logging '>' 00powersave ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/00logging thaw hibernate:
+ 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 thaw hibernate
+ case "$1" in
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: '
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=00logging
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

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

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 000record-status ']'
+ '[' 000kernel-change '>' 000record-status ']'
+ '[' '!' reverse ']'
+ 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 thaw hibernate
+ _run_hook /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate
+ log 'Running hook /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:'
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate:
+ 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 thaw hibernate
+ local status=0
+ log -n '/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: '
/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=000kernel-change
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' '' = -n ']'
+ printf '%s\n' ''

+ IFS='
'
+ for base in '$(IFS="${oifs}"; for f in "$syshooks/"*[!~] "$phooks/"*[!~];
		do [ -O "$f" ] && echo ${f##*/} ; done | $sort | uniq)'
+ IFS=' 	
'
+ '[' reverse -a reverse = reverse -a 000kernel-change ']'
+ '[' 0000rtchibernate '>' 000kernel-change ']'
+ '[' '!' reverse ']'
+ update_parameters
+ '[' -f /var/run/pm-utils/pm-suspend/storage/parameters.new ']'
+ return
+ '[' -f /etc/pm/sleep.d/0000rtchibernate ']'
+ hook=/etc/pm/sleep.d/0000rtchibernate
+ run_hook /etc/pm/sleep.d/0000rtchibernate thaw hibernate
+ _run_hook /etc/pm/sleep.d/0000rtchibernate thaw hibernate
+ log 'Running hook /etc/pm/sleep.d/0000rtchibernate thaw hibernate:'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'Running hook /etc/pm/sleep.d/0000rtchibernate thaw hibernate:' = -n ']'
+ printf '%s\n' 'Running hook /etc/pm/sleep.d/0000rtchibernate thaw hibernate:'
Running hook /etc/pm/sleep.d/0000rtchibernate thaw hibernate:
+ hook_ok /etc/pm/sleep.d/0000rtchibernate
+ local hook=0000rtchibernate
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:0000rtchibernate ']'
+ '[' -f /var/run/pm-utils/pm-suspend/storage/disable_hook:00rtchibernate ']'
+ '[' -x /etc/pm/sleep.d/0000rtchibernate ']'
+ return 0
+ /etc/pm/sleep.d/0000rtchibernate thaw hibernate
+ local status=0
+ log -n '/etc/pm/sleep.d/0000rtchibernate thaw hibernate: '
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' -n = -n ']'
+ fmt=%s
+ shift
+ printf %s '/etc/pm/sleep.d/0000rtchibernate thaw hibernate: '
/etc/pm/sleep.d/0000rtchibernate thaw hibernate: + hook_exit_status 0
+ case $1 in
+ log success.
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' success. = -n ']'
+ printf '%s\n' success.
success.
+ LAST_HOOK=0000rtchibernate
+ log ''
+ is_set true
+ case ${1-UNSET} in
+ 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 'mercredi 5 avril 2017, 15:00:21 (UTC+0200): Finished.'
+ is_set true
+ case ${1-UNSET} in
+ return 0
+ local 'fmt=%s\n'
+ '[' 'mercredi 5 avril 2017, 15:00:21 (UTC+0200): Finished.' = -n ']'
+ printf '%s\n' 'mercredi 5 avril 2017, 15:00:21 (UTC+0200): Finished.'
mercredi 5 avril 2017, 15:00:21 (UTC+0200): Finished.
+ exit 0
+ remove_suspend_lock
+ release_lock pm-suspend.lock
+ local lock=/var/run/pm-utils/locks/pm-suspend.lock
+ rm -f /var/run/pm-utils/locks/pm-suspend.lock
+ return 0

et

[  315.531020] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  315.533809] ata1.00: configured for UDMA/133
[  315.534921] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[  315.534950] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  315.536484] ata2.00: configured for UDMA/133
[  315.537908] ata5: SATA link down (SStatus 0 SControl 300)
[  315.537922] ata6: SATA link down (SStatus 0 SControl 300)
[  315.540158] ata4.00: configured for UDMA/133
[  315.541011] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  315.544893] ata3.00: configured for UDMA/133
[  315.581179] usb 1-11: reset full-speed USB device number 3 using xhci_hcd
[  315.818302] usb 1-11: ep 0x82 - rounding interval to 512 microframes, ep desc says 800 microframes
[  316.010140] usb 1-12: reset low-speed USB device number 4 using xhci_hcd
[  316.276798] usb 1-12: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[  316.276801] usb 1-12: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[  316.428160] usb 1-5: reset high-speed USB device number 2 using xhci_hcd
[  316.694268] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[  316.708735] PM: restore of devices complete after 1495.917 msecs
[  316.708789] pwc: Logitech QuickCam 4000 Pro USB webcam detected.
[  316.890369] pwc: Registered as video0.
[  316.890396] input: PWC snapshot button as /devices/pci0000:00/0000:00:14.0/usb1/1-11/input/input20
[  316.890696] PM: Image restored successfully.
[  316.890718] PM: Basic memory bitmaps freed
[  316.890720] Restarting tasks ... 
[  316.890963] pci_bus 0000:04: Allocating resources
[  316.890975] pci 0000:03:00.0: bridge window [io  0x1000-0x0fff] to [bus 04] add_size 1000
[  316.890978] pci 0000:03:00.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 04] add_size 200000 add_align 100000
[  316.890979] pci 0000:03:00.0: bridge window [mem 0x00100000-0x000fffff] to [bus 04] add_size 200000 add_align 100000
[  316.890981] pci 0000:03:00.0: res[14]=[mem 0x00100000-0x000fffff] res_to_dev_res add_size 200000 min_align 100000
[  316.890982] pci 0000:03:00.0: res[14]=[mem 0x00100000-0x002fffff] res_to_dev_res add_size 200000 min_align 100000
[  316.890984] pci 0000:03:00.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  316.890985] pci 0000:03:00.0: res[15]=[mem 0x00100000-0x002fffff 64bit pref] res_to_dev_res add_size 200000 min_align 100000
[  316.890986] pci 0000:03:00.0: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[  316.890987] pci 0000:03:00.0: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[  316.890989] pci 0000:03:00.0: BAR 14: no space for [mem size 0x00200000]
[  316.890990] pci 0000:03:00.0: BAR 14: failed to assign [mem size 0x00200000]
[  316.890991] pci 0000:03:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  316.890992] pci 0000:03:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  316.890993] pci 0000:03:00.0: BAR 13: no space for [io  size 0x1000]
[  316.890994] pci 0000:03:00.0: BAR 13: failed to assign [io  size 0x1000]
[  316.890996] pci 0000:03:00.0: BAR 14: no space for [mem size 0x00200000]
[  316.890997] pci 0000:03:00.0: BAR 14: failed to assign [mem size 0x00200000]
[  316.890998] pci 0000:03:00.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  316.890999] pci 0000:03:00.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  316.891000] pci 0000:03:00.0: BAR 13: no space for [io  size 0x1000]
[  316.891001] pci 0000:03:00.0: BAR 13: failed to assign [io  size 0x1000]
[  316.891002] pci 0000:03:00.0: PCI bridge to [bus 04]
[  316.894908] done.
[  316.895034] video LNXVIDEO:00: Restoring backlight state
[  316.936944] r8169 0000:05:00.0 enp5s0: link up

Merci pour tes recherches smile

Fabrice

Hors ligne

#23 Le 05/04/2017, à 15:31

tarkan99

Re : Ecran noir au bout de 15 secondes d'inactivité.

Tu peux refaire l'essai :
Hibernation sans debug
Utiliser la session invité

Et voir si extinction écran ou non

Dernière modification par tarkan99 (Le 05/04/2017, à 21:58)


xubuntu 22.04.1 sur machine assemblée base de Core i5 9400

Hors ligne

#24 Le 05/04/2017, à 16:45

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Ok, je fais çà dans qq minutes.

Par contre, c'est à confirmer mais il me semble qu'il y a une différence entre une hibernation forcé (dans le menu de la session en haut à droite), et celle automatique après X minutes d'inactivité.

Hors ligne

#25 Le 13/04/2017, à 11:23

__fabrice

Re : Ecran noir au bout de 15 secondes d'inactivité.

Je confirme que j'ai bien une erreur de retour d'hibernation lorsqu'elle se met tout seul en fonctionnement. Ceci suite à ce script.

Par contre, je viens de voir que je lance ce script d'hibernation AVANT la mise en veille du système ?, c'est pas le problème ?

Hors ligne