https://forums.lenovo.com/t5/Other-Linu ... =1#5437960
TL;DR: The Yoga, and several other Lenovo Thinkpads don't properly implement S3 in bios, because "reasons nobody knows". I have it actually working, but don't know enough about the power subsystem to know why it works.
The process is in my post on the Lenovo forum, but it's basically this
using a root terminal, change mem_sleep to s2idle, put it to sleep, wake it up, then change mem_sleep to deep, then put it to sleep again.
If you don't follow this procedure, the laptop goes to sleep for 1 second, and then wakes right back up. s2Idle and shallow sleep modes do not wake back up after 1 second, only S3.
My system is currently on 11.0 (installed today) but I've tried this on various versions of Mint and Debian.
Code: Select all
root@debian:/home/chance# echo s2idle > /sys/power/mem_sleep
root@debian:/home/chance# echo mem > /sys/power/state
(wake up from s2Idle or shallow here)
root@debian:/home/chance# echo deep > /sys/power/mem_sleep
root@debian:/home/chance# echo mem > /sys/power/state
Code: Select all
System:
Kernel: 5.10.0-8-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
Desktop: Cinnamon 4.8.6 Distro: Debian GNU/Linux 11 (bullseye)
Machine:
Type: Laptop System: LENOVO product: 20CD00B1US v: ThinkPad S1 Yoga
serial: <filter>
Mobo: LENOVO model: 20CD00B1US v: SDK0E50510 Pro serial: <filter>
UEFI: LENOVO v: B0ET47WW (1.34 ) date: 03/24/2020
Battery:
ID-1: BAT0 charge: 44.2 Wh condition: 44.2/47.1 Wh (94%)
model: SONY 45N1705 status: Full
CPU:
Info: Dual Core model: Intel Core i7-4600U bits: 64 type: MT MCP
arch: Haswell rev: 1 L2 cache: 4 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 21549
Speed: 798 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 798 2: 798
3: 798 4: 798
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo
driver: i915 v: kernel bus ID: 00:02.0
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
bus ID: 2-6:4
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2)
v: 4.5 Mesa 20.3.5 direct render: Yes
Audio:
Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 00:03.0
Device-2: Intel 8 Series HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 00:1b.0
Sound Server: ALSA v: k5.10.0-8-amd64
Network:
Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel port: efa0
bus ID: 04:00.0
IF: wlp4s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
v: 0.8 bus ID: 2-4:2
Report: ID: hci0 state: up running bt-v: 2.1 lmp-v: 4.0 address: <filter>
Drives:
Local Storage: total: 238.47 GiB used: 5.62 GiB (2.4%)
ID-1: /dev/sda vendor: Samsung model: MZ7TE256HMHP-000L7 size: 238.47 GiB
Partition:
ID-1: / size: 232.24 GiB used: 5.54 GiB (2.4%) fs: ext4 dev: /dev/sda2
ID-2: /boot/efi size: 511 MiB used: 75.7 MiB (14.8%) fs: vfat
dev: /dev/sda1
Swap:
ID-1: swap-1 type: partition size: 977 MiB used: 0 KiB (0.0%)
dev: /dev/sda3
Sensors:
System Temperatures: cpu: 47.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0
Info:
Processes: 188 Uptime: 38m Memory: 7.66 GiB used: 1.99 GiB (25.9%)
Init: systemd runlevel: 5 Compilers: gcc: 10.2.1 Packages: 1793
Shell: Bash v: 5.1.4 inxi: 3.3.01