Solved resume problem with thinkpad x250

Hello!
I installed FreeBSD on a thinkpad x250, everythink works correctly but resume. when I run acpiconf -s 3 , the machine goes to suspend (at least power light and thinklight blinking slowly) but opening the lid, pressing a key in keyboard or power button does not make machine wake up!

I tried the following sysctls without success:
Code:
kern.vt.suspendswitch=0
kern.vt.deadtimer=60
hw.usb.no_suspend_wait=1
hw.acpi.lid_switch_state=S3

I tried again with and without i915kms, acpi_video and acpi_ibm modules, but nothing changed.
I tried debug.acpi.resume_beep but I not heard any beep sound. (may be my laptop can't make beep sound from its speakers?)

I disabled fingerprint reader from uefi setup.

Code:
% uname -a
FreeBSD genesis 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
% freebsd-version -kru
14.2-RELEASE-p1
14.2-RELEASE-p1
14.2-RELEASE-p3
 
I run 14.2-quarterlx on a x250 and usually wake it up like this:
  1. send it to suspend with $ acpiconf -s 3 or open lid,
  2. switch on keyboard light (Fn+Space),
  3. wait several seconds until keyboard light switches off again,
  4. use the machine.
If curious look into /boot/loader.conf, /etc/rc.conf and /etc/sysctl.conf at https://codeberg.org/mro/x250-freebsd.
 
Hi mro ! I disabled security chip (looks like TPM chip) from uefi setup and now machine wakes up.
ha, thanks for the hint, that's among the first things I do with machines during setup. Now I know why :-)

Edit: do you know a tool to dump the UEFI/BIOS settings?
 
I tried suspend/resume without any special sysctl values (kern.vt.deadtimer hw.usb._no_suspend_wait etc.) I not saw any problem. (In fact I added some sysctls for wakeup from suspend, but the problem was only TPM chip!)
 
  • Like
Reactions: mro
Back
Top