NetBSD Problem Report #57086

From www@netbsd.org  Fri Nov 18 22:50:57 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2B5E41A921F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 18 Nov 2022 22:50:57 +0000 (UTC)
Message-Id: <20221118225055.AA6A81A9239@mollari.NetBSD.org>
Date: Fri, 18 Nov 2022 22:50:55 +0000 (UTC)
From: bmelo@protonmail.com
Reply-To: bmelo@protonmail.com
To: gnats-bugs@NetBSD.org
Subject: touchpad does not work
X-Send-Pr-Version: www-1.0

>Number:         57086
>Category:       kern
>Synopsis:       touchpad does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 18 22:55:00 +0000 2022
>Originator:     Bruno
>Release:        NetBSD 10-CURRENT
>Organization:
>Environment:
NetBSD  9.99.106 NetBSD 9.99.106 (GENERIC) #0: Sun Nov 13 21:57:12 UTC 2022  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
ihidev device autoconfiguration error: no IRQ resource

[     1.029804] GPIO (AMDI0030) at acpi0 not configured
[     1.029804] dwiic0 at acpi0 (I2CD, AMDI0010-3): mem 0xfedc5000-0xfedc5fff irq 6
[     1.029804] resource type 0x11 ignored
[     1.029804] iic0 at dwiic0: I2C bus
[     1.029804] ihidev0 at iic0 addr 0x15: vendor 0x4f3 product 0x400, TPD0
[     1.029804] ihidev0: 14 report ids
[     1.029804] ihidev0: autoconfiguration error: no IRQ resource
[     1.029804] TPM (MSFT0101) at acpi0 not configured

acpi dump:

Device (GPIO)
        {
            Name (_HID, "AMDI0030")  // _HID: Hardware ID
            Name (_CID, "AMDI0030")  // _CID: Compatible ID
            Name (_UID, 0x00)  // _UID: Unique ID
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                Name (RBUF, ResourceTemplate ()
                {
                    Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, )
                    {
                        0x00000007,
                    }
                    Memory32Fixed (ReadWrite,
                        0xFED81500,         // Address Base
                        0x00000400,         // Address Length
                        )
                })
                Return (RBUF) /* \_SB_.GPIO._CRS.RBUF */
            }

            Method (RST, 0, NotSerialized)
            {
                Notify (GPIO, 0x00) // Bus Check
            }

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If ((TSOS >= 0x70))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (0x00)
                }
            }
        }

        Device (I2CD)
        {
            Name (_HID, "AMDI0010")  // _HID: Hardware ID
            Name (_UID, 0x03)  // _UID: Unique ID
            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
            {
                IRQ (Edge, ActiveHigh, Exclusive, )
                    {6}
                Memory32Fixed (ReadWrite,
                    0xFEDC5000,         // Address Base
                    0x00001000,         // Address Length
                    )
            })
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (0x0F)
            }

            Method (RSET, 0, NotSerialized)
            {
                SRAD (0x08, 0xC8)
            }

            Method (_S0W, 0, NotSerialized)  // _S0W: S0 Device Wake State
            {
                If ((IC3D && IC3E))
                {
                    Return (0x04)
                }
                Else
                {
                    Return (0x00)
                }
            }

            Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0
            {
                If ((IC3D && IC3E))
                {
                    DSAD (0x08, 0x00)
                }
            }

            Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3
            {
                If ((IC3D && IC3E))
                {
                    DSAD (0x08, 0x03)
                }
            }
        }

>How-To-Repeat:
Boot NetBSD
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.