Download raw body.
qcgpio(4) X1E support based on ACPI tables
On Sun, Dec 22, 2024 at 11:45:39AM GMT, Landry Breuil wrote: > Le Sun, Dec 22, 2024 at 10:51:35AM +0100, Marcus Glocker a ?crit : > > patrick@ found a NetBSD commit which figured out how to map the GPIO > > pins based on the ACPI tables for X1E devices: > > > > https://github.com/NetBSD/src/commit/575554bd388d93cfff9174abadf2aab93fbfdf8e > > > > Currently we're only using hard coded mapping in qcgpio(4), which > > might not do the correct mapping, or miss some mappings. > > > > Following a diff which tries to adapt the NetBSD implementation in > > qcpgio(4) for X1E devices. > > > > Before I throw this diff in my attic, maybe some X1E users want to > > regression test it, or see if it even fixes some GPIO mappings. > > what could be a symptom of a non-working gpio mapping in dmesg ? missing > devices ? disappearing devices with the diff ? will try it on the hp > omnibook. The devices would still show up in dmesg, but they would stop working. Please note that in the diff debug level 1 is turned on, so you will see some additional output in your dmesg. Thanks for testing.
qcgpio(4) X1E support based on ACPI tables