In X, the only command switch that works perfectly is no command line
switch. 's2ram -f'

's2ram -f -s'
's2ram -f -p'
's2ram -f -m'
In X mode, these all print output to the xterm window.  The least
intrusive is -m, with:
####
[EMAIL PROTECTED]:~$ sudo s2ram -m -f
Switching from vt7 to vt1
Calling get_mode

Calling set_vbe_mode
Real mode call failed
switching back to vt7
####

In console mode, any command line switch leaves very minor video
attributes on the screen (green fuzz in the top 5th of the screen).
issuing 'clear' to the shell makes this go away.

In console mode, the only switch that does NOT work is 's2ram -f'.
This leaves a black screen but the computer is still active.

Ignore all the other symptoms reported; they're related to running
gnome in runlevel 2.  Not a problem with resuming.

Doug

On 2/4/07, Pavel Machek <[EMAIL PROTECTED]> wrote:
> Hi!
>
> > >(Plain text in conferences, please).
> > >
> > >>    Suspend to RAM (debian "testing" uswsusp 0.3~cvs20060928-6) works
> > >>    without any switches:
> > >>    Linux debdougian 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686
> > >>    GNU/Linux
> > >>    [EMAIL PROTECTED]:/usr/share/doc/uswsusp$ sudo s2ram -i
> > >>    This machine can be identified by:
> > >>        sys_vendor   = "TOSHIBA"
> > >>        sys_product  = "Satellite M50"
> > >>        sys_version  = "PSM50E-02T01GEN"
> > >>        bios_version = "V2.10"
> > >>    See [1]http://en.opensuse.org/S2ram for details.
> > >>    If you report a problem, please include the complete output above.
> > >>    #########
> > >>    Thanks, guys.  No need to reply unless you need more information; I
> > >>    hope this is helpful.
> > >
> > >Does it work properly both inside X and on text console?
>
> >
> > Works fine within X; does NOT work in single user mode on Debian.
> > Upon resume in single user, I got a black screen.  I was able to type
> > 'startx' and got a graphical login screen with the wrong screen
> > resolution; trackpad didn't work.  Then a dialog mentioning that dbus
> > wasn't running.  Ctrl-Alt-Del to reboot and try again; dmesg errors
> > associated with the swap partition.
>
> Okay, it would be neat if you found out options that work both in X
> and text mode. If it is impossible, ping us and we'll whitelist option
> that works at least in X, but...
>                                                                         Pavel
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) 
> http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>


-- 
Douglas Held
[EMAIL PROTECTED]
mobile: 07986 527654
skype: douglasheld
skype: (415) 240-4685

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to