Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 22:49:14 -0500
From:      The Babbler <bts@babbleon.org>
To:        freebsd-mobile@freebsd.org
Subject:   switching away from X?
Message-ID:  <3A778B39.EA7D6200@babbleon.org>

next in thread | raw e-mail | index | archive | help

It turns out that I need to do the same thing under FreeBSD that I did
under Linux for my Dell i7500; that is, the suspend works fine if I'm at
a console but freezes the box if I'm under X.  So I need to switch to a
console if X is currently on the display.  (It's fine for X to be
*running* as long as it doesn't have the *display*.)

Under Linux, this was with the "chvt" but FreeBSD doesn't seem to have
one of those.  I've been sporting about it--I've searched
www.freebsd.org and the mailing lists archives and altavista and google,
and I've come up empty-handed.

So how do I switch to a console other than by hitting CTL-ALT-Fn?


PS: And since I gotta post anyway, what gets auto-run when I suspend?  
I notice that the apmd.conf file has SUSPENDREQs go to rc.suspend, so I
can just add whatever command there.

But the USERSUSPENDREQ doesn't call the file.  But it does do an apm -z
at the end; does that really just trigger the SUSPENDREQ event in turn? 
What is the difference between the two varieties of SUSPENDREQ?

Sorry if I'm missing something here.


-- 
"Brian, the man from babble-on"              bts@babbleon.org
Brian T. Schellenberger                      http://www.babbleon.org
Support http://www.eff.org.                  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.


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?3A778B39.EA7D6200>