View Single Post
  (#24) Old
craptree craptree is offline
Junior Member
Posts: 1
Join Date: Mar 2010
Default 03-02-2010, 04:11 PM

mmcblk0p1 appliers only to sd cards. I think memory sticks go to mmcblk0

A better option is to unmount them all with
umount /dev/mmcblk*

]Rather then edit the pm-suspend script directly, it is much better to add the required commands to a file in /etc/pm/sleep.d. That way we don't screw with Ubuntus core scripts.

Heres a copy of my /etc/pm/sleep.d/10sdcard file that unmounts upon hibernation and suspension.


case $1 in
	umount /dev/mmcblk*
#    thaw|resume)
#        ;;    
    *)  echo $1 
exit 0
Dont forget to make the file executable with
chmod +x 10sdcard
Reply With Quote