Messages in this thread | | | From | Pali Rohár <> | Subject | Re: [PATCH 1/3] platform: x86: dell-rbtn: Dell Airplane Mode Switch driver | Date | Mon, 24 Nov 2014 21:55:47 +0100 |
| |
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@gmail.com [unhandled content-type:application/pgp-signature] | |