Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 18:39:51 -0700
From:      Sam Leffler <sam@errno.com>
To:        Rong-en Fan <grafan@gmail.com>
Cc:        acpi@freebsd.org, mobile@freebsd.org
Subject:   Re: acpi_ibm(4): new radio kill switch (readonly) sysctl
Message-ID:  <462576E7.9000106@errno.com>
In-Reply-To: <6eb82e0704171645n5f7b2ca6h41b41016cdafad24@mail.gmail.com>
References:  <6eb82e0704171645n5f7b2ca6h41b41016cdafad24@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rong-en Fan wrote:
> As pointed out by Henrik Brix Andersen, I adds a sysctl entry
> that shows the status of radio kill switch found on some ThinkPad:
> 
> http://people.freebsd.org/~rafan/acpi_ibm_killswitch.diff
> 
> dev.acpi_ibm.0.killswitch = 0 means the switch is off. It seems that
> no acpi event will be generated when the value changes (actually,
> my x60 does not generate any events when I presses FN+something).
> Otherwise, we can hook it in devd.conf and remove wireless driver when
> kill switch is on...
> 
> Any comments?

If the radio is Atheros-based the kill switch likely generates a GPIO
interrupt that the ath driver can catch and use to turn the radio on/off.

	Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462576E7.9000106>