On Thu, Oct 22, 2015 at 10:27:22AM +0200, Pali Rohár wrote: > On Thursday 22 October 2015 10:17:25 Darren Hart wrote: > > On Wed, Oct 21, 2015 at 01:12:43PM +0200, Darren Hart wrote: > > > From what I can tell, the XPS 13 has a TOGGLE type rfkill button (Fn-PrtScrn): > > > > > > http://www.trustedreviews.com/dell-xps-13-2015-photos-11 > > > > The reporter states his radio toggle is on F2, so it is not the above machine, > > probably this one: > > > > http://www.ibtimes.co.uk/dell-xps-13-review-ultrabook-341773 > > > > In any case, his logs confirm we are seeing a TOGGLE type which is using the > > input mechanism. > > > > So my assumption that turning rfkill on (airplane mode) is done by > userspace (and not by kernel itself) is correct. Agreed. > > Now we need to know if we can drop that event input key after resuming > from suspend on all dell machines which has toggle key. > Well, as Gabriele points out, it seems it is dependent on the system, as some with the TOGGLE emit the event on resume, and others do not. We could of course do this on a case by case DMI match, but I'd really like to avoid that if at all possible. > Alex, do you know more? Can you help us? > > -- > Pali Rohár > pali.rohar@xxxxxxxxx > -- Darren Hart Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html