Comment 87 for bug 59867

Revision history for this message
bbyak (buliabyak) wrote :

I was having the same problem with PS/2 keyboard - frozen after sleep wakeup - on a desktop computer with Asus M3A78-CM motherboard, Ubuntu 9.04. It got fixed by Anders' script listed above, but without the modprobe lines, only with

#!/bin/sh

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

because I didn't have any problem with the USB tablet I use for mouse. Previous attempts with i8042.reset and i8042.nomux kernel parameters didn't work for me. I suggest that this unbind/bind be made standard in Ubuntu if it's safe.