From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 10 17:53:35 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 B917216A420; Fri, 10 Feb 2006 17:53:35 +0000 (GMT) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7902D43D45; Fri, 10 Feb 2006 17:53:35 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1F7cSc-0008BN-E4; Fri, 10 Feb 2006 17:53:34 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com) by roam.psg.com with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1F7cSb-0007vJ-1k; Fri, 10 Feb 2006 07:53:33 -1000 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17388.54044.444793.889876@roam.psg.com> Date: Fri, 10 Feb 2006 07:53:32 -1000 To: John Baldwin References: <43EB1470.9020806@cbs.dk> <20060209163437.6AF8C45041@ptavv.es.net> <17387.62649.35663.93483@roam.psg.com> <1BA332D3-F745-40D1-AF60-13BE874DEB20@FreeBSD.org> Cc: freebsd-mobile@FreeBSD.org Subject: Re: Power-drain during suspend? 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, 10 Feb 2006 17:53:35 -0000 >>> hw.pci.do_power_nodriver=[1|2|3] >>> The larger the number, the more aggressive the power limitations. >>> I use >>> '3' on my T30 and it works fine. >> in rc.suspend, or where? > Use sysctl(8) to set it for testing. If it works, you can then make > it permanent by setting it either in /boot/loader.conf or /etc/ > sysctl.conf. so, it's a running state. how do i know "if it works?" # sysctl hw.pci.do_power_nodriver hw.pci.do_power_nodriver: 0 # sysctl hw.pci.do_power_nodriver=1 hw.pci.do_power_nodriver: 0 -> 1 # sysctl hw.pci.do_power_nodriver=2 hw.pci.do_power_nodriver: 1 -> 2 # sysctl hw.pci.do_power_nodriver=3 hw.pci.do_power_nodriver: 2 -> 3 randy