From: Egor Ignatov <egori@altlinux.org> To: devel-kernel@lists.altlinux.org Subject: [d-kernel] [PATCH 1/1] Input: i8042 - enable dumbkbd quirk for HP 15-dy2xxx and 15s-fq2xxx Date: Thu, 4 Aug 2022 11:33:26 +0300 Message-ID: <20220804083326.466009-2-egori@altlinux.org> (raw) In-Reply-To: <20220804083326.466009-1-egori@altlinux.org> These two sets of HP laptops have a long keyboard initialization delay due to the controller not delivering interrupts correctly as previously determined by Egor and Vojtech. For the 15-dy2044nr models I have at work the issue persists even after manually updating the system firmware to the latest revision from the Microsoft update catalog (15.21.0.0). Egor submitted a patch for 15s-fq2xxx systems previously but it seems to have been missed/forgotten, so I've included both here. Link: https://lore.kernel.org/lkml/2iAJTwqZV6lQs26cTb38RNYqxvsink6SRmrZ5h0cBUSuf9NT0tZTsf9fEAbbto2maavHJEOP8GA1evlKa6xjKOsaskDhtJWxjcnrgPigzVo=@gurevit.ch/ Link: https://lore.kernel.org/lkml/20210528154339.GA9116@suse.com/ Link: https://lore.kernel.org/all/20210609073333.8425-1-egori@altlinux.org/ Signed-off-by: gurevitch <mail@gurevit.ch> --- drivers/input/serio/i8042-x86ia64io.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 148a7c5fd0e22..a2454d277a143 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h @@ -995,6 +995,24 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = { { } }; +static const struct dmi_system_id __initconst i8042_dmi_dumbkbd_table[] = { + { + /* HP 15-dy2xxx - keyboard */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Laptop 15-dy2xxx"), + }, + }, + { + /* HP 15s-fq2xxx - keyboard */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Laptop 15s-fq2xxx"), + }, + }, + { } +}; + static const struct dmi_system_id i8042_dmi_probe_defer_table[] __initconst = { { /* ASUS ZenBook UX425UA */ @@ -1333,6 +1351,9 @@ static int __init i8042_platform_init(void) if (dmi_check_system(i8042_dmi_kbdreset_table)) i8042_kbdreset = true; + if (dmi_check_system(i8042_dmi_dumbkbd_table)) + i8042_dumbkbd = true; + if (dmi_check_system(i8042_dmi_probe_defer_table)) i8042_probe_defer = true; -- 2.33.4
next prev parent reply other threads:[~2022-08-04 8:33 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-04 8:33 [d-kernel] [PATCH 0/1] " Egor Ignatov 2022-08-04 8:33 ` Egor Ignatov [this message] 2022-08-15 13:32 ` Vitaly Chikunov 2022-08-31 23:07 ` [d-kernel] [PATCH 0/1] Input: i8042 - enable dumbkbd quirk for HP 15-dy2xxx and 15s-fq2xxx (revert) Vitaly Chikunov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220804083326.466009-2-egori@altlinux.org \ --to=egori@altlinux.org \ --cc=devel-kernel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git