From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E5C6C433EF for ; Fri, 10 Sep 2021 10:49:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 59A2B610E9 for ; Fri, 10 Sep 2021 10:49:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232416AbhIJKvG (ORCPT ); Fri, 10 Sep 2021 06:51:06 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:55228 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232415AbhIJKvG (ORCPT ); Fri, 10 Sep 2021 06:51:06 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 8E07E21C76; Fri, 10 Sep 2021 10:49:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1631270994; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=UN95eJ3C5ueyKZXJTyVaHD4/453+pCzBX0tKgt0dBb8=; b=SH/osTU+aqGwyXvekPQBgoWzLf+YjpuVH3G8yKZCH9oKVVhBh5aq+p+vck22588Gm3N/TZ 9/o3XNPdwJuIBjwaW/YmsAflIsKNRjCYRrPraFlmFx6wQ9O3valOGJMHuq5V0Kw0ivTUjV jm2CpHyLbJN+L8aZbPoYAOrR1AhQLIc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1631270994; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=UN95eJ3C5ueyKZXJTyVaHD4/453+pCzBX0tKgt0dBb8=; b=i5gNgwIq+9lClw9IyB79wthxjcLNn2Yv4kKObOyPe6selXSUAohQHZwG8B6VBKEFEip4SR JIO+fHhmgbxSzuDQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 87261A3B97; Fri, 10 Sep 2021 10:49:54 +0000 (UTC) Date: Fri, 10 Sep 2021 12:49:54 +0200 Message-ID: From: Takashi Iwai To: Dmitry Torokhov Cc: linux-input@vger.kernel.org Subject: Delaying i8042 probe? 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-input@vger.kernel.org Hi, we've received a bug report about the missing keyboard on ASUS Zenbook 14 with AMD Ryzen: https://bugzilla.suse.com/show_bug.cgi?id=1190256 In short, PS2 keyboard couldn't be probed at the cold boot, while it could be detected fine at the warm boot. The failure appears like: [ 0.512668] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 [ 0.512672] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp [ 1.033609] i8042: Can't read CTR while initializing i8042 [ 1.033632] i8042: probe of i8042 failed with error -5 As openSUSE kernel builds PS2 drivers as built-in, and the probe at the early boot failed. Meanwhile, when we rebuilt the kernel with those drivers as modules, it starts working magically. So, this is likely a timing problem. A possibly workaround I can think of would be to allow re-probing the device at a later point. Do we have a good way for that, or a better alternative solution? thanks, Takashi