Results 1 to 3 of 3

Thread: 13.04 waking from suspend issues

  1. #1
    Join Date
    Mar 2010
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Unhappy 13.04 waking from suspend issues

    Hi,

    I have issues with my pc when waking from suspend, if I just leave the pc 20 mins or so it wakes up fine, however if I leave it an hour or more I just get a flashing cursor on a black screen that needs turning off and restarting to get it to do anything.
    Then when rebooted I get the system problem detected error message - app resume issues. Had similar issues with 12.10 and was hoping the new version would have solved this,

    any advice greatly appreciated!

    cheers

    ps: running a gigabyte B75 m'board, celeron 2.8ghz, graphics - intel onboard, ubuntu 13.04 64 bit,
    Last edited by polar11; May 14th, 2013 at 06:02 PM.

  2. #2
    Join Date
    Dec 2008
    Beans
    15

    Re: 13.04 waking from suspend issues

    I think I have a similar issue. Using Ubuntu GNOME 13.04.

    I get some weird misshaped background that stays indefinitely. Have to hard reboot (power button) to get back to work...

  3. #3
    Join Date
    Oct 2013
    Beans
    1

    Re: 13.04 waking from suspend issues

    Hi guys, I am not sure if this is still of some interest to you, but check this thread:

    http://ubuntuforums.org/showthread.php?p=11926504


    First comment by DragonNinja9, ctrl+alt+F1 and ctrl+alt+F7 worked for me, feel free to try the script once you get tired of pressing :D


    Step 1:
    Open up a terminal and create a scrip file as follows:
    sudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd
    Step 2:
    Copy the entire script below into the file you just created and save it:
    #!/bin/sh
    #inspired by http://art.ubuntuforums.org/showpost...0&postcount=19
    #...and http://thecodecentral.com/2011/01/18...ot-working-bug
    # tidied by tqzzaa :)
    VERSION=1.1
    DEV_LIST=/tmp/usb-dev-list
    DRIVERS_DIR=/sys/bus/pci/drivers
    DRIVERS="ehci xhci" # ehci_hcd, xhci_hcd
    HEX="[[:xdigit:]]"
    MAX_BIND_ATTEMPTS=2
    BIND_WAIT=0.1
    unbindDev() {
    echo -n > $DEV_LIST 2>/dev/null
    for driver in $DRIVERS; do
    DDIR=$DRIVERS_DIR/${driver}_hcd
    for dev in `ls $DDIR 2>/dev/null | egrep "^$HEX+:$HEX+:$HEX"`; do
    echo -n "$dev" > $DDIR/unbind
    echo "$driver $dev" >> $DEV_LIST
    done
    #for bus in $EHCI_BUSES; do
    echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/unbind
    # done
    done
    }
    bindDev() {
    if [ -s $DEV_LIST ]; then
    while read driver dev; do
    DDIR=$DRIVERS_DIR/${driver}_hcd
    #for bus in $EHCI_BUSES; do
    echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/bind
    #done
    while [ $((MAX_BIND_ATTEMPTS)) -gt 0 ]; do
    echo -n "$dev" > $DDIR/bind
    if [ ! -L "$DDIR/$dev" ]; then
    sleep $BIND_WAIT
    else
    break
    fi
    MAX_BIND_ATTEMPTS=$((MAX_BIND_ATTEMPTS-1))
    done
    done < $DEV_LIST
    fi
    rm $DEV_LIST 2>/dev/null
    chvt 1
    chvt 7
    }
    EHCI_BUSES="0000:00:1a.0 0000:00:1d.0"
    case "$1" in
    hibernate|suspend)
    unbindDev;;
    resume|thaw)
    bindDev;;
    esac
    Step 3:
    Give the script run permissions by typing:
    sudo chmod 755 /etc/pm/sleep.d/20_custom-ehci_hcd
    This script should work or your money back guaranteed (Joking this is open source project so use at own risk :P ), as it forces the graphic card to reboot iself using a good old kick from chvt1 and chvt7 commands which simulate what I used to do manually using Ctrl + Alt + F1 and Ctrl + Alt + F7 to refresh the GUI.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •