From owner-freebsd-current@FreeBSD.ORG Wed Dec 31 17:01:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 849AB16A4CE for ; Wed, 31 Dec 2003 17:01:03 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75DF843D3F for ; Wed, 31 Dec 2003 17:01:02 -0800 (PST) (envelope-from sam@errno.com) Received: from 66.127.85.91 ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id i01110HQ059637 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 31 Dec 2003 17:01:01 -0800 (PST) (envelope-from sam@errno.com) From: Sam Leffler Organization: Errno Consulting To: David Gilbert , freebsd-current@freebsd.org Date: Wed, 31 Dec 2003 17:04:47 -0800 User-Agent: KMail/1.5.3 References: <16371.15032.415568.367500@canoe.dclg.ca> <200312311657.54270.sam@errno.com> In-Reply-To: <200312311657.54270.sam@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312311704.47749.sam@errno.com> Subject: Re: ath driver and turning wireless off. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 01:01:03 -0000 On Wednesday 31 December 2003 04:57 pm, Sam Leffler wrote: > On Wednesday 31 December 2003 01:08 pm, David Gilbert wrote: > > BTW... this Dell (D800) has the ability to turn the wireless hardware > > off. For the bluetooth, this is simple: it's like disconnecting a USB > > dongle. For the mini-pci slot, it appears to power it down. pciconf > > -lv shows the current (non-supported non-ath) card as present when > > wireless is "on" and not present when wireless is "off" > > > > Is the ath driver able to handle this with any degree of > > gracefullness? > > If you mark the interface down the radio should be turned off. I can't > tell if you're asking for a hookup to a button on the laptop. Some > Atheros-based cards have an rfkill input via a gpio pin that's hooked to a > switch on the laptop (e.g. IBM T40*). This mechanism isn't yet in the ath > driver but should be there soon (someone is testing the changes and they'll > be rolled in once we know they work). Actually, now that I think some more, these cards vary as to whether the rfkill switch is handled in software or hardware. If the card needs software support to turn off the radio then it's not there but will be soon. Sam