From owner-freebsd-acpi@FreeBSD.ORG Mon May 4 10:04:52 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D74B1106566C for ; Mon, 4 May 2009 10:04:52 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6ACCF8FC08 for ; Mon, 4 May 2009 10:04:52 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by fxm6 with SMTP id 6so3577799fxm.43 for ; Mon, 04 May 2009 03:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lkelNI0vwYVPkC3u2T27PnQyiTOKSBwvH2qmXEgihx8=; b=hoAL8tMPe2D79pmmAmzJU2vu8w1o9UXfSWtsbwQIJnPGhvDER7eNxR9+ThYXMgM/yv PFlqbp2hf7AN/rpWjY64GC5d1p9Ij/nSbkN936jczDLe39dt1FqsiAQo+zg0XuXbfz7L YeANJkYozvZDJNvOXq2dAQKNJzJHePwr4xLdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Lweg7IHS4jYPrURiL+GtHK5erc8z6oX5Qs4bQvZZsetMOYVZ93IgCP91A8Uh7qTXLW 7bkzDzVfjsULAFCfduq9twPLca9VUoFykyKgtR0feZW2I0ACoD27YF3MEvZ5t7ixJtGS zg1SRzU5nhTeL1E0Y21AHG7FRguJpdDzC8zSo= MIME-Version: 1.0 Received: by 10.239.132.134 with SMTP id 6mr291132hbr.157.1241430035330; Mon, 04 May 2009 02:40:35 -0700 (PDT) In-Reply-To: <49FE1826.4060000@FreeBSD.org> References: <49FE1826.4060000@FreeBSD.org> Date: Mon, 4 May 2009 11:40:35 +0200 Message-ID: <3a142e750905040240g58152e69p6fcb797a5e026426@mail.gmail.com> From: "Paul B. Mahol" To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD acpi , FreeBSD-Current , freebsd-mobile@freebsd.org Subject: Re: Fighting for the power. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 10:04:53 -0000 On 5/4/09, Alexander Motin wrote: > 2. PCI devices > PCI bus provides method to control device power. For example, I have > completely no use for my FireWire controller and most of time - EHCI USB > controller. Disabling them allows me to save about 3W of power. To > disable all unneeded PCI devices you should build kernel without their > drivers and add to loader.conf: > hw.pci.do_power_nodriver=3 > To enable devices back all you need to do is just load their drivers as > modules. Unloading modules doesnt put them back into into D3 state. You are forced to load some another module again to put wanted device into D3 state. -- Paul