From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 27 16:11:06 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 189DD16A4CE for ; Tue, 27 Apr 2004 16:11:06 -0700 (PDT) Received: from gilmore.nas.nasa.gov (gilmore.nas.nasa.gov [129.99.33.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01AAD43D53 for ; Tue, 27 Apr 2004 16:11:06 -0700 (PDT) (envelope-from tweten@nas.nasa.gov) Received: from gilmore.nas.nasa.gov (IDENT:iH9eXq1hANx/MJYM1uegzEoNFFOiDzwN@localhost.nas.nasa.gov [127.0.0.1]) i3RNB5NL000393; Tue, 27 Apr 2004 16:11:05 -0700 (PDT) (envelope-from tweten@gilmore.nas.nasa.gov) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Tobias Roth From: Dave Tweten Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 27 Apr 2004 16:11:05 -0700 Message-ID: <392.1083107465@gilmore.nas.nasa.gov> Sender: tweten@nas.nasa.gov cc: James Snow cc: freebsd-mobile@freebsd.org Subject: Re: XFree86 & ACPI don't like each other? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David.E.Tweten@nasa.gov List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 23:11:06 -0000 roth@iam.unibe.ch said: >you do realize that this [F1 to F12] console switch [after wake-up >from hibernation] can be automated? I had read that but hadn't been successful in a short fit of trying to make it work. Your e-mail inspired me to try again, this time successfully. My previous problem was that the vidcontrol man page didn't communicate to me that the argument to "-s" is the function key number you want, not the device number. The man page also didn't say anything about redirecting standard input, and your use of /dev/ttyv0 didn't make sense to me (why the same device both times?). Thanks to your inspiration and a little mailing list research, vidcontrol -s 1 < /dev/console before hibernation and vidcontrol -s 12 < /dev/console afterward has eliminated the need to unfreeze XFree86 manually. Thanks. -- M/S 258-5 |1024-bit PGP fingerprint:|tweten@nas.nasa.gov NASA Ames Research Center | 41 B0 89 0A 8F 94 6C 59| (650) 604-4416 Moffett Field, CA 94035-1000| 7C 80 10 20 25 C7 2F E6|FAX: (650) 604-4377 Not an official NASA position. You can't even be certain who sent this!