Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:53548 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468Ab1I0LIJ (ORCPT ); Tue, 27 Sep 2011 07:08:09 -0400 Subject: Re: [PATCH 1/1] rfkill: add module option to become inactive. From: Johannes Berg To: "Andrew V. Stepanov" Cc: davem@davemloft.net, linville@tuxdriver.com, linux-wireless@vger.kernel.org In-Reply-To: (sfid-20110927_113513_869091_360B4376) References: <1317119624-2974-1-git-send-email-stanv@altlinux.org> <1317109617.4082.0.camel@jlt3.sipsolutions.net> <1317110884.4082.5.camel@jlt3.sipsolutions.net> <1317113699.4082.7.camel@jlt3.sipsolutions.net> (sfid-20110927_113513_869091_360B4376) Content-Type: text/plain; charset="UTF-8" Date: Tue, 27 Sep 2011 13:08:01 +0200 Message-ID: <1317121681.4082.8.camel@jlt3.sipsolutions.net> (sfid-20110927_130813_360014_DED2042A) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2011-09-27 at 13:34 +0400, Andrew V. Stepanov wrote: > On Tue, Sep 27, 2011 at 12:54 PM, Johannes Berg > wrote: > > On Tue, 2011-09-27 at 12:46 +0400, Andrew V. Stepanov wrote: > > > >> I wan't to completely ignore events (state) of software\hardware rfkill buttons. > > > > Why would you ever want to do that? I can see that you might want to > > ignore soft buttons, but you can use urfkilld for that. Ignoring hard > > buttons is completely useless -- they will affect the device they're > > wired up to *anyway*. > > No. That is not true. > > Hardware rfkill button doesn't have any action to wlan\bluetooth > devices on ThinkPad x201i with "CONFIG_RFKILL is not set". > I can assume this is true for other notebooks. Then why is it a hard button instead of the soft button on a separate platform device? johannes