Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jul 2005 10:29:24 -0400
From:      Martin Cracauer <cracauer@cons.org>
To:        Tobias Roth <roth@iam.unibe.ch>
Cc:        Martin Cracauer <cracauer@cons.org>, mobile@freebsd.org
Subject:   Re: ACPI Sleep on Thinkpad R40, wakeup fails for X11/radeon
Message-ID:  <20050701102924.A91827@cons.org>
In-Reply-To: <20050630223414.GA24675@droopy.unibe.ch>; from roth@iam.unibe.ch on Fri, Jul 01, 2005 at 12:34:14AM %2B0200
References:  <20050630120148.A67041@cons.org> <20050630204357.GA24439@droopy.unibe.ch> <20050630175344.A74267@cons.org> <20050630223414.GA24675@droopy.unibe.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > Any ideas how I could fix suspend/resume on this Thinkpad?
> > > 
> > > please make sure that you don't have dri in your x.org / xfree config
> > 
> > I have dri but not using it also fails with graphics corruption and
> > hanging X11 server (not using CPU/syscalls, though).
> > 
> > That failure with no DRI is recoverable, though, X11 restarts fine
> > after killing it.
> 
> then try experimenting with switching from X to a console before
> suspending and switching back to X after resuming. if it works,
> automate with hw.syscons.sc_no_suspend_vtswitch

It works when switching before and after the suspension.

sysctl hw.syscons.sc_no_suspend_vtswitch was 0 for the non-working
case.  Setting it to 1 does not do quite the right thing.  After
waking uk to first shows an intact X11 screen but then switches to a
blankc screen with a cursor, then to just a blank screen.  Afterwards
you can Control-Alt-F9 into the X11 server, but only if you
Control-Alt-F8ed into a text tty first.

Anyway, since I can run a second X11 server for the case that I need
DRI and don't have to shut down my main one that is actually pretty
close to a satisfactory solution.

Now to getting suspend-to-disk working.  I guess i shouldn't just have
allocated all disk space to FreeBSD so easily :-)

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org>   http://www.cons.org/cracauer/
 No warranty.    This email is probably produced by one of my cats 
 stepping on the keys. No, I don't have an infinite number of cats.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050701102924.A91827>