by virtualwhys · 11mo ago · 0 comments
Closest I've found to an MBP 16" replacement.
Have been running Dell Precision laptops for many years on Linux, not sure about Lenovo build quality and battery life, but hoping it will be decent enough.
Would run Asahi if it supported M4 but looks it's a long ways away...
I’ve had issues with T14s for a couple of gens where the machine wakes up during the closed lid and runs the battery down. I’ve tried the usual troubleshooting.
This has been a non issue on Dell machines for almost 20 years.
Kernel params
## Seems to be needed for suspend to S0 (s2idle) without hanging (only needed on p16s)
acpi_osi="Windows 2022"
# Prevent spurious wakeups from a firmware bug where the EC or SMU generates spurious "heartbeat" interrupts during sleep
acpi.ec_no_wakeup=1
# Prevents dock from waking up laptop right after suspend
usbcore.autosuspend=-1
Other settings (executed with a systemd service) (also only needed on p16s, not on my p14s) # Disable Thunderbolt PCIe root port wakeup (RP09)
echo disabled > /sys/devices/pci0000:00/0000:00:1d.0/power/wakeup || true
# Disable USB XHCI controller wakeup
echo disabled > /sys/devices/pci0000:00/0000:00:14.0/power/wakeup || true
# Disable ACPI wakeup for XHCI and RP09 (toggle if enabled)
grep -q "XHCI.*enabled" /proc/acpi/wakeup && echo XHCI > /proc/acpi/wakeup || true
grep -q "RP09.*enabled" /proc/acpi/wakeup && echo RP09 > /proc/acpi/wakeup || true