Comment 33 for bug 424877

Revision history for this message
Matt Grice (mattgrice) wrote : Re: [Bug 424877] Re: [Acer Aspire one] suspend/resume failure

2009/11/4 Richard Mathie <email address hidden>:
> i added a hook in /ect/pm/sleep.d/11_mmc_mounts
>
> #!/bin/sh
> # mmcard must be mounted or unmounted before suspend | hibinate
> case "$1" in
>        hibernate|suspend)
>                umount /dev/mmcblk0p1
>                ;;
>        thaw|resume)
>                mount /dev/mmcblk0p1
>                ;;
>        *) exit 0
>                ;;
> esac
>
> chmod +x /ect/pm/sleep.d/11_mmc_mounts
>
> end of problem, though perhaps i should be smarter about running through
> mm cards, and cards which wont unmount

Fixed - this works for me.

Many thanks.

Matt