Index | Thread | Search

From:
Mark Kettenis <mark.kettenis@xs4all.nl>
Subject:
Re: chromebook keyboards
To:
Miod Vallat <miod@online.fr>
Cc:
johannes@thyssentishman.com, bmercer@eutonian.com, tech@openbsd.org
Date:
Thu, 17 Oct 2024 00:03:40 +0200

Download raw body.

Thread
> Date: Wed, 16 Oct 2024 14:16:41 +0000
> From: Miod Vallat <miod@online.fr>
> 
> What happens on your machine is that the touchpad is also in legacy
> space (attaching as pms), and uses irq 12.
> 
> This is not handled by the pckbc@acpi attachment yet, because I was
> expecting systems with PS/2-compatible touchpad to work with the legacy
> pckbc@isa attachment, which registers the two interrupts (1 for
> keyboard, 12 for mouse). The few systems tested where pckbc@acpi is an
> improvement, have their touchpad behind i2c, as imt or ims devices).
> 
> I need to think a bit more on how to solve this - I would need the
> pckbc@acpi driver to attach to two acpi nodes, which is not something
> the BSD device model allows.

The pckbc@acpi should probably search for a node with _HID or _CID
PNP0F13 and parse it resources to find the mouse interrupt.