lkml.org 
[lkml]   [2014]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/3] platform: x86: dell-rbtn: Dell Airplane Mode Switch driver
Date
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]
\
 
 \ /
  Last update: 2014-11-24 22:41    [W:0.155 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site