Date: Wed, 9 Jan 2002 06:56:59 +0100 From: Mark Santcroos <marks@ripe.net> To: Andrew Reid <andrew.reid@plug.cx> Cc: "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>, Ben Lovett <blovett@bsdguru.com>, mobile@FreeBSD.ORG Subject: Re: Dell Inspiron 8k and ATI Rage Mobility 128 Message-ID: <20020109065659.E19405@laptop.6bone.nl> In-Reply-To: <1010551727.81863.4.camel@aviion.alfred.cx>; from andrew.reid@plug.cx on Wed, Jan 09, 2002 at 04:18:46PM %2B1130 References: <20020105190148.A7553@bsdguru.com> <1010288609.25239.28.camel@vpn92.ece.cmu.edu> <20020108190434.A817@bsdguru.com> <1010545933.2595.3.camel@vpn6.ece.cmu.edu> <1010551727.81863.4.camel@aviion.alfred.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 09, 2002 at 04:18:46PM +1130, Andrew Reid wrote: > On Wed, 2002-01-09 at 14:42, Brandon S. Allbery KF8NH wrote: > > > Oh, I can suspend, and I can resume. Sometimes even 2-3 times before > > something locks up during the resume. But if I suspend while X is > > running then I lose the ability to switch to a text session; the screen > > stays in 1600x1200 graphics, changes to strange colors, and gradually > > "fades" to either white or black. > > Yes! I get that too my Toshiba Portege 3110CT. Strangely, even if I > switch to console and then suspend, X still spits. You have to give X > the three-fingered salute and start it up again. Hi, The same here on my 3110. What I understand is that it is a problem of how X3 stores the state in some (display) registers. Note that I also have to be 'carefull' with switching from X to console. However, I haven't seen the 'fading' for quite a while now. > Can anyone comment on whether this is a known bug (and whether or not it > has a fix)? I don't have a fix, but I do have a workaround. Put this in your /etc/apmd.conf (replace the entries if they are already there) and you will be able to suspend from X. (For this to work, you must be able to suspend from the console without problems, which I do) # switch to vty 1 apm_event USERSUSPENDREQ { exec "vidcontrol -s 1 < /dev/console"; exec "sync && sync && sync"; exec "apm -z"; } # switch to vty 12 # replace the 12 with the vty your X is running on apm_event NORMRESUME { exec "vidcontrol -s 12 < /dev/console"; exec "/etc/rc.resume"; } Hope this helps. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109065659.E19405>