From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 21 16:24:30 2006 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 5D3BA16A400 for ; Fri, 21 Apr 2006 16:24:30 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0864243D48 for ; Fri, 21 Apr 2006 16:24:29 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Fri, 21 Apr 2006 09:24:24 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 0CEF745041; Fri, 21 Apr 2006 09:24:24 -0700 (PDT) To: "[LoN]Kamikaze" In-reply-to: Your message of "Fri, 21 Apr 2006 09:02:39 +0200." <4448838F.6090901@gmx.de> Date: Fri, 21 Apr 2006 09:24:24 -0700 From: "Kevin Oberman" Message-Id: <20060421162424.0CEF745041@ptavv.es.net> Cc: Gregers Petersen , vittorio , freebsd-mobile@freebsd.org Subject: Re: Activating acpi on a thinkpad R51 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: Fri, 21 Apr 2006 16:24:30 -0000 > Date: Fri, 21 Apr 2006 09:02:39 +0200 > From: "[LoN]Kamikaze" > Sender: owner-freebsd-mobile@freebsd.org > > Gregers Petersen wrote: > > vittorio wrote: > >> I wonder what steps should I take using the battery to make my > >> thinkpad R51 go to stand-by or suspend (by the way, what's the > >> difference between suspend & stand-by?) when I close the lid and what > >> should I do to resume the suspended session? > > > > If you take a quick look through the archives, of the last 3 months, you > > will find a thread which discusses this problem --> there is a patch for > > the agp > > > > http://www.FreeBSD.org/~jhb/patches/agp_cvs.patch > > > > , which after some re-compile business makes it possible to resume from > > suspend + there is also a dpms patch which increases the suspend time > > (battery time). > > > > http://people.freebsd.org/~jhb/patches/acpi_video_dpms.patch > > > > > > I'm myself using a R51 ... > > > > Will this patch ever get into stable? For systems with Radeons, it is probably better to use radeontool from ports. It reportedly reduces power consumption below the levels seen with the DPMS patch and also allows you to power down the DAC for the video connector. You do need to add it to rc.suspend and (most important) to rc.resume. I just add: if [ -x /usr/local/bin/radeontool ]; then radeontool light off|on radeontool dac off|on fi depending on whether it's the suspend or the resume file. If you are on better, you probably want to simply leave the DAC off, though. You should be able to do this with devd, but I have not tried it. -- 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