All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: Notebook Hardware Key for Wireless LAN
Date: Mon, 10 Oct 2005 11:40:31 +0000	[thread overview]
Message-ID: <20051010154031.5de910f4.vsu@altlinux.ru> (raw)
In-Reply-To: <4344521C.8080302@woletz.de>

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

On Fri, 07 Oct 2005 19:31:47 +0200 Marcus Woletz wrote:

> Greg KH schrieb:
> [...]
> >>The Button in the notebook case that turns on and off
> >>the WLAN interface. In the Samsung X20 it seems that the
> >>button turns the interface on and off without interaction
> >>with the OS.
> > 
> > Then there's no way that Linux can generate an event based on it.  Most
> > likely it's just a hardware switch to the network device, my laptop has
> > the same thing.
> 
> But the hotplug system is definitly calling the hotplug firmware agent
> when the WLAN interface is turned on the first time. And there are some
> firmware events generated. So I think that the hotplug system sees that
> the interface is switched on. The only problem is that these events are
> generated only one time and there's no event when switching off WLAN.

For ipw2200 you can try to poll the "rf_kill" attribute in sysfs:

	/* 0 - RF kill not enabled
	   1 - SW based RF kill active (sysfs)
	   2 - HW based RF kill active
	   3 - Both HW and SW baed RF kill active */

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2005-10-10 11:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-05 22:22 Notebook Hardware Key for Wireless LAN Marcus Woletz
2005-10-06 16:53 ` Greg KH
2005-10-07 16:05 ` Marcus Woletz
2005-10-07 16:40 ` Greg KH
2005-10-07 17:05 ` Dmitry Torokhov
2005-10-07 17:26 ` Kay Sievers
2005-10-07 17:31 ` Marcus Woletz
2005-10-07 17:36 ` Marcus Woletz
2005-10-07 18:06 ` Marcus Woletz
2005-10-07 18:22 ` Johannes Berg
2005-10-10 11:40 ` Sergey Vlasov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051010154031.5de910f4.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.