Skip to content

[Laptop 13] Pro haptic touchpad: expose host-triggered haptics (HID Manual Trigger / Waveform List) #322

Backlog

Description

@HeadMader

System Model or SKU

Framework Laptop 13 (Intel® Core™ Ultra Series 3)

BIOS Version

03.02

DIY Edition Information

Not relevant (touchpad firmware request)

Port/Peripheral Information

Internal haptic touchpad: PIXA3854:00 093A:1343, firmware 0x1310 (fwupd)

Standalone Operation

Full System, Standalone mode NOT enabled (normal usage)

Describe the Bug

The Laptop 13 Pro haptic touchpad gives the host no way to play a haptic effect. Only the firmware's own click feedback exists, so the OS and apps cannot use the actuator for anything else.

The touchpad's HID report descriptor has a Simple Haptic Controller collection (Usage Page 0x0E, Usage 0x01) that contains only Intensity (0x23, feature report 9, 0–100). Next to it, Digitizer Button Press Threshold (0x0D 0xB0, feature report 8) sets click force. That matches framework_tool --haptic-intensity and --click-force, which framework-system's touchpad.rs describes as write-only.

The collection has no Waveform List (0x10), Duration List (0x11) or Manual Trigger (0x21). Microsoft's Input Device Haptics Implementation Guide defines these usages for host-triggered haptics on haptic touchpads (Manual Trigger listed as mandatory). Linux has driven haptic touchpads that implement them since 6.18 (hid-multitouch haptic support, exposed to userspace through force feedback, FF_HAPTIC). Because these usages are missing, the kernel registers no force-feedback capability on this touchpad.

Steps To Reproduce

  1. Decode the touchpad's report descriptor, e.g. with hid-decode from hid-tools:
    hid-decode /sys/bus/hid/devices/0018:093A:1343.*/report_descriptor
    The Haptics part is only:
    Usage Page (Haptics), Usage (Simple Haptic Controller)
      Collection (Logical)
        Usage (Intensity), Report ID (9), Logical Min (0), Logical Max (100),
        Report Size (8), Report Count (1), Feature (Data,Var,Abs)
      End Collection
    
  2. Check the touchpad's evdev node for force feedback:
    cat /sys/class/input/eventN/device/capabilities/ff (N = the "PIXA3854:00 093A:1343 Touchpad" node) prints 0.
  3. The only haptic controls in framework_tool are --haptic-intensity and --click-force; there is no way to play a waveform.

Expected Behavior

The touchpad firmware exposes host-triggered haptics in its Haptics collection, as in Microsoft's Input Device Haptics Implementation Guide:

  • Waveform List (0x0E 0x10) with at least WAVEFORM_CLICK, plus WAVEFORM_PRESS / WAVEFORM_RELEASE (and a continuous buzz if the BOS1921 can play one)
  • Duration List (0x0E 0x11)
  • Manual Trigger (0x0E 0x21) output report
  • the existing Intensity (0x0E 0x23), optionally Repeat Count (0x0E 0x24) and Retrigger Period (0x0E 0x25)

With these, Linux exposes the touchpad as a force-feedback device and apps can play click/press/release effects. Windows apps get the same through Windows.Devices.Haptics.SimpleHapticsController. The firmware's own click feedback stays as it is.

Screenshots

No response

Operating System

Arch Linux (rolling)

Linux Kernel Version

Linux 7.3.6-arch1-1 x86_64

Additional Context

Use cases: confirming custom gestures (e.g. a long-press at the edge of the pad that opens a tool), snapping feedback in editors and design tools, alignment ticks, accessibility cues. This is what Force Touch trackpads offer on macOS, and it would make the haptic touchpad more than a click replacement on Linux, where Framework is the reference laptop.

If the full waveform set is not feasible, a documented feature or output report that plays the built-in click waveform on demand would already cover most of these.

Happy to test beta touchpad firmware on Linux.

References:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions