Re: Wi-Fi Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-10-27 at 12:24 -0400, Martin Dubuc wrote:
> On most laptops, there is a way to disable Wi-Fi either through function
> keys or kill switch. I am wondering if there is a way programmatically
> speaking to figure out whether or not Wi-Fi is currently disabled because
> the user has pressed the Wi-Fi function key or turned Wi-Fi off with the
> kill switch. 

At least on my laptop I have:

/sys/class/rfkill/rfkill1/state when my kill switch is thrown.  This
seems to cover the wifi.  When I unkill, which enables bluetooth, I get
rfkill2 as well with a state of 1.  In my bios I have the switch set to
cover cellular and bluetooth, so no switch can kill the wifi.

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux