Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752507AbbBXAvR (ORCPT ); Mon, 23 Feb 2015 19:51:17 -0500 Received: from mail-ie0-f171.google.com ([209.85.223.171]:44358 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752402AbbBXAvP (ORCPT ); Mon, 23 Feb 2015 19:51:15 -0500 Date: Mon, 23 Feb 2015 16:51:09 -0800 From: Dmitry Torokhov To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Mario Limonciello , LKML , "linux-input@vger.kernel.org" , Rob Subject: Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode. Message-ID: <20150224005109.GD604@dtor-glaptop> References: <1424310180-2512-1-git-send-email-mario_limonciello@dell.com> <201502202141.16017@pali> <54E7A567.5030501@dell.com> <201502221755.05587@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201502221755.05587@pali> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2546 Lines: 57 On Sun, Feb 22, 2015 at 05:55:05PM +0100, Pali Roh?r wrote: > On Friday 20 February 2015 22:21:43 Mario Limonciello wrote: > > On 02/20/2015 02:41 PM, Pali Roh?r wrote: > > > On Friday 20 February 2015 20:56:23 Mario Limonciello wrote: > > > I have BIOS version A05 on my E6440 machine. That version > > > does not have problems with "repeating keys" and my > > > workaround for ALPS touchpad (which is in mainline tree and > > > -stable trees now) works fine. If I do not see other > > > problems, I will not update BIOS (just because current > > > version working -- with workarounds). > > > > > > But CCing Rob. He told me as first about existence of new > > > BIOS version for E6440 and he is already testing new > > > version of BIOS, so can share details. > > > > > > Mario, can you share some details about that new BIOS > > > update? If it is not secret, how was problem with > > > "repeating keys" fixed? Why linux had more problems as > > > Windows? Cannot we implement some "workaround" in linux > > > kernel to prevent that (or similar) problems in future? > > > > It's a bit ironic really. The problem was introduced because > > a timer was added to the EC last year to fix a key repeating > > problem found on Windows. In doing so the EC was blocking > > "BREAK" from being sent to the OS. Windows OS didn't mind > > this, but Linux did. The fix doesn't block BREAK anymore. > > > > Thank you for information! > > Mario, do you know if it is possible to "switch" keyboard into > mode under which Fn key will send scancode (like Ctrl or Alt) > when presses, so it could be possible to use any Fn+key > combination for keyboard shortcuts? Because now Fn+F* send one > scancode (e.g. suspend key) and other combination of Fn+something > does not work... > > Dmitry, should not Linux follow this Windows input behaviour? For > year we have seen people complaining about non working keyboard > on Dell laptops under Linux (when user Windows it worked)... I am not sure what exactly the issue is... We do need to have the break code to know when the key is released. We can't go and say that we will release old key when we detect another key press as that would mess up key combination handling (like control, meta, etc). What does Windows driver do? Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/