I need to revise my previous statement. This fault is also happening with 7.0.0-31-generic just less frequently. I thinking now that modern kernels can somehow not work with the old acpi implementation of the x301. I used to run ubuntu for the last 10 years on this laptop with no problems and I updated recently to 26.04 (which has this problem). I am running the latest bios (3.16) but this hardware is old and lenovo will probably not fix it.
I created this script to fix the problem: cat /usr/lib/systemd/system/disable-cpu1-sleep.service # disable-cpu1-sleep.service # # the thinkpad x301 has maybe some bios bugs that cause problematic ACPI power state transitions # and this systemd script workaround fixes a delay that happens on wake-up from suspend to ram # # Install: # cp disable-cpu1-sleep.service /lib/systemd/system/disable-cpu1-sleep.service # systemctl enable disable-cpu1-sleep.service # systemctl start disable-cpu1-sleep.service # systemctl status disable-cpu1-sleep.service # [Unit] Description=Disable CPU1 before suspend to ram and re-enable it on wake Before=sleep.target StopWhenUnneeded=yes [Service] Type=oneshot # the RemainAfterExit is a trick to make systemd think that the service is running while the computer is going to sleep # this causes "systemctl status disable-cpu1-sleep.service" to show "Active: inactive (dead)" but that is not a big deal RemainAfterExit=yes ExecStart=/bin/sh -c 'echo 0 > /sys/devices/system/cpu/cpu1/online' ExecStop=/bin/sh -c 'echo 1 > /sys/devices/system/cpu/cpu1/online' [Install] WantedBy=sleep.target # end of disable-cpu1-sleep.service -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2170448 Title: Slow S3 resume (10-45 s black screen) on MacBookAir5,2: secondary CPU bring-up stalls; 7.0.0-31 unaffected, 7.0.0-28/-30/-38 affected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-7.0/+bug/2170448/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
