Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751126AbZL0UCG (ORCPT ); Sun, 27 Dec 2009 15:02:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750980AbZL0UCF (ORCPT ); Sun, 27 Dec 2009 15:02:05 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46328 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872AbZL0UCB (ORCPT ); Sun, 27 Dec 2009 15:02:01 -0500 Date: Sun, 27 Dec 2009 21:01:47 +0100 From: Pavel Machek To: "Rafael J. Wysocki" Cc: pm list , LKML , Linux PCI , ACPI Devel Maling List , Alan Stern , Jesse Barnes , Matthew Garrett , Oliver Neukum , Shaohua Li , Bjorn Helgaas , Francois Romieu , Len Brown Subject: Re: [RFC][PATCH 12/12] PM / r8169: Add simplified run-time PM support Message-ID: <20091227200147.GJ11737@elf.ucw.cz> References: <200911160047.46299.rjw@sisk.pl> <200911291644.27288.rjw@sisk.pl> <20091215114956.GA1415@ucw.cz> <200912272048.37332.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200912272048.37332.rjw@sisk.pl> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1311 Lines: 39 On Sun 2009-12-27 20:48:37, Rafael J. Wysocki wrote: > On Tuesday 15 December 2009, Pavel Machek wrote: > > Hi! > > > > > Use the PCI run-time power management framework to add simplified > > > run-time PM support to the r8169 driver. Namely, make the driver > > > suspend the device when the link is off and set it up for generating > > > wake-up event after the link has been detected again. > > > > Nice! > > > > Do you have any idea how much power it saves? > > No, but there should be a power meter somewhere here ... > > I'll let you know if I can find it. On notebooks, you can often use pavel@amd:/data/l/linux-msm/arch/arm/mach-msm$ cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: charged present rate: 0 mW remaining capacity: 71830 mWh present voltage: 16277 mV ...present rate is often usable-enough. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/