Subject: Fw: Command for switching wscons/resume from hibernation w/X help?
To: None <port-i386@netbsd.org>
From: Daishi Harada <daishi@CS.Berkeley.EDU>
List: port-i386
Date: 04/12/2002 13:27:02
----Next_Part(Fri_Apr_12_13:26:57_2002_559)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resending to port-i386 in hopes of getting a response.
Please note w.r.t VT switching I know about C-A-Fn;
what I want is an actual command (Please see the
message for details).
TIA,
d
----Next_Part(Fri_Apr_12_13:26:57_2002_559)--
Content-Type: Message/Rfc822
Content-Transfer-Encoding: 7bit
From netbsd-help-owner-daishi=cs.berkeley.edu@netbsd.org Sat Apr 6 03:04:22 2002
by mailspool.CS.Berkeley.EDU (8.9.3/) with ESMTP id DAA04826
for <daishi@mailspool.CS.Berkeley.EDU>; Sat, 6 Apr 2002 03:04:22 -0800 (PST)
by relay1.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id DAA14600
for <daishi@mailspool.CS.Berkeley.EDU>; Sat, 6 Apr 2002 03:04:22 -0800 (PST)
by EECS.Berkeley.EDU (8.9.3/8.9.3) with SMTP id DAA14592
for <daishi@cs.berkeley.edu>; Sat, 6 Apr 2002 03:04:21 -0800 (PST)
by mail.netbsd.org with SMTP; 6 Apr 2002 11:04:04 -0000
by rugs.cs.berkeley.edu (8.9.3/8.9.3) with ESMTP id DAA12876
for <netbsd-help@netbsd.org>; Sat, 6 Apr 2002 03:04:03 -0800
To: netbsd-help@netbsd.org
Subject: Command for switching wscons/resume from hibernation w/X help?
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20020406030403T.daishi@CS.Berkeley.EDU>
Date: Sat, 06 Apr 2002 03:04:03 -0800
From: Daishi Harada <daishi@cs.berkeley.edu>
Lines: 25
Sender: netbsd-help-owner@netbsd.org
Hi,
I have hibernation mostly working on a Thinkpad X20 under 1.5.3_RC1
using GENERIC_LAPTOP. The one problem that I have, however, is that on
resuming from hibernation, if I was in X, the video is messed up -
presumably the hibernation process doesn't properly save/reload the
video ram.
The simple but tedious fix when resuming is to always switch to a
console, and switch back to X. I was hoping to automate this process
via the /etc/apm scripts, but I can't seem to find a command which
will perform this switch for me. The Linux command for what I want is
chvt - is there a corresponding command in NetBSD?
Alternatively, would anyone have suggestions on how to refresh the
video memory on resuming from hibernation?
Also, this is somewhat orthogonal to the main issue, but I noticed
that "suspend" and "hibernation" (in Thinkpad speak) both activate
/etc/apm/suspend; is there a way to distinguish between the two
requests?
Thanks,
d
----Next_Part(Fri_Apr_12_13:26:57_2002_559)----