#26 Le 16/05/2023, à 17:13
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Ca donne ce qu'il y a ci-dessous :
J'ai rentré la dernière ligne et j'ai appuyé sur enter (avec mon code souris)
Ca ne bouge pas plus! Est-ce bien validé?
GNU nano 6.2 /etc/laptop-mode/conf.d/runtime-pm.conf *
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#27 Le 16/05/2023, à 20:15
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Je crois que j'ai fait une bêtise et je n'ai plus rien lorsque je tape :
sudo nano /etc/laptop-mode/conf.d/usb-autosuspend.conf
Je crois que c'est parce qu'avant de lire ton dernier message, j'avais tapé dedans (après tout le texte apparu) la ligne :
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
Comme ça ne faisait rien j'ai fermé (en cours de processus!) le terminal...
Et maintenant il revient systématiquement sur la fenêtre vide avec des lettres en bas (voir ci-dessous)
^G Aide ^O Écrire ^W Chercher ^K Couper ^T Exécuter ^C Emplacement
^X Quitter ^R Lire fich.^\ Remplacer ^U Coller ^J Justifier ^/ Aller ligne
Comment se sert-on de ces codes? ^X...
Tu peux me dire comment je peux reprendre la main?
Merci
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#28 Le 16/05/2023, à 20:34
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
pour fermer et enregistrer le fichier une fois que tu l ' as modifie : ctrl + x , o , entrée .
pour fermer et ne pas enregistrer le fichier une fois que tu l ' as modifie : ctrl + x , n , entrée .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#29 Le 16/05/2023, à 20:39
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
bon , parce que c ' est toi
copie colle tout le bloc suivant d ' un coup dans ton terminal :
cat << EOF | sudo tee /etc/laptop-mode/conf.d/runtime-pm.conf
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
#__COMMENT hardware / device driver contact
#
################################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Enable Runtime autosuspend feature?
# Set to 0 to disable
CONTROL_RUNTIME_AUTOSUSPEND=1
# Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding
# which devices should be autosuspended.
# AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used.
# AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used.
AUTOSUSPEND_USE_WHITELIST=0
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST=""
# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"
# The list of Device IDs that should use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
# AJOUT MANUEL POUR MA SOURIS
AUTOSUSPEND_USBID_BLACKLIST="0461:4de2"
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
EOF
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#30 Le 16/05/2023, à 22:13
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Merci pour ta patience Iznobe!
J'ai tout repris comme tu m'as indiqué...
Et avec la ligne :
# AJOUT MANUEL POUR MA SOURIS
AUTOSUSPEND_USBID_BLACKLIST="0461:4de2"
Après un redémarrage, j'ai mis en veille ... et ça ne marchait pas non plus! (le réveil avec la souris)
J'ai donc mis à la place la ligne (adaptée à mon cas) suggérée au #19 (dans le copier/coller) :
# AJOUT MANUEL POUR MA SOURIS
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
... et ça ne marche pas non plus!
Voici le contenu actuel :
Selon le #19, n'y a-t-il pas quelque chose à observer quant à :
AUTOSUSPEND_USE_WHITELIST=0
jean@asus:~$ cat /etc/laptop-mode/conf.d/runtime-pm.conf
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
#__COMMENT hardware / device driver contact
#
################################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Enable Runtime autosuspend feature?
# Set to 0 to disable
CONTROL_RUNTIME_AUTOSUSPEND=1
# Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding
# which devices should be autosuspended.
# AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used.
# AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used.
AUTOSUSPEND_USE_WHITELIST=0
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST=""
# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"
# The list of Device IDs that should use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
# AJOUT MANUEL POUR MA SOURIS
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
jean@asus:~$
... on peut voir ça plus tard...
Dans tous les cas MERCI
Jean
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#31 Le 16/05/2023, à 22:46
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
A la base je ne sais pas gerer cela , ni comment il faut s ' y prendre .
Par contre je sais comment éditer un fichier .
je n' ai pas ce fichier . je n' ai pas de laptop . je ne peux donc pas être d ' une grande aide ...
le seul truc c ' est que ca fait une ligne en double du coup , une vide et celle que tu as ajouté qui me parait correcte :
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
As tu redemarrer l' ordi comme indiqué en 4°) avant de tester la sortie de veille ?
sinon re edite le fichier , supprime ce que tu as ajouté , et ajoute juste le bon ID de ta souris dans la ligne existante vers le début du fichier dans ce morceau là :
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST=""
redemarre l' ordi et reteste .
montre aussi :
man laptop-mode.conf
Dernière modification par iznobe (Le 16/05/2023, à 22:57)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#32 Le 16/05/2023, à 22:54
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Je ne peux pas tout copier coller... les lignes ne défilent pas plus d'1 écran!!! (à la fois ; + de 1000 lignes!)
Y t il une méthode autre?
Dernière modification par Jeanfromarseille (Le 16/05/2023, à 22:57)
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#33 Le 16/05/2023, à 23:00
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
donne le retour de ca :
cat << EOF | sudo tee /etc/laptop-mode/conf.d/runtime-pm.conf
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
#__COMMENT hardware / device driver contact
#
################################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Enable Runtime autosuspend feature?
# Set to 0 to disable
CONTROL_RUNTIME_AUTOSUSPEND=1
# Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding
# which devices should be autosuspended.
# AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used.
# AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used.
AUTOSUSPEND_USE_WHITELIST=0
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"
# The list of Device IDs that should use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
EOF
puis redémarre l ' ordi et teste a nouveau le réveil de la veille avec la souris .
Dernière modification par iznobe (Le 16/05/2023, à 23:02)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#34 Le 16/05/2023, à 23:03
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Voila :
jean@asus:~$ cat << EOF | sudo tee /etc/laptop-mode/conf.d/runtime-pm.conf
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
EOFOSUSPEND_TIMEOUT=2fter which the USB devices should suspendumstancesverortosu
[sudo] Mot de passe de jean :
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
#__COMMENT hardware / device driver contact
#
################################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Enable Runtime autosuspend feature?
# Set to 0 to disable
CONTROL_RUNTIME_AUTOSUSPEND=1
# Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding
# which devices should be autosuspended.
# AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used.
# AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used.
AUTOSUSPEND_USE_WHITELIST=0
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"
# The list of Device IDs that should use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
jean@asus:~$
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#35 Le 16/05/2023, à 23:03
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Je ne peux pas tout copier coller... les lignes ne défilent pas plus d'1 écran!!! (à la fois ; + de 1000 lignes!)
Y t il une méthode autre?
j ' ai trouvé : https://linux.die.net/man/8/laptop-mode.conf
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#36 Le 16/05/2023, à 23:10
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
puis redémarre l ' ordi et teste a nouveau le réveil de la veille avec la souris .
Ca ne fonctionne toujours pas!
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#37 Le 16/05/2023, à 23:13
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
j ' ai trouvé : https://linux.die.net/man/8/laptop-mode.conf
Je vais voir ça, mais je ne suis pas au top en anglais...
Je donnerai des nouvelles demain...
Merci à toi
Jean
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#38 Le 17/05/2023, à 14:40
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Vérification faite, le site en lien est bien trop compliqué pour moi !
Désolé pour tous ces dérangements…
Je reste en veille pour la cas où !
Merci
Jean
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#39 Le 17/05/2023, à 15:04
- erresse
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
ok , alors tu peux ajouter ta ligne en faisant :
sudo nano /etc/laptop-mode/conf.d/usb-autosuspend.conf
ensuite tu descends avec la fleche juste avant ( vers la fin ) :
# Trigger auto-suspension of the device under conditional circumstances # Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW BATT_SUSPEND_RUNTIME=1 LM_AC_SUSPEND_RUNTIME=1 NOLM_AC_SUSPEND_RUNTIME=0 # Auto-Suspend timeout in seconds # Number of seconds after which the USB devices should suspend AUTOSUSPEND_TIMEOUT=2
puis tu met une ligne avec commentaire genre:
# AJOUT MANUEL POUR MA SOURIS
puis ta fameuse ligne :
AUTOSUSPEND_USBID_BLACKLIST="0461:4de2"
ce qui donnerait un fichier complet comme ceci :
# # Configuration file for Laptop Mode Tools module runtime-pm # # For more information, consult the laptop-mode.conf(8) manual page. # ############################################################################### # Runtime Power Management Settings # --------------------------------- # #__COMMENT If you enable this setting, laptop mode tools will automatically enable #__COMMENT the Runtime Power Management feature for all devices. #__COMMENT #__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a #__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice #__COMMENT turning their LED completely off. If you have a device that misbehaves, #__COMMENT add its DEVICE ID to the blacklist section below and complain to your #__COMMENT hardware / device driver contact # ################################################################################ # Enable debug mode for this module # Set to 1 if you want to debug this module DEBUG=0 # Enable Runtime autosuspend feature? # Set to 0 to disable CONTROL_RUNTIME_AUTOSUSPEND=1 # Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding # which devices should be autosuspended. # AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used. # AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used. AUTOSUSPEND_USE_WHITELIST=0 # The list of Device IDs that should not use autosuspend. Use system commands or # look into sysfs to find out the IDs of your devices. # Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd" AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="" # The list of 'device driver types' or 'device types' that should not use autosuspend. # The driver type is given by "DRIVER=..." in a device's uevent file. # The driver type is given by "DEVTYPE=..." in a device's uevent file. # Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage" AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage" # The list of Device IDs that should use autosuspend. Use system commands or # look into sysfs to find out the IDs of your devices. # Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd" AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="" # The list of device driver types that should use autosuspend. The driver # type is given by "DRIVER=..." in a device's uevent file. # Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage" AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="" # AJOUT MANUEL POUR MA SOURIS AUTOSUSPEND_USBID_BLACKLIST="0461:4de2" # Trigger auto-suspension of the device under conditional circumstances # Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW BATT_SUSPEND_RUNTIME=1 LM_AC_SUSPEND_RUNTIME=1 NOLM_AC_SUSPEND_RUNTIME=0 # Auto-Suspend timeout in seconds # Number of seconds after which the USB devices should suspend AUTOSUSPEND_TIMEOUT=2
pour fermer et enregistrer le fichier une fois que tu l ' as modifie : ctrl + x , o , entrée .
pour fermer et ne pas enregistrer le fichier une fois que tu l ' as modifie : ctrl + x , n , entrée .
NON !
Ce "usb-autosuspend.conf" QUI N'EXISTE PAS n'est pas le bon fichier ! Il faut juste MODIFIER la ligne QUI EXISTE DÉJÀ dans le fichier "runtime-pm.conf" QUI EXISTE AUSSI DÉJÀ.
Ne pas créer de ligne supplémentaire et ne pas apporter (apparemment) d'autre modification que l'ajout du code de la souris "0461:4de2" à la fin de la ligne, entre les guillemets.
Sinon, pour faire la modif du fichier avec "nano", lire le fichier, le réécrire et quitter, les manips sont correctes.
Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois le problème solutionné, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.
Hors ligne
#40 Le 17/05/2023, à 15:28
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Il faut juste MODIFIER la ligne QUI EXISTE DÉJÀ dans le fichier "runtime-pm.conf" QUI EXISTE AUSSI DÉJÀ.
Ne pas créer de ligne supplémentaire et ne pas apporter (apparemment) d'autre modification que l'ajout du code de la souris "0461:4de2" à la fin de la ligne, entre les guillemets.
Sinon, pour faire la modif du fichier avec "nano", lire le fichier, le réécrire et quitter, les manips sont correctes.
Salut , effectivement erreur de sélection de fichier dans mon copier coller , je corrige .
Mais si tu regardes au # 34 , j ' ai fait faire exactement ce que tu dis là .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#41 Le 17/05/2023, à 18:33
- erresse
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
@iznobe: Oui, j'ai vu après avoir posté ma réponse... Cela dit, si la méthode ne fonctionne pas mieux comme Jean a l'air de le penser, je ne sais pas que proposer de plus.
Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois le problème solutionné, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.
Hors ligne
#42 Le 17/05/2023, à 20:10
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Comme je l' ai precisé , je n' utilise pas de laptop , et ne connait absolument pas du tout le sujet .
je m ' étais initié dans la conversation juste pour la question de l' édition du fichier . je ne saurais donc pas aidé sur ce sujet non plus ...
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#43 Le 17/05/2023, à 23:00
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Bonsoir,
(Mon appareil n'est pas un laptop!)
Pour vérifier si j'ai tout bien fait, je crois qu'il est bon de vous montrer ce que j'ai "actuellement" :
Mes ports usb :
ean@asus:~$ lsusb
Bus 002 Device 005: ID 0461:4de2 Primax Electronics, Ltd USB Optical Mouse
Bus 002 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 006: ID 045e:076d Microsoft Corp. LifeCam HD-5000
Bus 002 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
jean@asus:~$
Le fichier runtime-pm.conf :
jean@asus:~$ cat /etc/laptop-mode/conf.d/runtime-pm.conf
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
#__COMMENT hardware / device driver contact
#
################################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Enable Runtime autosuspend feature?
# Set to 0 to disable
CONTROL_RUNTIME_AUTOSUSPEND=1
# Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding
# which devices should be autosuspended.
# AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used.
# AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used.
AUTOSUSPEND_USE_WHITELIST=0
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"
# The list of Device IDs that should use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="0461:4de2"
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
jean@asus:
Le fichier autosuspend.cnf :
jean@asus:~$ cat /etc/laptop-mode/conf.d/usb-autosuspend.conf
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
#__COMMENT hardware / device driver contact
#
################################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Enable Runtime autosuspend feature?
# Set to 0 to disable
CONTROL_RUNTIME_AUTOSUSPEND=1
# Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding
# which devices should be autosuspended.
# AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used.
# AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used.
AUTOSUSPEND_USE_WHITELIST=0
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST=""
# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"
# The list of Device IDs that should use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
jean@asus:~$
Espérant que ça poura aider!
Dans 1/4 d'h, je dois aller au dodo ; je me lève à 6h
Merci à vous
Jean
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#44 Le 18/05/2023, à 08:29
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Bonjour , a cause de mon manque de rigueur relevé par @erresse tu te retrouves avec un fichier autosuspend.conf que tu n' avais pas au depart .
je ne pense pas que ca resoudra ton probleme , mais on va donc quand meme supprimer ce fichier qui n' a pas lieu d' etre :
cd /etc/laptop-mode/conf.d/ && sudo rm usb-autosuspend.*; cd
Dernière modification par iznobe (Le 18/05/2023, à 08:30)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#45 Le 18/05/2023, à 09:30
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Ca y est ; c'est fait :
jean@asus:/etc/laptop-mode/conf.d$ dir
ac97-powersave.conf nouveau.conf
auto-hibernate.conf pcie-aspm.conf
battery-level-polling.conf radeon-dpm.conf
bluetooth.conf runtime-pm.conf
board-specific runtime-pm.conf.save
configuration-file-control.conf sched-mc-power-savings.conf
cpufreq.conf sched-smt-power-savings.conf
cpuhotplug.conf start-stop-programs.conf
dpms-standby.conf terminal-blanking.conf
eee-superhe.conf usb-autosuspend.conf.save
ethernet.conf usb-autosuspend.conf.save.1
exec-commands.conf usb-autosuspend.conf.save.2
hal-polling.conf usb-autosuspend.conf.save.3
intel-hda-powersave.conf vgaswitcheroo.conf
intel_pstate.conf video-out.conf
intel-sata-powermgmt.conf wireless-ipw-power.conf
kbd-backlight.conf wireless-iwl-power.conf
lcd-brightness.conf wireless-power.conf
nmi-watchdog.conf
jean@asus:/etc/laptop-mode/conf.d$
Merci
Jean
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#46 Le 18/05/2023, à 09:53
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
... et après redémarrage, mise en veille... pareille la souris ne fait pas redémarrer le système!
Mais ce que je ne comprends pas, c'est que si j'inverse mes branchements usb (clavier et souris) ; la sortie de mise en veille et le clavier fonctionnent!!!
Donc le port usb, quel qu’il soit, dès qu'il détecte la souris... après mise en veille il ne réagit plus à rien (en tout cas pour le redémarrage)!!!!!
Si ça peut indiquer quelque chose! ...
Dernière modification par Jeanfromarseille (Le 18/05/2023, à 09:56)
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#47 Le 18/05/2023, à 09:55
- iznobe
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
c' est quoi ce retour ? ca me fait peur là
les : usb-autosuspend.conf.save , .1 , .2 , .3 , c' est toi qui les as crée ?
Dernière modification par iznobe (Le 18/05/2023, à 09:56)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#48 Le 18/05/2023, à 11:21
- erresse
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Dans le fichier "runtime-pm.conf", il y a cette ligne qui est contradictoire :
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="0461:4de2"
Déjà, normalement, DEVTYPE WHITELIST est censé dire quels sont les drivers autorisés à se suspendre et non les appareils individuels. Par ailleurs, ce qu'on cherche à faire, c'est interdire la suspension pour l'appareil "souris", donc en indiquant le code dans la ligne DEVID_BLACKLIST (ce qui est d'ailleurs fait un peu plus haut).
Il faut donc supprimer le code marqué dans cette ligne et réécrire le fichier.
Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois le problème solutionné, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.
Hors ligne
#49 Le 18/05/2023, à 13:43
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
c' est quoi ce retour ? ca me fait peur là
les : usb-autosuspend.conf.save , .1 , .2 , .3 , c' est toi qui les as crée ?
A non, j'en serais bien incapable!!!
Quant à ton dernier message, j'ai bien compris le correctif à faire (je ne laisse que les "")... mais après, "réécrire" le fichier ça veut dire quoi? C'est le valider simplement en bas ou autre chose encore?
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne
#50 Le 18/05/2023, à 14:09
- Jeanfromarseille
Re : Sortie de veille avec la souris ne fonctionne pas! (depuis 22.04.2)
Bon, j'ai fait la correction : (voir ci-dessous)
... mais après redémarrage et mise en veille, toujours pas de souris pour sortir du mode veille!!!
jean@asus:~$ cat /etc/laptop-mode/conf.d/runtime-pm.conf
#
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Runtime Power Management Settings
# ---------------------------------
#
#__COMMENT If you enable this setting, laptop mode tools will automatically enable
#__COMMENT the Runtime Power Management feature for all devices.
#__COMMENT
#__COMMENT NOTE: Some devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice
#__COMMENT turning their LED completely off. If you have a device that misbehaves,
#__COMMENT add its DEVICE ID to the blacklist section below and complain to your
#__COMMENT hardware / device driver contact
#
################################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Enable Runtime autosuspend feature?
# Set to 0 to disable
CONTROL_RUNTIME_AUTOSUSPEND=1
# Set this to use opt-in/whitelist instead of opt-out/blacklist for deciding
# which devices should be autosuspended.
# AUTOSUSPEND_USE_WHITELIST=0 means AUTOSUSPEND_*_BLACKLIST will be used.
# AUTOSUSPEND_USE_WHITELIST=1 means AUTOSUSPEND_*_WHITELIST will be used.
AUTOSUSPEND_USE_WHITELIST=0
# The list of Device IDs that should not use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST="0461:4de2"
# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"
# The list of Device IDs that should use autosuspend. Use system commands or
# look into sysfs to find out the IDs of your devices.
# Example: AUTOSUSPEND_RUNTIME_DEVID_WHITELIST="046d:c025 0123:abcd"
AUTOSUSPEND_RUNTIME_DEVID_WHITELIST=""
# The list of device driver types that should use autosuspend. The driver
# type is given by "DRIVER=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_WHITELIST=""
# Trigger auto-suspension of the device under conditional circumstances
# Warning: DO NOT CHANGE THESE DEFAUTLS UNLESS YOU KNOW
BATT_SUSPEND_RUNTIME=1
LM_AC_SUSPEND_RUNTIME=1
NOLM_AC_SUSPEND_RUNTIME=0
# Auto-Suspend timeout in seconds
# Number of seconds after which the USB devices should suspend
AUTOSUSPEND_TIMEOUT=2
jean@asus:~$
Merci à Tous pour votre soutien.
Mon ordi : Asus CM6730 / Mon système d'exploitation (en dual-boot) : Ubuntu 24.04. 1 LTS / (x86-64) / Noyau Linux 6.8.0-51-generic / Version du GNOME 46 / Mémoire 8.0 Gio / Capacité du disque 3 To / Processeur Intel© Core™ i5-2320 CPU @ 3.00GHz × 4 / Carte graphique Intel® HD Graphics 2000 (SNB GT1)
Hors ligne