Suspend/Resume with linux laptops

Suspend/Resume can be tricky, since it is not always apparent what is not working. With a Dell Latitude D531 and Ubuntu Gutsy 7.10 it simply took installing the latest ATI video driver from ATI’s web site. For a Dell Precision M4300 and RHEL 5.1, it took installing the latest Nvidia driver. The wifi (Intel 3945) driver needs to be reset after resuming. I adapted a script I found and connected it to a launcher on the panel.

echo "Resetting Network"
sudo /etc/init.d/NetworkManagerDispatcher stop
sleep 5
sudo /etc/init.d/NetworkManager stop
sleep 5
sudo /etc/init.d/network stop
sleep 5
sudo /etc/init.d/ipw3945d stop
sleep 35
sudo /etc/init.d/ipw3945d start
sleep 5
sudo /etc/init.d/network start
sleep 5
sudo /etc/init.d/NetworkManager start
sleep 5
sudo /etc/init.d/NetworkManagerDispatcher start

Leave a Reply

You must be logged in to post a comment.