Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6680DC433F5 for ; Wed, 17 Nov 2021 06:37:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4D00F61BFE for ; Wed, 17 Nov 2021 06:37:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233679AbhKQGj5 (ORCPT ); Wed, 17 Nov 2021 01:39:57 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:52718 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233135AbhKQGj4 (ORCPT ); Wed, 17 Nov 2021 01:39:56 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 347031FD29; Wed, 17 Nov 2021 06:36:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1637131017; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=E5xfTODxl0m8O7J5Fe98i6Z5XL49lcdYZMEKnJRh410=; b=eun0ClEtHDdzI8OBeoqJlS19ybrpALQESt8jJs6UtH6u74Kn7ZZJZEKbabtZi8+HjCU4ex mKW5WgHqKyBmM4Ejske8B+x4s8eiOPorOVv54ECKQFzUlAAQjYYYDYoOa5atYbJcnqNxJm UaJWZA66A/LgGIlqt7NAxZO8dZl0L/s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1637131017; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=E5xfTODxl0m8O7J5Fe98i6Z5XL49lcdYZMEKnJRh410=; b=Bb7n/WZVGw2ITLz6X9T0p0tvvCcQquJE8K548bWChsCd4eMcVcKsuigJnjG26gzoJimxuK KYIbbYvKccMpPGCg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 2D67AA3B84; Wed, 17 Nov 2021 06:36:57 +0000 (UTC) Date: Wed, 17 Nov 2021 07:36:57 +0100 Message-ID: From: Takashi Iwai To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Fabio Estevam Subject: Re: [PATCH] Input: i8042 - Add deferred probe support In-Reply-To: <20211112180022.10850-1-tiwai@suse.de> References: <20211112180022.10850-1-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@suse.de > Cc: Fabio Estevam > Signed-off-by: Takashi Iwai There was a typo in MODULE_PARAM_DESC(). Will resubmit v2 patch. Takashi