Hi.

Could you please try the following:

 * Create a file /etc/pm/sleep.d/50_custom with the following content:

--8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<--
#!/bin/sh

# Action script to shutdown modules before suspending.
# before a hibernate 
#
# Copyright: Copyright (c) 2009 Ernesto Revilla
# License:   GPL-2
#

PATH=/sbin:/usr/sbin:/bin:/usr/bin

case "${1}" in
        suspend|suspend_hybrid|hibernate)
            rmmod uvcvideo
            rmmod usbhid
            rmmod psmouse
                ;;

        resume|thaw)
            modprobe uvcvideo
            modprobe usbhid
            modprobe psmouse
                ;;

--8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<--

Regards

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

Title:
  [Oneiric] [Dell XPS M1330] Gnome session dies at resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/882956/+subscriptions

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

Reply via email to