From patchwork Wed Oct 4 01:17:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szilard Fabian X-Patchwork-Id: 148125 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp2453018vqb; Tue, 3 Oct 2023 18:18:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKWeA0cPwucm0/qdcZmyyNtPJ5GErIa7t6rTz7gNAGD/qX6ekLvunIrsCYDfYGRc/BNAUH X-Received: by 2002:aa7:8884:0:b0:68a:5773:6319 with SMTP id z4-20020aa78884000000b0068a57736319mr1318170pfe.11.1696382311956; Tue, 03 Oct 2023 18:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696382311; cv=none; d=google.com; s=arc-20160816; b=WYNidRf9Qdw2XdwOU6+lzgedIBCTTogX3IrsIR6dpPM456NCvUQxbSFSHbrutDZRGp mGGo3ECJptd0PtSolQSHFoS5rqzwmigUtR6snLtI60Xg1a7vZwaRoi2HfrYR2eGZshUK /rgX8ns7Kjrn1C3HPe6bDU6FhZj0lE59prAzXS/QAAI9U9bCWZD05dZg382V97P1MMne lzwz7Jhj1ndtJ42Kfp/qOM6yS2VuG2ryVM+mblo7SUU5Udgb7InwzNaTVR4amiZ9zh/Z bwXfPTK9CGyfDNnhIlePo5PMuNCtOeIILbmY8XLEo3TfXmiHJydMioYHBY42oBbmINEw 0Itg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:message-id:subject:cc:from:to:date:dkim-signature; bh=0/NTixYReknMRRBO500wvyfnj9CRDEyPNDq3gOMgpyI=; fh=PgyADB88RxUHJ5o18hQ8j3ccTpytzmX9LMfKOoIlIZA=; b=G3zfO4EeOW6n2qsv+e4McMRlGdN1Mry5VIF51fBOT+xiku079FmoHVo0zdTr5t3bJy m6bRkc9Unl6fZenctXdFuS8KD4pTNpdS1cCOIBTTDVjLTjm+stDKzLS8bFlPcvXtomk4 rr1WDMJ9wTx1oNoCQznh4OA0M1ygWz3B3dK8J8UruJp2HkwDIbnJzMITplxac3jQj/CG vOd48HyX7YeRcwar/d6xUffK7UeFimAvE8ODI/b8jVSJlVka4kdhjSpm2/YSB8OPh0hL 8revRWnxkYrP9TuMp5FXNZ5Avhgv8zWCEE0tcIVx+8arYx35IYR0JAwredWHd+N6ba/O h+TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bluemarch.art header.s=protonmail header.b=JbU8T7BH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bluemarch.art Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id g21-20020a056a001a1500b00690d624f294si2737457pfv.322.2023.10.03.18.18.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 18:18:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@bluemarch.art header.s=protonmail header.b=JbU8T7BH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bluemarch.art Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8FFB18068973; Tue, 3 Oct 2023 18:18:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239461AbjJDBSO (ORCPT + 17 others); Tue, 3 Oct 2023 21:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232262AbjJDBSN (ORCPT ); Tue, 3 Oct 2023 21:18:13 -0400 Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3290AB; Tue, 3 Oct 2023 18:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluemarch.art; s=protonmail; t=1696382286; x=1696641486; bh=0/NTixYReknMRRBO500wvyfnj9CRDEyPNDq3gOMgpyI=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=JbU8T7BH5W1VsBAqpE/+zgfEmkKsgSs0kuf9FlkkFVDIv6qxzN6UaauX4d6GHEMN4 +BI6WqLMcaizQwmsH5GFtwHOTFoekkpKXnLV1F3ShU9/380P7E9O2s/P8eXBxQCdK/ +vLLtiqZnZWrVyzACuRs8uXtt8ezSCYsjayaUZtf0Ukkq2dF/8sVMbFQ9NFJo8q81+ 3LZejZypDcb1zacvXMqZxFk4pcFBqzW6M/pjW6Zz791TbEXIaj9E75moPosMKoxO3M oRxk9RMdtTf5MEUNkPkguKvx/w52XR/Rx9ZR3OlE17/NWozm36tS72F6XlsRyFIOy2 U9Rwi/KfjA8rw== Date: Wed, 04 Oct 2023 01:17:54 +0000 To: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, dmitry.torokhov@gmail.com From: Szilard Fabian Cc: Szilard Fabian Subject: [PATCH] Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table Message-ID: <20231004011749.101789-1-szfabian@bluemarch.art> Feedback-ID: 87830438:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 18:18:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778785779363837445 X-GMAIL-MSGID: 1778785779363837445 In the initial boot stage the integrated keyboard of Fujitsu Lifebook E5411 refuses to work and it's not possible to type for example a dm-crypt passphrase without the help of an external keyboard. i8042.nomux kernel parameter resolves this issue but using that a PS/2 mouse is detected. This input device is unused even when the i2c-hid-acpi kernel module is blacklisted making the integrated ELAN touchpad (04F3:308A) not working at all. Since the integrated touchpad is managed by the i2c_designware input driver in the Linux kernel and you can't find a PS/2 mouse port on the computer I think it's safe to not use the PS/2 mouse port at all. Signed-off-by: Szilard Fabian --- I think the same patch could be applied to E4411, E4511 and E5511 too but sadly I can't test this theory. But these computers use the same UEFI updates so I think there isn't much difference in input devices. --- drivers/input/serio/i8042-acpipnpio.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h index 028e45bd050b..3f73fa69b8ce 100644 --- a/drivers/input/serio/i8042-acpipnpio.h +++ b/drivers/input/serio/i8042-acpipnpio.h @@ -618,6 +618,14 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = { }, .driver_data = (void *)(SERIO_QUIRK_NOMUX) }, + { + /* Fujitsu Lifebook E5411 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU CLIENT COMPUTING LIMITED"), + DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E5411"), + }, + .driver_data = (void *)(SERIO_QUIRK_NOAUX) + }, { /* Gigabyte M912 */ .matches = {