i8042 Thaw Fix for Ubuntu (and possibly others)

This one has been plaguing me since I installed Ubuntu Budgie. I have a Lenovo I don’t know what the fuck and it happens to have a track pad of model “i8042”, which is a real fucking downer because it’s not supported super-well. I’ve added kernel command line options from previous suggestions such as “i8042.dumbkbd” or some such, but that didn’t really pan out for me. It still froze and freaked the fuck out on thaw. Or at least the keyboard quit responding completely.

So I’ll share something with you that did work. That still works. That keeps me from throwing this machine against the wall.

Copy this and paste it into a bash script:

case "$1" in
    hibernate|suspend)
        echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind
    ;;
    thaw|resume)
        echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind
    ;;
esac

Name it something you can remember. The original author whom I can’t remember put this glorious fix together named it 01i8042. Next you’ll want to chmod +x 01i8042. After that, move it into /etc/pm/sleep.d.

Boom. Shit’s fucking FIXED.

Man that was a bitch. It’s literally years old. Still an issue.

2018-03-26 07:30 pm | Linux, Ubuntu, Debian, i8042, thaw, crash
blog comments powered by Disqus