From owner-freebsd-mobile@FreeBSD.ORG Thu Feb 9 22:12:11 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 65FFA16A459 for ; Thu, 9 Feb 2006 22:12:11 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74D5743D5D for ; Thu, 9 Feb 2006 22:12:07 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F7K0n-0003Cj-Ib for freebsd-mobile@freebsd.org; Thu, 09 Feb 2006 23:11:37 +0100 Received: from r5k4.chello.upc.cz ([86.49.10.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2006 23:11:37 +0100 Received: from martinkov by r5k4.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2006 23:11:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: martinko Date: Thu, 09 Feb 2006 23:11:18 +0100 Lines: 26 Message-ID: References: <20060209163437.6AF8C45041@ptavv.es.net> <200602091734.k19HYbUZ061382@gate.bitblocks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k4.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051205 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <200602091734.k19HYbUZ061382@gate.bitblocks.com> Sender: news 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: Thu, 09 Feb 2006 22:12:11 -0000 Bakul Shah wrote: > So do you have all your helpful hints collected in one place? > Something along the lines of > > [] > changes to kernel config (e.g. leave out devices to be loaded as KLDs) > changes to /boot/loader.conf > changes to /etc/rc.suspend > changes to /etc/rc.resume > changes to /etc/sysctl.conf > > [] > ... > > In a machine parsable form would be very nice. Then may be > someone will be inspired to write a program that takes a > standard GENERIC kernel config + other std files and > automatically applies all this! > > >>hw.pci.do_power_nodriver=[1|2|3] > > > This goes in sysctl.conf? i guess it goes to /boot/loader.conf[.local]