From owner-freebsd-acpi@freebsd.org Sun Feb 14 09:14:50 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 211FAAA715B for ; Sun, 14 Feb 2016 09:14:50 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D90161B1D for ; Sun, 14 Feb 2016 09:14:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id EE0F61FE023; Sun, 14 Feb 2016 10:14:40 +0100 (CET) Subject: Re: Regarding Wake On USB input from S3 Sleep To: Ian Smith , Luke References: <56BC289F.2070208@selasky.org> <56BC31CD.2000509@selasky.org> <56BC751A.4030707@selasky.org> <56BC7BB0.7030407@selasky.org> <20160212011350.O51785@sola.nimnet.asn.au> <56BCA40A.2090107@selasky.org> <1455204470.3280673.518464754.6AB4FA63@webmail.messagingengine.com> <20160213033009.T51785@sola.nimnet.asn.au> <1455295786.2745839.519574962.53409F27@webmail.messagingengine.com> <20160214015131.Q51785@sola.nimnet.asn.au> <1455391051.1524783.520367578.79304ABE@webmail.messagingengine.com> <20160214192829.C51785@sola.nimnet.asn.au> Cc: freebsd-acpi@freebsd.org From: Hans Petter Selasky Message-ID: <56C04610.1090102@selasky.org> Date: Sun, 14 Feb 2016 10:17:04 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160214192829.C51785@sola.nimnet.asn.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 09:14:50 -0000 On 02/14/16 09:48, Ian Smith wrote: > On Sat, 13 Feb 2016 11:17:31 -0800, Luke wrote: > > > I searched the wiki on 'USB power' but noticed only sections 4 and 10 of > > > https://wiki.freebsd.org/TuningPowerConsumption seemed to relate at all. > > > If that's it or not, I'd appreciate some more guidance .. > > > That's correct, section 10 from that wiki page. > > Here's all I did: > > > > $ sudo usbconfig > > (it then lists all USB related devices) > > $ sudo usbconfig -d 1.3 power_save > > (then put a device into powersave mode. I put this in a script) > > > > and that was it for me. The zenbook almost imediately reports an extra > > hour of battery and I can confirm it does indeed extend it's life to > > close to an hour. > > Ah, right. Mine (6 uhci and 2 ehci root hubs) are all already in > pwr=SAVE mode, except for the so far unused webcam: > > ugen3.2: at usbus3, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) > > Setting that to power_save saved about 150mW, or 30mA at 5V. Only a few > extra minutes (~2%) of battery life, but every little bit helps, thanks. > > Not that that's really anything to do with the $subject .. > Hi, By default our USB stack only enables power save for USB HUBs, because it assumes that non-USB HUB device, might be broken with regard to suspend. Your findings make sense. --HPS