Hi all,
I normally work on my Thinkpad T460 with an external monitor attached to the mini-display port. However, if I close the lid (which makes the laptop go to sleep mode) and then unplug the mini-display port, the laptop screen doesn’t wake up when I open it up again. The only way to make it work again is to connect the mini-display port again, and press Ctrl-F7 to switch to ‘extend monitor’. It looks like when the laptop is in sleep mode, the external monitor mode is automatically set to ‘switch to external monitor’ (which I never choose), so when the laptop wakes up without the external monitor, it just keeps the screen off.
This is very annoying because if I’m outside, I ended either resetting the laptop, or opening a terminal (Ctrl+F1), logging in and resetting the UI (systemctl restart sddm), causing the lose of everything I was working on.
Any suggestion on how to address/prevent this issue?
Thanks!
Here are my system details:
System:
Kernel: 5.15.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/vmlinuz-5.15-x86_64
root=UUID=96927b75-2787-47cf-a626-697ee8748302 rw quiet apparmor=1
security=apparmor resume=UUID=f2b7b667-be29-436e-ad43-41d86178643c
udev.log_priority=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20FMS00101 v: ThinkPad T460
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20FMS00101 v: SDK0J40697 WIN
serial: <superuser required> UEFI-[Legacy]: LENOVO v: R06ET33W (1.07 )
date: 01/05/2016
Battery:
ID-1: BAT0 charge: 10.9 Wh (66.1%) condition: 16.5/23.2 Wh (71.0%)
volts: 12.4 min: 11.1 model: SANYO 45N1773 type: Li-ion serial: <filter>
status: Charging
ID-2: BAT1 charge: 1.1 Wh (5.4%) condition: 20.4/23.5 Wh (86.8%)
volts: 11.2 min: 11.4 model: LGC 45N1127 type: Li-ion serial: <filter>
status: N/A
Memory:
RAM: total: 15.06 GiB used: 3.01 GiB (20.0%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i5-6300U bits: 64 type: MT MCP arch: Skylake
family: 6 model-id: 0x4E (78) stepping: 3 microcode: 0xEA
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 2800 high: 2801 min/max: 400/3000 scaling:
driver: intel_pstate governor: powersave cores: 1: 2801 2: 2800 3: 2800
4: 2800 bogomips: 20004
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon
art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm
lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae
pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti
pts rdrand rdseed rdtscp rep_good sdbg sep smap smep smx ss ssbd sse sse2
sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
xsaves xtopology xtpr
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: 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: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort mitigation: TSX disabled
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915
v: kernel bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
bus-ID: 1-10:3 chip-ID: 04f2:b52c class-ID: 0e02 serial: <filter>
Display: x11 server: X.org 1.21.1.3 compositor: kwin_x11 driver:
loaded: modesetting alternate: fbdev,vesa resolution: <missing: xdpyinfo>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
chip-ID: 8086:9d70 class-ID: 0403
Sound Server-1: ALSA v: k5.15.16-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.43 running: yes
Network:
Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:156f class-ID: 0200
IF: enp0s31f6 state: down mac: <filter>
Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel bus-ID: 04:00.0
chip-ID: 8086:24f3 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 465.76 GiB used: 281.15 GiB (60.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: MBR
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 79.1 GiB size: 77.31 GiB (97.73%) used: 42.52 GiB (55.0%)
fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A
uuid: 96927b75-2787-47cf-a626-697ee8748302
ID-2: /boot raw-size: 512 MiB size: 487.2 MiB (95.16%)
used: 112.6 MiB (23.1%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: ddfb8dc4-5e68-4366-9ad6-dc6e0cf2ac06
ID-3: /home raw-size: 365.65 GiB size: 358.84 GiB (98.14%)
used: 238.53 GiB (66.5%) fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: N/A
uuid: 579cfd47-45cd-42d0-bf5c-d52775b7bbad
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 20.51 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: f2b7b667-be29-436e-ad43-41d86178643c
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-10:3 info: Chicony Integrated Camera type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 04f2:b52c class-ID: 0e02 serial: <filter>
Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 47.0 C pch: 40.0 C mobo: N/A
Fan Speeds (RPM): fan-1: 0
Info:
Processes: 227 Uptime: 3m wakeups: 1 Init: systemd v: 250 tool: systemctl
Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 1478 pacman: 1448 lib: 367
flatpak: 8 snap: 22 Shell: Zsh v: 5.8 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.12