From owner-freebsd-mobile@FreeBSD.ORG Sun Aug 10 21:15:46 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 2851F37B436 for ; Sun, 10 Aug 2003 21:15:23 -0700 (PDT) Received: from infidyne.com (infidyne.com [212.112.174.178]) by mx1.FreeBSD.org (Postfix) with SMTP id 5AC67443FC for ; Sun, 10 Aug 2003 18:39:18 -0700 (PDT) (envelope-from peter.schuller@infidyne.com) Received: (qmail 25679 invoked by uid 1000); 11 Aug 2003 01:39:21 -0000 From: "Peter Schuller" Date: Mon, 11 Aug 2003 03:39:21 +0200 To: freebsd-mobile@freebsd.org Message-ID: <20030811013921.GB24952@infidyne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Extra battery causes hangs (T40p, FreeBSD 5.1/CURRENT) 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: Mon, 11 Aug 2003 04:15:46 -0000 Hello, I now have only two problems left with running FreeBSD on an IBM ThinkPad T40p. One of them I'll probably post about in the future because I still have things to try, but as for the other problem... The laptop comes with one primary battery and, as an opion, an extra battery that fits into the "Ultra Bay" (replacing the CD-ROM). As I realized after some time, the presence of the extra battery causes hangs. When I have the CD-ROM in the bay instead of the extra battery, there are no such problems. But when the battery is in, the machine hangs totally when: * I Reboot or attempt to halt the machine (sometime before syncing disks). * I open/close the lid. * I toggle the keyboard LED light. * I press the hardware volume controls. * ... and probably when doing other stuff too I assume this has something to do with ACPI events or something simiar coming in when such actions are taken. The question is why it happens with the extra battery but not without it. The "apm" command correctly identifies the extra battery though, and indicators work correctly. ACPI support is loaded as a module, and APM support is disabled (I assume the "apm" command uses ACPI in the abscence of APM?). During boot, the following ACPI related messages appear: acpi0: on motherboard acpi_ec0: port 0x66,0x62 on acpi0 Using $PIR table, 15 entries at 0xc00fdea0 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.USB7._INI] (Node 0xc4010540), AE_AML_REGION_LIMIT acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 ... acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 ... acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% Any ideas? Thanks! -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrival: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org