So to summarize:
- with no special pm hooks, on resume, trackpad touch settings are lost
- with hook to re-enable trackpad settings in place, trackpad works but wireless is disabled
- with trackpad + wireless hook, wireless works but trackpad settings are lost (same as first case)
Hmmm. Interesting. I don't see how the two can be related.
Lets try separating the modules. We'll need two files:
/etc/pm/sleep.d/0000trackpad:
Code:
#!/bin/sh
case "$1" in
resume)
DISPLAY=:0.0 su rhett -c '/usr/bin/synclient TapButton2=2' ;;
esac
exit 0
/etc/pm/sleep.d/50wifi:
Code:
#!/bin/sh
case "$1" in
suspend)
rmmod iwldvm
rmmod iwlwifi
;;
resume)
modprobe iwlwifi
modprobe iwldvm
;;
esac
exit 0
...and make sure that both are executable.
If you don't mind, can you post back /var/log/pm-suspend.log once more and just in case:
Code:
cat /var/log/syslog | grep PM:
Bookmarks