[Midnightbsd-cvs] [MidnightBSD/src] a19ae8: Backport iichid input report fixes

Lucas Holt noreply at github.com
Thu Jul 2 13:23:14 EDT 2026


  Branch: refs/heads/stable/4.1
  Home:   https://github.com/MidnightBSD/src
  Commit: a19ae8a8375ea51f79d8ad896ebfd88760afc6f4
      https://github.com/MidnightBSD/src/commit/a19ae8a8375ea51f79d8ad896ebfd88760afc6f4
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    M sys/dev/iicbus/iichid.c

  Log Message:
  -----------
  Backport iichid input report fixes

Use the HID-over-I2C advertised input length for interrupt reads, handle RESET acknowledgements as the two-byte response required by the spec, and move reset waiting until after the interrupt or sampling path is available.

This matches the relevant FreeBSD iichid fixes for newer laptop touchpads that require full-size reads to acknowledge interrupts.

AI-Assisted-by: Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: ee4f7f38fbe4f6c8d8fc73f66c98310f6f2d3bc4
      https://github.com/MidnightBSD/src/commit/ee4f7f38fbe4f6c8d8fc73f66c98310f6f2d3bc4
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    M sys/dev/iicbus/iichid.c

  Log Message:
  -----------
  Address iichid review feedback

Guard reset acknowledgement reads, validate report length against the bytes transferred, remove the debug fill, and allow normal reads after reset timeout.

AI-Assisted-by: Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 6d8c7e5e5a5afe33bf678ca013dfded6474787bc
      https://github.com/MidnightBSD/src/commit/6d8c7e5e5a5afe33bf678ca013dfded6474787bc
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    M sys/dev/iicbus/iichid.c

  Log Message:
  -----------
  Handle iichid sampling reset fallback

Mark RESET acknowledged after the sampling-mode attach read so future input reads do not remain limited to the two-byte header when the probe read returns a nonzero report.

AI-Assisted-by: Codex (GPT-5)
Signed-off-by: Lucas Holt <luke at foolishgames.com>


Compare: https://github.com/MidnightBSD/src/compare/f0c69cc49864...6d8c7e5e5a5a

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list