[ltp] "slow" display on T42+Debian+X11 after resume

Peter linux-thinkpad@linux-thinkpad.org
Wed, 05 Jan 2005 19:50:28 -0600


Hi all,

I have a T42 with Debian Sarge and a 2.6.9 kernel. I followed mostly 
http://www.stanford.edu/~sanjiv/thinkpad/thinkpad.html .
As mentioned there, the display gets "slow" after resuming, so one needs 
the fix_X.sh script. For some reason, I still get the slow display 
although the script is executed. Did I miss something?
Below the mail is the fix_X script and my /var/log/acpid output for 
standby/resume.

"/tmp/verbose" contains lines like:
/usr/X11R6/bin/xauth: (stdin):1:  unknown command "/usr/X11R6/bin/xauth:"
I don't really know what this script is doing anyway... but reading 
quite some webpages it seems that it should work fine...
Let me know if I should give more information.

Thanks in advance,
Peter


=======

SWSUSP_LEAVE_X_BEFORE_SUSPEND="nvidia"
VERBOSE="/tmp/verbose"

SwitchToX() {
    if [ "$SWSUSP_LEAVE_X_BEFORE_SUSPEND" = "nvidia" ]; then
        export XAUTHORITY=/tmp/.Xauthority-swsusp-fake-x-server
        export HOME=/dev/shm
        /usr/X11R6/bin/xauth 2> $VERBOSE 1> $VERBOSE < $VERBOSE 1> $VERBOSE
        fi
        /usr/X11R6/bin/xauth 2> $VERBOSE 1> $VERBOSE < $VERBOSE

    # if fgconsole is available, the original VT will be stored in this var
    if [ "$ORIGINAL_VT" != "" ]; then
        /usr/bin/chvt "$ORIGINAL_VT"
    else
        echo "Original virtual terminal not memorized (trying 7)"
        /usr/bin/chvt 7
#        chvt 2
    fi

    return $?
}

SwitchToX


-----------------------

INITIATING STANDBY .......
Stopping hotplug subsystem:
   input
   input    [success]
   isapnp
   isapnp   [success]
   net
   net      [success]
   pci
   pci      [success]
   usb
   usb      [success]
done
RESUMING FROM RAM ........LOADING MODULES
Starting hotplug subsystem:
   input
FIXING XSERVER.... PLEASE WAIT
Original virtual terminal not memorized (trying 7)
[Wed Jan  5 18:19:28 2005] END HANDLER MESSAGES
[Wed Jan  5 18:19:28 2005] action exited with status 0
[Wed Jan  5 18:19:28 2005] completed event "button/lid LID 00000080 
00000003"
   input    [success]
   isapnp
   isapnp   [success]
   net
   net      [success]
   pci
   pci      [success]
   usb
   usb      [success]
done
-----------------------