*** This bug is a duplicate of bug 477106 ***
    https://bugs.launchpad.net/bugs/477106

Here is temporary fix: Unmount SDCARD prior to suspend by running a
script in /etc/pm/sleep.d

1- Create the script
Here is the script: (90_unmount_SDCARD)

#!/bin/bash

sdcard_mount_point="/media/SDCARD";

for i in `cat /proc/mounts | cut -d' ' -f2`; do
    if [[ $sdcard_mount_point == $i ]]; then
        umount $sdcard_mount_point;
    fi
done

exit 0;


2- copy this script to /etc/pm/sleep.d

suspend will not work without having to manually unmount before actual
suspend.

It would be great to see this issue fixed though!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/345354

Title:
  [Dell Inc. Latitude D420] suspend/resume failure

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to