From: Guido Trentalancia via Bugspray Bot <bugbot@kernel.org>
To: linux-gpio@vger.kernel.org
Subject: Re: PixArt touchpad not detected due to wrong pinctrl
Date: Sun, 27 Apr 2025 20:05:21 +0000 [thread overview]
Message-ID: <20250427-b220056c18-04212d3d3a26@bugzilla.kernel.org> (raw)
In-Reply-To: <20250425-b220056c0-ca0f4862134d@bugzilla.kernel.org>
Guido Trentalancia writes via Kernel.org Bugzilla:
Andy, the patch that Ariel provided did sort the issue of I2C PIXA touchpad detection, although it's pretty clear that it uses duplicated pin numbering that needs proper grouping and ordering within the existing communities.
So Ariel intuition sounds correct to me, in that the pin definitions for I2C SDA and SCL lines are missing in the Alder Lake pinctrl driver.
From an end-user point of view it's illogical and not intuitive that one has to use a kernel module targeting another chipset in order for I2C device detection to work properly.
Steps to reproduce:
- grab an Intel Alder Lake based laptop using the PixArt touchpad from the list
provided at:
https://linux-hardware.org/?id=ps/2:3848-3848-pixa3848-00-093a-touchpad
- build a kernel with the pinctrl-alderlake module using the
CONFIG_PINCTRL_ALDERLAKE kernel configuration option: this is what a normal
end user does
- install the newly built kernel and reboot
- start an X session and realize that the touchpad is not working or otherwise
use "dmesg | grep -i input" to realize from the kernel log that the I2C
touchpad has not been detected
Steps to resolve the issue:
- apply any of the patches provided in this bug report
- rebuild the kernel, install it and reboot
- start an X session or type "dmesg | grep -i input" and realize that the I2C
PixArt touchpad is not detected, as the Alder Lake pinctrl driver now
includes the definitions for the I2C SDA and SCL lines that were missing in
the original version of the kernel Alder Lake pinctrl module
Steps that might possibly lead to the creation of a proper patch:
- edit the drivers/pinctrl/intel/pinctrl-alderlake.c kernel module source code
- ask Intel to kindly provide the official documentation for the Alder Lake PCH
- add the definition for the 4 I2C SDA and SCL lines in the proper group and
community: for example in the Tiger Lake driver that was group GPP_H and
community 1
- modify the bounds in the structures at the bottom of the kernel module source
code in order to account for the newly added I2C SDA and SCL lines
I believe marking this as RESOLVED INVALID is not the way forward.
View: https://bugzilla.kernel.org/show_bug.cgi?id=220056#c18
You can reply to this message to join the discussion.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
next prev parent reply other threads:[~2025-04-27 20:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-25 18:25 PixArt touchpad not detected due to wrong pinctrl Guido Trentalancia via Bugspray Bot
2025-04-26 20:00 ` Ariel Simulevski via Bugspray Bot
2025-04-26 20:40 ` Guido Trentalancia via Bugspray Bot
2025-04-26 21:50 ` Guido Trentalancia via Bugspray Bot
2025-04-26 21:50 ` Guido Trentalancia via Bugspray Bot
2025-04-26 22:05 ` Ariel Simulevski via Bugspray Bot
2025-04-26 22:40 ` Guido Trentalancia via Bugspray Bot
2025-04-26 22:40 ` Guido Trentalancia via Bugspray Bot
2025-04-26 23:00 ` Ariel Simulevski via Bugspray Bot
2025-04-27 9:00 ` Andy Shevchenko via Bugspray Bot
2025-04-27 9:25 ` Andy Shevchenko via Bugspray Bot
2025-04-27 11:40 ` Ariel Simulevski via Bugspray Bot
2025-04-27 12:15 ` Guido Trentalancia via Bugspray Bot
2025-04-27 19:00 ` Andy Shevchenko via Bugspray Bot
2025-04-27 14:55 ` Guido Trentalancia via Bugspray Bot
2025-04-27 19:00 ` Andy Shevchenko via Bugspray Bot
2025-04-27 16:30 ` Ariel Simulevski via Bugspray Bot
2025-04-27 19:05 ` Andy Shevchenko via Bugspray Bot
2025-04-27 20:05 ` Guido Trentalancia via Bugspray Bot [this message]
2025-04-28 6:30 ` Andy Shevchenko via Bugspray Bot
2025-04-28 7:55 ` Guido Trentalancia via Bugspray Bot
2025-04-28 8:40 ` Andy Shevchenko via Bugspray Bot
2025-04-28 10:05 ` Guido Trentalancia via Bugspray Bot
2025-04-28 10:55 ` Andy Shevchenko via Bugspray Bot
2025-04-28 11:00 ` Ariel Simulevski via Bugspray Bot
2025-04-28 16:40 ` Andy Shevchenko via Bugspray Bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250427-b220056c18-04212d3d3a26@bugzilla.kernel.org \
--to=bugbot@kernel.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.