OpenBoot
Draft: this page is not reviewed yet.

Input on the M5 SeriesDraft

The generic part of this stream (binding, layering, registry values, build, host tests) is described on Input driver.

Hardware on this generation#

The built-in keyboard and trackpad are not USB or standard HID devices. They sit behind an input coprocessor that the boot code finds in the device tree at /arm-io/mtp, with its IOMMU at /arm-io/dart-mtp. Input reports reach the host through a mailbox and DockChannel windows. Device-specific values in the Windows driver (hardware ids, register layout, firmware names) were taken from the M5 Pro (T6050); check each of them on another SoC of this generation before relying on it.

How the code reaches it#

  • Transport. The Windows driver polls the input coprocessor's mailbox and DockChannel windows from a 4 ms timer. It never writes the DockChannel transmit registers.
  • Ownership. The input coprocessor is claimed from EL2 through a hypercall at start, so the EL2 layer and the guest do not both drive it.
  • Boot code. The boot code contains read-only probes of the coprocessor and its IOMMU (openboot/src/ui_mtp_probe.c); they never write a device register.

Firmware and tunables#

The trackpad needs vendor firmware. The firmware is not in the repository; the boot-image build takes it from your own machine (MTFW_PLIST) or builds without it (MTFW_NONE=1, keyboard only). See Build and host tests. Without the firmware the trackpad does not work.

A release build (OB_PROFILE=release) never carries the trackpad firmware: the build forces MTFW_NONE=1 and refuses MTFW_PLIST. The installer reads the firmware from your own macOS and seals it into the measured install slot (tp_off, tp_size, tp_sha256); the boot prints mtfw: load ok src=slot when that blob loaded, and mtfw: blob none (no slot blob) when the slot holds none (the trackpad then stays off, the keyboard works). A development image (the default profile) keeps the embedded blob as a fallback.

Status#

Device Mac17,8 (J716s) (descriptor tier supported):

Feature State Evidence and notes
Built-in keyboard works Hardware results, area "Built-in keyboard". Keyboard reports on raw EL2, and the keyboard types in Windows Setup.
Built-in trackpad in Windows experimental The only evidence is raw EL2 (touch reports and pointer events). There is no result for the trackpad in Windows: the Windows driver's default Collections value (0x1) switches on the keyboard only. The trackpad needs firmware taken from the machine's own macOS.

Device T6051 on J716s (unverified) (descriptor tier experimental):

Feature State Evidence and notes
Built-in keyboard - -
Built-in trackpad in Windows - -

The words are defined in Status words. The full matrix is on the status page.

Only the hardware results are a source for this section (see the hardware facts policy). They record, on an M5 Pro:

  • the internal keyboard and trackpad work on raw EL2, with keyboard reports, touch reports and pointer events, and no DockChannel desynchronisation over a 2300 second run;
  • the keyboard types in Windows Setup;
  • the input core sleeps when idle.

The record does not say which Windows driver produced each line. It does not cover the Fn layer, the Precision Touchpad reports, palm rejection or the mouse fallback, and it has no result for an installed Windows.

Not verified or unknown#

  • No published hardware result for the trackpad as a Precision Touchpad in an installed Windows.
  • Pointer scaling and palm-rejection thresholds in the code are marked in its comments as inferred, not confirmed.
  • The T6051 descriptor has never been run; nothing here applies to it.
  • No other generation has been tried.