Dear community,
Closing my ThinkPad X220’s lid doesn’t put it into suspend as it’s normally intended.
I tried tweaking xfce-power-management options and lines mentioning LID in logind.conf
, with negative results.
I also used cat /proc/acpi/button/lid/LID/state
and I’ve diagnosed that my LID is always open.
Specs:
inxi
System:
Kernel: 5.15.74-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=2b631092-0985-499b-94f2-72d85451883a rw quiet apparmor=1
security=apparmor resume=UUID=beecc709-d951-4d54-b77c-6c9d77e0fa17
udev.log_priority=3
Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: xfce4-panel wm: xfwm
v: 4.16.1 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 429135G v: ThinkPad X220
serial: Chassis: type: 10 serial:
Mobo: LENOVO model: 429135G serial:
UEFI-[Legacy]: LENOVO v: 8DET47WW (1.17 ) date: 05/31/2011
Battery:
ID-1: BAT0 charge: 83.4 Wh (99.8%) condition: 83.6/94.0 Wh (89.0%)
volts: 12.4 min: 10.8 model: SANYO 45N1175 type: Li-ion serial:
status: not charging
Memory:
RAM: total: 7.65 GiB used: 2.65 GiB (34.6%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i7-2620M bits: 64 type: MT MCP arch: Sandy Bridge
gen: core 2 level: v2 built: 2010-12 process: Intel 32nm family: 6
model-id: 0x2A (42) stepping: 7 microcode: 0x2F
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: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 829 high: 858 min/max: 800/3400 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 827 2: 836 3: 797 4: 858
bogomips: 21536
Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb est flush_l1d
fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce md_clear mmx monitor msr mtrr
nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni
popcnt pse pse36 pti pts rdtscp sep smx ssbd sse sse2 sse4_1 sse4_2 ssse3
stibp syscall tm tm2 tsc tsc_deadline_timer vme x2apic xsave xsaveopt
xtopology xtpr
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX unsupported
Type: l1tf mitigation: PTE Inversion
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: Lenovo driver: i915 v: kernel arch: Gen-6 process: Intel 32nm
built: 2011 ports: active: LVDS-1 empty: DP-1, DP-2, DP-3, HDMI-A-1,
HDMI-A-2, HDMI-A-3, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0126 class-ID: 0300
Device-2: Acer ThinkPad Integrated Camera type: USB driver: uvcvideo
bus-ID: 1-1.6:5 chip-ID: 5986:02d2 class-ID: 0e02
Display: x11 server: X Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
loaded: modesetting alternate: fbdev,vesa dri: crocus gpu: i915
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
s-diag: 414mm (16.31")
Monitor-1: LVDS-1 model: LG Display 0x03a3 built: 2012 res: 1366x768 hz: 60
dpi: 125 gamma: 1.2 size: 277x156mm (10.91x6.14") diag: 318mm (12.5")
ratio: 16:9 modes: 1366x768
API: OpenGL Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:1c20 class-ID: 0403
Sound API: ALSA v: k5.15.74-3-MANJARO running: yes
Sound Server-1: JACK v: 1.9.21 running: no
Sound Server-2: PulseAudio v: 16.1 running: yes
Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
Device-1: Intel 82579LM Gigabit Network vendor: Lenovo ThinkPad T520
driver: e1000e v: kernel port: 5060 bus-ID: 00:19.0 chip-ID: 8086:1502
class-ID: 0200
IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac:
IP v4: type: dynamic noprefixroute scope: global
broadcast:
IP v6: type: dynamic noprefixroute scope: global
IP v6: type: noprefixroute scope: link
Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
chip-ID: 8086:0085 class-ID: 0280
IF: wlp3s0 state: down mac:
IF-ID-1: wwp0s29u1u4i6 state: down mac:
WAN IP:
Bluetooth:
Device-1: Broadcom BCM2045B (BDC-2.1) type: USB driver: btusb v: 0.8
bus-ID: 1-1.4:4 chip-ID: 0a5c:217f class-ID: fe01 serial:
Report: rfkill ID: hci0 rfk-id: 5 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 238.47 GiB used: 79.96 GiB (33.5%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SSDPR-CX400-256-G2
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: rev: 72 scheme: MBR
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 229.67 GiB size: 225 GiB (97.97%) used: 79.95 GiB (35.5%)
fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 2b631092-0985-499b-94f2-72d85451883a
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.8 GiB used: 14 MiB (0.2%) priority: -2
dev: /dev/sda2 maj-min: 8:2 label: swap
uuid: beecc709-d951-4d54-b77c-6c9d77e0fa17
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Full speed or root hub ports: 3 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900
Device-1: 1-1.3:7 info: Upek Biometric Touchchip/Touchstrip Fingerprint
Sensor type: driver: N/A interfaces: 1 rev: 1.0
speed: 12 Mb/s power: 100mA chip-ID: 147e:2016 class-ID: 0000
Device-2: 1-1.4:4 info: Broadcom BCM2045B (BDC-2.1) type: Bluetooth
driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 0a5c:217f
class-ID: fe01 serial:
Device-3: 1-1.6:5 info: Acer ThinkPad Integrated Camera type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 200mA
chip-ID: 5986:02d2 class-ID: 0e02
Hub-3: 2-0:1 info: Full speed or root hub ports: 3 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900
Device-1: 2-1.4:3 info: Ericsson Business Mobile Networks BV F5521gw
type: Communication,Abstract (modem),CDC-Data driver: cdc_acm,cdc_ncm,cdc_wdm
interfaces: 11 rev: 2.0 speed: 480 Mb/s chip-ID: 0bdb:1911 class-ID: 0202
serial:
Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-6: 4-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): cpu: 3000
Info:
Processes: 207 Uptime: 1h 40m wakeups: 3 Init: systemd v: 251
default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
Packages: pm: pacman pkgs: 1072 libs: 345 tools: pamac,pikaur pm: flatpak
pkgs: 0 Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.23
/etc/systemd/logind.conf
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
I checked a lot of threads about this problem and nothing came close to a solution.
I’d like to mention that I use Arch on another X220 (kernel 6.0.6, XFCE too) and I don’t have this problem.
Thank you for your consideration.
nep³