Non, non, c'est un autre sujet (sur un autre fil).
C'est juste pour se débarrasser de l'écran de congélation après la suspension. De plus, cela ne changera aucun paramètre. Il ne fera que redémarrer votre écran principal.
Si le premier fait le travail, pas besoin de scripter. (La différence est que le script éteint d'abord l'affichage puis le rallume... En général, cela fonctionne mieux).
____________________________________________
En attendant, vous pouvez essayer les mêmes choses pour l'autre moniteur, il suffit de remplacer LVDS-1 par VGA-1 sur tout... (Ce sont les noms techniques de vos deux moniteurs)
laptop - pas de mise en veille quand écran fermé
-
- Posts: 81
- Joined: Fri Sep 25, 2020 11:04 am
Re: laptop - pas de mise en veille quand écran fermé
Hi, with the config below there is still no automatic sleep mode when closing the laptop screen, and no manual sleep mode either. When clicking on "sleep"; the laptop goes black and is impossible to wake up. I have to restart it every time. There must be a solution,...
Code: Select all
System: Kernel: 5.10.0-21-amd64 [5.10.162-1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-21-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.18.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower October 20 2021
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Hewlett-Packard product: HP ProBook 6570b v: A1009D11
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: Hewlett-Packard model: 17AB v: KBC Version 42.1A serial: <filter>
BIOS: Hewlett-Packard v: 68ICE Ver. F.04 date: 06/12/2012
Battery: ID-1: BAT0 charge: 26.3 Wh (100.0%) condition: 26.3/26.3 Wh (100.0%) volts: 12.3
min: 10.8 model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: Full
CPU: Info: Dual Core model: Intel Core i3-2370M bits: 64 type: MT MCP arch: Sandy Bridge
family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 3 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19155
Speed: 858 MHz min/max: 800/2400 MHz Core speeds (MHz): 1: 858 2: 893 3: 856 4: 822
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP:
conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
vendor: Hewlett-Packard driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0116
class-ID: 0300
Device-2: Chicony Integrated HP HD Webcam type: USB driver: uvcvideo bus-ID: 1-1.3:4
chip-ID: 04f2:b230 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: loaded: intel
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1775x998 s-dpi: 96 s-size: 470x264mm (18.5x10.4")
s-diag: 539mm (21.2")
Monitor-1: LVDS1 res: 1776x999 hz: 60 dpi: 133 size: 340x190mm (13.4x7.5")
diag: 389mm (15.3")
OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 20.3.5
compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
Sound Server-1: ALSA v: k5.10.0-21-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Intel 82579V Gigabit Network vendor: Hewlett-Packard driver: e1000e v: kernel
port: 4060 bus-ID: 00:19.0 chip-ID: 8086:1503 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Broadcom BCM43228 802.11a/b/g/n vendor: Hewlett-Packard BCM943228HM4L
driver: wl v: kernel modules: bcma port: 4040 bus-ID: 24:00.0 chip-ID: 14e4:4359
class-ID: 0280
IF: wlan0 state: up mac: <filter>
Drives: Local Storage: total: 298.09 GiB used: 12.2 GiB (4.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HTS723232A7A364 size: 298.09 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: A60W scheme: MBR
Partition: ID-1: / raw-size: 292.46 GiB size: 286.81 GiB (98.07%) used: 12.2 GiB (4.3%) fs: ext4
dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 5.62 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2
Sensors: System Temperatures: cpu: 47.0 C mobo: 0.0 C
Fan Speeds (RPM): N/A
Repos: Packages: note: see --pkg apt: 2058 lib: 1005 flatpak: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://nl.mxrepo.com/mx/repo/ bullseye main non-free
Info: Processes: 238 Uptime: 6m wakeups: 2 Memory: 3.72 GiB used: 1.88 GiB (50.6%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: BIOS (legacy, CSM, MBR)
- Eadwine Rose
- Administrator
- Posts: 14678
- Joined: Wed Jul 12, 2006 2:10 am
Re: laptop - pas de mise en veille quand écran fermé
@linuxforever Merci de reposter en français, vous n'êtes pas dans la section anglaise du forum. Merci.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
-
- Posts: 81
- Joined: Fri Sep 25, 2020 11:04 am
Re: laptop - pas de mise en veille quand écran fermé
Bonjour, avec la config ci-dessous, impossible de sortir le laptop de la veille une fois l'écran rabattu, et impossible de le réveiller après l'avoir "mis en veille" manuellement. Chaque fois, il faut le redémarrer. Il doit bien y avoir une solution...
Code: Select all
System: Kernel: 5.10.0-21-amd64 [5.10.162-1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-21-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.18.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower October 20 2021
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Hewlett-Packard product: HP ProBook 6570b v: A1009D11
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: Hewlett-Packard model: 17AB v: KBC Version 42.1A serial: <filter>
BIOS: Hewlett-Packard v: 68ICE Ver. F.04 date: 06/12/2012
Battery: ID-1: BAT0 charge: 26.3 Wh (100.0%) condition: 26.3/26.3 Wh (100.0%) volts: 12.3
min: 10.8 model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: Full
CPU: Info: Dual Core model: Intel Core i3-2370M bits: 64 type: MT MCP arch: Sandy Bridge
family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 3 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19155
Speed: 858 MHz min/max: 800/2400 MHz Core speeds (MHz): 1: 858 2: 893 3: 856 4: 822
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP:
conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
vendor: Hewlett-Packard driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0116
class-ID: 0300
Device-2: Chicony Integrated HP HD Webcam type: USB driver: uvcvideo bus-ID: 1-1.3:4
chip-ID: 04f2:b230 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: loaded: intel
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1775x998 s-dpi: 96 s-size: 470x264mm (18.5x10.4")
s-diag: 539mm (21.2")
Monitor-1: LVDS1 res: 1776x999 hz: 60 dpi: 133 size: 340x190mm (13.4x7.5")
diag: 389mm (15.3")
OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 20.3.5
compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
Sound Server-1: ALSA v: k5.10.0-21-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Intel 82579V Gigabit Network vendor: Hewlett-Packard driver: e1000e v: kernel
port: 4060 bus-ID: 00:19.0 chip-ID: 8086:1503 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Broadcom BCM43228 802.11a/b/g/n vendor: Hewlett-Packard BCM943228HM4L
driver: wl v: kernel modules: bcma port: 4040 bus-ID: 24:00.0 chip-ID: 14e4:4359
class-ID: 0280
IF: wlan0 state: up mac: <filter>
Drives: Local Storage: total: 298.09 GiB used: 12.2 GiB (4.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HTS723232A7A364 size: 298.09 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: A60W scheme: MBR
Partition: ID-1: / raw-size: 292.46 GiB size: 286.81 GiB (98.07%) used: 12.2 GiB (4.3%) fs: ext4
dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 5.62 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda2 maj-min: 8:2
Sensors: System Temperatures: cpu: 47.0 C mobo: 0.0 C
Fan Speeds (RPM): N/A
Repos: Packages: note: see --pkg apt: 2058 lib: 1005 flatpak: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://nl.mxrepo.com/mx/repo/ bullseye main non-free
Info: Processes: 238 Uptime: 6m wakeups: 2 Memory: 3.72 GiB used: 1.88 GiB (50.6%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: BIOS (legacy, CSM, MBR)