Luke Scharf: You can create a file /usr/lib/pm-utils/sleep.d/02touchpad
with the following content:
---- CUT HERE ----
#!/bin/bash
if [ -e '/usr/lib/pm-utils/functions' ];then
. /usr/lib/pm-utils/functions
fi
suspend_bcm5974() { /sbin/rmmod bcm5974; }
resume_bcm5974() { /sbin/modprobe bcm5974; }
case "$1" in
suspend|hibernate)
suspend_bcm5974;
;;
thaw|resume)
resume_bcm5974;
;;
*)
;;
esac
exit $?
---- CUT HERE ----
Make it executable and it will remove/load the module for the touchpad. That's
how I did it on my MacBookPro.
This file should better be in /etc/pm/sleep.d/ actually, you can give it a try.
I think a file in /etc/pm/config.d/ with a line: SUSPEND_MODULES="bcm5974"
would also do the job.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/769435
Title:
MacBook Pro touchpad stops working after resume from hibernation
(natty)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mactel-support/+bug/769435/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs