Date: Sun, 14 Feb 2016 10:17:04 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Ian Smith <smithi@nimnet.asn.au>, Luke <lukek@fastmail.fm> Cc: freebsd-acpi@freebsd.org Subject: Re: Regarding Wake On USB input from S3 Sleep Message-ID: <56C04610.1090102@selasky.org> In-Reply-To: <20160214192829.C51785@sola.nimnet.asn.au> References: <CACMcRdfLERKud5_0GMKK1m7RF1DS8hxrhSxpZFEUyqpMWNS7EQ@mail.gmail.com> <56BC289F.2070208@selasky.org> <CACMcRdcVnCshhPpc9qAyGeg62DgYxFxRbkiNMVsCeMF7SOmmrA@mail.gmail.com> <56BC31CD.2000509@selasky.org> <CACMcRdfk6_jba3YJhi=uPwo82CG1NmfAkM06sOs_EcKGmf_VFg@mail.gmail.com> <56BC751A.4030707@selasky.org> <CACMcRddRPakfvOhRdra-ZOG7NAx_cPbnwTmem=689ueoaLpiFA@mail.gmail.com> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <product 0x480c Chicony Electronics Co., Ltd.> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56C04610.1090102>