ThinkPad T420 (Intel graphics) will not work 14.2 sleep mode

From: Doug Baggett <doug.baggett_at_gmail.com>
Date: Sat, 02 Aug 2025 13:10:00 UTC
Any assistance with this would be greatly appreciated!

I recently decided to give FreeBSD 14.2 a try on an old ThinkPad, figuring
that, given its age and its popularity, it would be well supported. I was
able to install FreeBSD 14.2 with a ZFS mirror and KDE; however, I'm
experiencing issues with sleep mode and I'm not sure where to go from here.

When I close the lid, the laptop does not enter sleep mode (the sleep
indicator light on the lid does not turn on). Strangely, when I open the
lid, the system then enters sleep mode with the lid open. If I press the
power button, it resumes from sleep and SDDM briefly displays the login
screen, but then the system immediately goes to sleep again. Pressing the
power button a second time brings it out of sleep, and the SDDM login
screen appears as expected.

I’ve uploaded a very short video to file.io (expires after a week) which
shows what is going on:

https://limewire.com/d/sw71h#MsOONDYUUA

Is this the right mailing list? Or should I post over in ACPI?

Here is my `/etc/rc.conf`:

```
hostname="Think-BSD"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
moused_nondefault_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
dbus_enable="YES"
sddm_enable="YES"
consolekit_enable="YES"
kld_list="i915kms"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
```

And my `/etc/sysctl.conf`:

```
vfs.zfs.min_auto_ashift=12
hw.acpi.lid_switch_state=S3
hw.usb.no_suspend_wait=1
hw.pci.do_power_suspend=0
hw.pci.do_power_nodriver=3
# hw.acpi.reset_video=1
```
I had to disable the hardware video reset option, as enabling it completely
broke the system.

Thanks!