Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3015775pxu; Sat, 10 Oct 2020 16:11:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGw8OTDIkPqBNuDnlaxgdFG+U4LiLgc3CmlQjgO0C53Qjqfhe9Aoi3t/VG46OsjGqBJZ9D X-Received: by 2002:a17:906:9a1:: with SMTP id q1mr20505704eje.30.1602371501000; Sat, 10 Oct 2020 16:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602371500; cv=none; d=google.com; s=arc-20160816; b=vH7ea7bvWgdyIY4yzjrzYK2v/Tatg289nrVca7lFD+qGQviEr21QUZZq4AonfInO0h O84FYtny8kI7V6iS49+sIf4/O2xSsXRUIOZPXwu4KUoZN0a8aC570DqYKKmcH0jPI2+D hKIqKhYTd3w8CZCEq78QLu7qB8iGS6wLZVBJrULqrwgZFW5Tz3fYnLrTuKAIgopvik2g +LVYq7V3uegZifn1oY/3rGR+yTWcGue8h7QS2/R8pOmCkjRcv9724/n7dto2guo1w0MZ mWX47WISdXMVsx2YlLzFR0Mzn1WQpf7V9d7/EmRgUodE309x4cXCGnP/lpHWmvbtiyGh TucQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=dofJAGn9VCUEDJbOVjaLweUA6JrcktmiiByqO5vMFLE=; b=vdg+C1d55lMGjPL2eOh3GFnxLX8QVOrrgzp4OBHX5njJOcLEm4kItE9KsImG9KHekt HEyytoznMuE+e6py+0EkRPPNE2321muiLFVa89L4M7ZtzuomNjLlzzKYiQbRfsZNCPIB p/CxOa+Fxg0TpduB8sXaQItPxxOHwN4EziEuHLdA1Ey23ARkwN8orvSWLWEPEr76p+6g InOr1dzvhshONXTjQY3ezNXvSs9xLBdlkOqWXe5wnTR7rzA/GWMjhpjtwUXHueQ+dPou 0P/MDdGz+Fck7YUFhun1I/xcuEdZq3akzAnW7gjTa5a7YwxOsvsxGuO4X2KhszFI0uDX w/tA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si9870016edc.421.2020.10.10.16.11.18; Sat, 10 Oct 2020 16:11:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390906AbgJJW73 (ORCPT + 99 others); Sat, 10 Oct 2020 18:59:29 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:35431 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730629AbgJJUcy (ORCPT ); Sat, 10 Oct 2020 16:32:54 -0400 Received: from [192.168.1.11] (dynamic-089-014-081-185.89.14.pool.telefonica.de [89.14.81.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 079D720645E93; Sat, 10 Oct 2020 22:32:11 +0200 (CEST) Subject: Re: i8042_init: PS/2 mouse not detected with ACPIPnP/PnPBIOS To: Dmitry Torokhov , "Rafael J. Wysocki" , Len Brown Cc: linux-input@vger.kernel.org, LKML , linux-acpi@vger.kernel.org, Hans de Goede References: <1a69c5bc-ccc4-68db-7871-af05a70052c9@molgen.mpg.de> <20201007221628.GW1009802@dtor-ws> From: Paul Menzel Message-ID: Date: Sat, 10 Oct 2020 22:32:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201007221628.GW1009802@dtor-ws> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Dmitry, dear Rafael, dear Len, Am 08.10.20 um 00:16 schrieb Dmitry Torokhov: > On Wed, Oct 07, 2020 at 11:18:41PM +0200, Paul Menzel wrote: >> On the Asus F2A85-M PRO Linux 5.9-rc8 (and previous versions) does not >> recognize a plugged in PS/2 mouse using the Plug & Play method. The PS/2 >> keyboard is detected fine, and using `i8042.nopnp`, the PS/2 mouse also >> works. >> >>> [ 1.035915] calling i8042_init+0x0/0x42d @ 1 >>> [ 1.035947] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 >>> [ 1.035948] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp >>> [ 1.036589] serio: i8042 KBD port at 0x60,0x64 irq 1 >>> [ 1.036621] initcall i8042_init+0x0/0x42d returned 0 after 687 usecs >> >> But, the DSDT includes the “mouse device”. From >> >> acpidump > dump.bin; acpixtract dump.bin; iasl -d *dat; more dsdt.dsl >> >> we get >> >> Device (PS2M) >> { >> Name (_HID, EisaId ("PNP0F03") /* Microsoft PS/2-style Mouse */) // _HID: Hardware ID >> Name (_CID, EisaId ("PNP0F13") /* PS/2 Mouse */) // _CID: Compatible ID >> Method (_STA, 0, NotSerialized) // _STA: Status >> { >> If ((IOST & 0x4000)) >> { >> Return (0x0F) >> } >> Else >> { >> Return (Zero) >> } >> } >> >> and the identifiers PNP0F03 and PNP0F13 are both listed in the array >> `pnp_aux_devids[]`. But adding print statements to `i8042_pnp_aux_probe()`, >> I do not see them, so the function does not seem to be called. > > My guess is that _STA returns 0 indicating that the device is not > present. I would try tracking where IOST is being set and figuring out > why it does not have mouse bit enabled. Does the ACPI subsystem allow to track, how ACPI variables(?) like IOST are read and set? Kind regards, Paul