For me, the problem went away when I formatted the card as ext3 instead of
FAT.

-Adam


On 2/7/10 1:22 PM, "erlguta" <gonzalomarc...@gmail.com> wrote:

> I can confirm that script at
> https://help.ubuntu.com/community/AspireOne/Ubuntu9.10 works for me too
> in one 'Dell mini 9' and it unmount any SD cards before sleeping:
> 
> # Drop to: /etc/pm/sleep.d
> # Use this script to prevent data loss on mounted MMC/SD
> # cards. It syncs data and umounts all mmcblk devices prior to
> # suspend, and cancels suspend if umounting was not possible
> # (i.e: something locks a file)
> case "${1}" in
>     hibernate|suspend)
>         /bin/sync
>         for drive in $( /bin/ls /dev/mmcblk?p* ); do
>             /bin/umount ${drive} > /dev/null
>             # If umount failed: abort suspend
>             if [ $? -gt 0 ]; then
>             # Test if device keeps mounted. Previous command could fail
>             # (i.e device was not mounted) with a non-stopper
>             # problem for the suspend process.
>             /bin/mount | /bin/grep ${drive}
>             if [ $? -eq 0 ]; then
>                 exit 1
>             fi
>             fi
>         done
>         ;;
> #    resume|thaw)
> ##       Do nothing. All devices will be automatically mounted again.
> #       ;;
> esac
> 
> So the soluttion to all of this duplicated bugs is simple, no?

-- 
[Dell Inc. Inspiron 910] suspend/resume failure [non-free: wl]
https://bugs.launchpad.net/bugs/436729
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to