Fixing Ubuntu 9.10 Suspend on an Acer Aspire One
Posted by Ben Smith on Fri, Mar 05, 2010 @ 09:40 AM
Everything appeared to be working fine after installing Ubuntu Netbook Remix on my Acer Aspire One...
...then the AAO tried to go into Suspend mode and it decided to lock up and requiring a hard re-boot. After much soul (and Google) searching, I came across the cause and solution. Suspend will not work right if you're using a SDHC card in the left SD slot without doing the following:
- Adjust the linux kernel boot parameters to address an issue with the SD slots
- Open up /etc/default/grub in an editor (I use vi)
- Edit the GRUB_CMDLINE_LINUX_DEFAULT parameter to include pciehp.pciehp_force=1
- Save the file
- Run update-grub2
- Install a new linux-backports-modules-karmic package running the following command in terminal: sudo apt-get install linux-backports-modules-karmic (You'll need to reboot after this is done.)
- Add a script that unmounts/remounts the SD card at the time of system suspension and re-awakening. Here's a link to the Ubuntu help page that contains the unmount/remount script. Create the script file /usr/lib/pm-utils/sleep.d/010_unmount_SD.sh, fill it up with the script provided, and chmod it to 755 per the instructions.
That's it! Suspend will work and it will resume correctly.
Image by Yoppy