From owner-freebsd-mobile@FreeBSD.ORG Thu May 29 15:39:13 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 5AFC737B401 for ; Thu, 29 May 2003 15:39:13 -0700 (PDT) Received: from mail.bredband.no (mail.bredband.no [217.14.1.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7764443FA3 for ; Thu, 29 May 2003 15:39:12 -0700 (PDT) (envelope-from mailingliste@broadpark.no) Received: from enterprise (c-901373d5.020-28-6f736c3.cust.bredband.no [213.115.19.144]) by mail.bredband.no (Postfix) with SMTP id 62E60308F9 for ; Fri, 30 May 2003 00:39:10 +0200 (MEST) Message-ID: <00e301c32633$21be40d0$0400a8c0@orion.local> From: "Marcin Kot" To: References: <20030529151058.D82C85D04@ptavv.es.net> Date: Fri, 30 May 2003 00:39:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: 5.1b2, configuring kernel for Thinkpad x20 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: Thu, 29 May 2003 22:39:13 -0000 Thanks for your reply Kevin :) I just noticed that a new bios is out, version 2.25 dated 29. May. I'll give this new bios a try and also update current and make world. If there is no change, I'll stick with APM. regards Marcin Kot ----- Original Message ----- From: "Kevin Oberman" To: "Marcin Kot" Cc: Sent: Thursday, May 29, 2003 5:10 PM Subject: Re: 5.1b2, configuring kernel for Thinkpad x20 > > From: "Marcin Kot" > > Date: Thu, 29 May 2003 16:35:10 +0200 > > Sender: owner-freebsd-mobile@freebsd.org > > > > Hi, > > > > I have a Thinkpad x20 which is running 5.1-BETA2. I do have som problems > > with the computer booting up at random with the GENERIC kernel, although all > > boot-up options are disabled in the bios. This laptop has latest bios and > > embedded controller software installed. I want to recompile the kernel, are > > there any options I should be aware of to make acpi work correctly? I read > > though that ACPI support is loaded dynamically during boot. After a random > > boot, or after pressing the lid-switch it seems to hang and these messages > > are displayed: > > > > kernel: ACPI-0432: *** Error: Handler for [EmbeddedControl] returned > > AE_ERROR > > kernel: ACPI-1287: *** Error: Method execution failed > > [\_SB_.PCI0.ISA_.EC__.AC__._PSR] (Node 0xc1f54560 > > ), AE_ERROR > > > > I've noticed that there are quite many sysctl settings which are > > acpi-related. > > ACPI and ThinkPads usually don't get along, I'm afraid. The latest > 5-CURRENT has some more patches that might help with this, but you > will probably be much happier with APM. It seems to work quite well, > with a couple of caveats. > > 1. Edit /boot/device.hints: > Change hint.apm.0.disabled="1" to hint.apm.0.disabled="0" > Add hint.acpi.disabled="1" > > 2. Edit rc.conf to add apm_enabled="YES" > > 3. Either add "device apm" to you kernel config or load it at boot time by > adding apm_load="YES" to /boot/loader.conf. > > 4. Get the ps2 utility from IBM. If the system still has Windows, it is > available there (in DOS mode). Otherwise, you can get a floppy image > from IBM and boot that to use ps2. There are MANY power options that may > be configured with ps2. (Quite a bit of other stuff is also configurable > there. ps2 is the only way to configure many BIOS options on the > X20. While the ThinkPad Configuration Utility will allow them to be > configured with Windows, many options are NOT saved to CMOS but are > loaded from the registry when Windows starts.) > > This is optional as the defaults are usually not too bad, but ps2 can be > useful for quite a few things, so it's probably worth having. > > 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 >