On 2020-06-07, Switch 1024 <[email protected]> wrote: > Hi, > > I have a Ultimate Hacking Keyboard [1] and it seems to prevent my > lenovo X1 Carbon 4th gen. from suspending and hibernating. > > Sometimes it works, but more often than not, the power led flashes > rapidly, the displays turn off, hdmi cuts out, the fan starts up and > thats it.
Not entirely dissimilar to what happens most of the time when you run halt/reboot on an x260. > after quite some time i found that I can make the machine reliable > suspend if I disconnect the usb keyboard before executing zzz. It's probably worth writing this up for bugs@ (at least include dmesg and lsusb -v). Not sure if anyone will have an idea what to do, but there's a higher chance of it being seen by someone with the right knowledge there than here on misc@. > I am wondering if there is a command with which I can poweroff the > keyboard in /etc/apm/suspend? There isn't. Maybe you could at least sleep until the keyboard is unplugged though? while usbdevs | grep "somestring"; do sleep 1; done

