Re: [PATCH] Input: i8042 - Add deferred probe support

From: Takashi Iwai
Date: Wed Nov 17 2021 - 01:37:03 EST


On Fri, 12 Nov 2021 19:00:22 +0100,
Takashi Iwai wrote:
>
> We've got a bug report about the non-working keyboard on ASUS ZenBook
> UX425UA. It seems that the PS/2 device isn't ready immediately at
> boot but takes some seconds to get ready. Until now, the only
> workaround is to defer the probe, but it's available only when the
> driver is a module. However, many distros, including openSUSE as in
> the original report, build the PS/2 input drivers into kernel, hence
> it won't work easily.
>
> This patch adds the support for the deferred probe for i8042 stuff as
> a workaround of the problem above. When the deferred probe mode is
> enabled and the device couldn't be probed, it'll be repeated with the
> standard deferred probe mechanism.
>
> The deferred probe mode is enabled either via the new option
> i8042.probe_defer or via the quirk table entry. As of this patch, the
> quirk table contains only ASUS ZenBook UX425UA.
>
> The deferred probe part is based on Fabio's initial work.
>
> BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1190256
> Link: https://lore.kernel.org/r/s5ho890n1rh.wl-tiwai@xxxxxxx
> Cc: Fabio Estevam <festevam@xxxxxxxxx>
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>

There was a typo in MODULE_PARAM_DESC(). Will resubmit v2 patch.


Takashi