From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 21 20:13:53 2003 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 3042616A4B3 for ; Tue, 21 Oct 2003 20:13:53 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62F3B43FB1 for ; Tue, 21 Oct 2003 20:13:52 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Tue, 21 Oct 2003 20:13:50 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id EF0B55D07; Tue, 21 Oct 2003 20:13:49 -0700 (PDT) To: Guy Middleton In-Reply-To: Message from Guy Middleton <20031022030027.GA12641@chaos.obstruction.com> Date: Tue, 21 Oct 2003 20:13:49 -0700 From: "Kevin Oberman" Message-Id: <20031022031349.EF0B55D07@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: apm problem on Thinkpad T21, 4.8-RELEASE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 03:13:53 -0000 > Date: Tue, 21 Oct 2003 23:00:27 -0400 > From: Guy Middleton > Sender: owner-freebsd-mobile@freebsd.org > > > --LZvS9be/3tNcYl/X > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > I have 4.8-RELEASE on a Thinkpad T21, dual boot with W2K. When I close the > lid, it goes into suspend state (which I don't want). > > Is there some way to disable this? > > I tried to find a BIOS setting for this, no luck. It works as I want when > running W2K. The problem is that Windows sets BIOS dynamically from the registry at boot time. That's why the Windows setting is not seen from FreeBSD. To change this in 4.8, boot Windows, bring up a command window, and use the ps2 command to modify the BIOS settings in CMOS memory. Those will "stick" and work for FreeBSD. Try 'ps2 ?' for help. I don't remember the parameter that needs changing, but it was not hard to find. You can do 'ps2 ? PARAM' to get details on each parameter. Many can be useful with FreeBSD. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634