[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201411242155.48087@pali>
Date: Mon, 24 Nov 2014 21:55:47 +0100
From: Pali Rohár <pali.rohar@...il.com>
To: Matthew Garrett <mjg59@...f.ucam.org>
Cc: Darren Hart <dvhart@...radead.org>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
Gabriele Mazzotta <gabriele.mzt@...il.com>,
Alex Hung <alex.hung@...onical.com>
Subject: Re: [PATCH 1/3] platform: x86: dell-rbtn: Dell Airplane Mode Switch driver
On Monday 24 November 2014 21:09:05 Matthew Garrett wrote:
> On Sun, Nov 23, 2014 at 04:09:19PM +0100, Pali Rohár wrote:
> > + /* NOTE: rbtn controls all radio devices, not only WLAN
> > + but rfkill interface does not support "ANY" type
> > + so "WLAN" type is used
> > + */
>
> If it controls multiple radio types then you should register
> multiple rfkill devices.
This is complicated. HW switch controls all radio devices and you
do not know which are present in specified running machine. Also
list of devices which HW switch controls can be edited in BIOS
(on some machines). So what to do? We only know that it controls
some devices...
--
Pali Rohár
pali.rohar@...il.com
Download attachment "signature.asc " of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists