Re: [RFC PATCH] RFkill - Add support for input key to control wireless radio

From: Ivo van Doorn
Date: Sun Nov 12 2006 - 10:18:27 EST


On Sunday 12 November 2006 16:13, Oliver Neukum wrote:
> Am Sonntag, 12. November 2006 15:48 schrieb Ivo van Doorn:
> > If the input device has been opened, rfkill will send the signal to
> > userspace and do nothing further. The user is in charge of controlling
> > the radio.
>
> As turning off the radio is relevant to safety eg. in aircraft, hospitals,
> etc., potentially ignoring the button is questionable.

True, that is why the default behavior is to listen to the button and change
the radio status. Only when the input device is opened the button is ignored.
But changing the radio status, and then reporting it to the user might also
not be what the user wants, he might want to execute some commands while
the radio is still enabled before disabling the radio.

Ivo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/