Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 07:57:31 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Lars Engels <lars.engels@0x20.net>
Cc:        Matthias Apitz <guru@unixarea.de>, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>
Subject:   Re: power off ath0: <Atheros AR946x/AR948x>
Message-ID:  <CAJ-Vmo=b9zRpQNaUmqJNXzmEv5EO8XkXJVUjrp3Uy625pPiZ1A@mail.gmail.com>
In-Reply-To: <20150113091337.GL67556@e-new.0x20.net>
References:  <20150111080530.GA2035@c720-r276659> <54B3FC5F.3070306@FreeBSD.org> <87A73FD4-485B-4F38-B9D2-3F804BED4905@bsdimp.com> <CAJ-Vmo=8xr7hQ9z1Fy_kmMv3nSxhc-zPFBQfw8WqaqB132XsfA@mail.gmail.com> <20150113091337.GL67556@e-new.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
All atheros PCI/PCIe devices.


-a


On 13 January 2015 at 01:13, Lars Engels <lars.engels@0x20.net> wrote:
> On Mon, Jan 12, 2015 at 11:20:07AM -0800, Adrian Chadd wrote:
>> On 12 January 2015 at 08:56, Warner Losh <imp@bsdimp.com> wrote:
>> >
>> >> On Jan 12, 2015, at 9:54 AM, John Baldwin <jhb@FreeBSD.org> wrote:
>> >>
>> >> On 1/11/15 3:05 AM, Matthias Apitz wrote:
>> >>>
>> >>> Hello,
>> >>>
>> >>> Is there a way to completely power-off the Wifi chip in my Acer C720=
?
>> >>> I tried 'ifconfig ath0 down' which saves around 20 mA. But the LED s=
tays
>> >>> on, which let me think it is still someow on-air.
>> >>
>> >> Not yet.  You could try setting the tunable to disable power for PCI
>> >> devices without a driver and not include 'ath' in your kernel config.=
  I
>> >> will (soon) commit a new 'devctl' tool to HEAD that would let you do
>> >> 'devctl suspend ath0' to do this.
>> >
>> > I=E2=80=99d love to see this tied into the forthcoming work on PCIe ho=
t plug as well,
>> > which is one way to power off the slot. But that work seems to be stal=
led=E2=80=A6
>>
>> Right. So, the driver in -HEAD should be powering off almost all of
>> the chip when no vap (ie, wlanX) is active. The only parts of the chip
>> that stay on is the PCIe PHY and the GPIO/RTC block. AFAIK we don't
>> support PCIe power save state management at the moment, so we can't
>> keep the PCIe PHY off.
>>
>> But yeah, most of the chip is off. The chip doesn't take all that much
>> power unless it's actively transmitting/receiving. The LEDs are on
>> because the GPIO block is on and it's likely holding the LED up.
>
> Is that only true for this chip, all ath ones or even all wireless
> devices?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=b9zRpQNaUmqJNXzmEv5EO8XkXJVUjrp3Uy625pPiZ1A>