From nobody Thu Nov 07 04:28:50 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XkTbl3pclz5cKqV for ; Thu, 07 Nov 2024 04:28:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XkTbk5yBQz50dQ for ; Thu, 7 Nov 2024 04:28:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730953730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hTuBtHuDLg1/DgOqwYjGANL851ooxS6BzBwa7zVwp2o=; b=T5pGLm4fvm9AoPaNfil5GHglc1hhT8a4cUtKGGXX0L6384C8CxMlxJhnPEuOgUSrBRN8gp YykoaesH1IxPXmnCpKPC5PtOcivCQQWm/Bjwi4scp+AskycyQgYqjJi/8YXzbk2OS9Snte bJhpPTbssu4qSiczllJa2tiCqULlfpgf3bebEPwuTWu6BfSTNzOyeH0yaK0i6vjz7PF/ZZ A13fPjN+93dmnq3ZmwgAy4jNP6NP5DOOIkFvlTNO0970hG+jIbr8dSS3RE06BLMQgFNN/G 9m6DxOHgsbzOWUM4QZOTrhzurdmpfz9O/s58RwEasco1NFkN62KUHvSztmnWBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730953730; a=rsa-sha256; cv=none; b=y0Zjz73A3dVV7Vuf8KqCEbfhwA8ym85kzVMXx5tI4+AFJQz1Ymke+MCb7q9ZUO7VnIwLrD mxwJNQbYAIeI2EBm0xKxIyeapXQYjHovWieeqjYeBGFTzcEdtmhcRXEhNmTN+nma8UvBJm em1kBn96UPxqaNx3TfNhDjTRLiN5GMBayIdGkYTsmhr1khEQz+w5YTbzAm/R5JQE28+ALo tl/VEf9YdTbXnsXmDydLaMXh8BsaNayRY7KPJhdVpspK4xevXzC/MM2RLOiaTKdYKLEpro t9JSmzCfIT7Al8RKfn7weTb4TR80qaq7fpLVnWa20wciNKTC/xV76YNVF6DFFQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XkTbk4lxTzWvL for ; Thu, 7 Nov 2024 04:28:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4A74SoFx064212 for ; Thu, 7 Nov 2024 04:28:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A74SoAx064211 for bugs@FreeBSD.org; Thu, 7 Nov 2024 04:28:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282389] [i2c] Dell Precision 5690 touchpad unrecognized Date: Thu, 07 Nov 2024 04:28:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ashafer@badland.io X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282389 --- Comment #8 from Austin Shafer --- Created attachment 254992 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D254992&action= =3Dedit devinfo -rv Here's the devinfo -rv output. I've tried disabling the touchscreen in the = bios to see if that had an effect but it did not. That's why the ELAN900C device wasn't present. > unknown pnpinfo _HID=3DVEN_27C6 _UID=3D0 _CID=3DPNP0C50 at handle=3D\_SB_= .PC00.I2C3.TPD0 Here's the touchpad being unrecognized. > unknown pnpinfo vendor=3D0x8086 device=3D0x7e7b subvendor=3D0x1028 subdev= ice=3D0x0cc8 class=3D0x0c8000 at slot=3D21 function=3D3 dbsf=3Dpci0:0:21:3 = handle=3D\_SB_.PC00.I2C3 Interestingly here is the i2c bus that holds the touchpad also not getting recognized, which I feel silly for not noticing sooner. Here's the relevant bit of pciconf -lv: ig4iic0@pci0:0:21:0: class=3D0x0c8000 rev=3D0x20 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x7e78 subvendor=3D0x1028 subdevice=3D0x0cc8 vendor =3D 'Intel Corporation' device =3D 'Meteor Lake-P Serial IO I2C Controller' class =3D serial bus none8@pci0:0:21:3: class=3D0x0c8000 rev=3D0x20 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x7e7b subvendor=3D0x1028 subdevice=3D0x0cc8 vendor =3D 'Intel Corporation' device =3D 'Meteor Lake-P Serial IO I2C Controller' class =3D serial bus With the following patch my touchpad now works: diff --git a/sys/dev/ichiic/ig4_pci.c b/sys/dev/ichiic/ig4_pci.c index 138de77c35db..874d6a9abc55 100644 --- a/sys/dev/ichiic/ig4_pci.c +++ b/sys/dev/ichiic/ig4_pci.c @@ -172,6 +172,8 @@ static int ig4iic_pci_detach(device_t dev); #define PCI_CHIP_METEORLAKE_M_I2C_1 0x7e798086 #define PCI_CHIP_METEORLAKE_M_I2C_2 0x7e508086 #define PCI_CHIP_METEORLAKE_M_I2C_3 0x7e518086 +#define PCI_CHIP_METEORLAKE_M_I2C_4 0x7e7a8086 +#define PCI_CHIP_METEORLAKE_M_I2C_5 0x7e7b8086 struct ig4iic_pci_device { uint32_t devid; @@ -288,6 +290,8 @@ static struct ig4iic_pci_device ig4iic_pci_devices[] = =3D { { PCI_CHIP_METEORLAKE_M_I2C_1, "Intel Meteor Lake-M I2C Controller-= 1", IG4_TIGERLAKE}, { PCI_CHIP_METEORLAKE_M_I2C_2, "Intel Meteor Lake-M I2C Controller-= 2", IG4_TIGERLAKE}, { PCI_CHIP_METEORLAKE_M_I2C_3, "Intel Meteor Lake-M I2C Controller-= 3", IG4_TIGERLAKE}, + { PCI_CHIP_METEORLAKE_M_I2C_4, "Intel Meteor Lake-M I2C Controller-= 4", IG4_TIGERLAKE}, + { PCI_CHIP_METEORLAKE_M_I2C_5, "Intel Meteor Lake-M I2C Controller-= 5", IG4_TIGERLAKE}, }; It looks like we are missing other ids in addition to this one. For example= I added 0x7e7a in the above although it's not in my machine. Not sure if we w= ant to do a broader investigation and import a bunch of ids that we are missing? --=20 You are receiving this mail because: You are the assignee for the bug.=