power off ath0: <Atheros AR946x/AR948x>

Warner Losh imp at bsdimp.com
Mon Jan 12 16:57:02 UTC 2015


> On Jan 12, 2015, at 9:54 AM, John Baldwin <jhb at 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 stays
>> 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’d love to see this tied into the forthcoming work on PCIe hot plug as well,
which is one way to power off the slot. But that work seems to be stalled…

Warner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20150112/0defb263/attachment.sig>


More information about the freebsd-mobile mailing list