From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 30 23:04:25 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org 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 1D64016A41F for ; Sun, 30 Oct 2005 23:04:25 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB0F543D46 for ; Sun, 30 Oct 2005 23:04:24 +0000 (GMT) (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 IBA74465; Sun, 30 Oct 2005 15:04:23 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 2C9325D04; Sun, 30 Oct 2005 15:04:23 -0800 (PST) To: Kaspar Schleiser In-reply-to: Your message of "Sat, 29 Oct 2005 19:05:20 +0200." <4363ABD0.3090205@gmx.de> Date: Sun, 30 Oct 2005 15:04:23 -0800 From: "Kevin Oberman" Message-Id: <20051030230423.2C9325D04@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad X31 ACPI Problems X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 23:04:25 -0000 > Date: Sat, 29 Oct 2005 19:05:20 +0200 > From: Kaspar Schleiser > Sender: owner-freebsd-mobile@freebsd.org > > Hello Everybody! > > I installed FreeBSD 6.0-RC1 on my Thinkpad X31. Installation was pretty > easy, all the hardware worked out of the box or after loading the right > kernel modules. > > Only ACPI is giving me some issues. I spent many hours searching for > information, but couldn't solve the problems. > Perhaps you have some ideas? > > 1. Suspend doesn't turn off the laptop backlight. > I read something about a patched version of acpi_video that uses DPMS to > turn off the screen. Does that work on 6.0-RC1, too? Your best bet is to get radeontoolport from: http://www.init-main.com/radeontoolport.tar.gz Then edit /etc/rc.suspend and /etc/rc.resume to execute it: radeontool light off radeontool light on You might also want to just execute 'radeontool dac off' at boot to turn off the external video if you don't use it. > > 2. In suspend mode, the system drains a lot of battery and the CPU gets > REALLY hot. Nearly burnt the system... > How can I set up the right CPU throtteling? Try to get the system to really suspend as far as possible. hw.pci.do_power_nodriver: 3 hw.pci.do_power_resume: 1 The former defaults to '0' while the latter defaults to '1'. Make sure that hw.acpi.cpu.cx_lowest is C3 by placing the following in /etc/rc.conf: performance_cx_lowest="LOW" economy_cx_lowest="LOW" USB does not suspend well. You may want to remove USB to keep it off. -- 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