History log of /freebsd-current/sys/dev/hid/hmt.c
Revision Date Author Comments
# 1d46c8e5 02-Nov-2023 Vladimir Kondratyev <wulf@FreeBSD.org>

hmt(4): Do not require input report HID usages to be a member of TLC

Some touchpads places button usages (in HID report descriptor) in to
the 2-nd level collection rather than in to the top level one. That
confuses current code. Remove collection level check in HID report
descriptor parser to fix device detection.

Reported by: Peter Much <pmc@citylink.dinoex.sub.org>
PR: 267094
MFC after: 1 week


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4151ac9f 03-Aug-2023 Vladimir Kondratyev <wulf@FreeBSD.org>

hidbus(4): Use generic hid methods to start and stop interrupts


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# f76a0288 04-Sep-2022 Gordon Bergling <gbe@FreeBSD.org>

hid: Remove a double word in a source code comment

- s/the the/the/

MFC after: 3 days


# 7eeede15 06-May-2022 John Baldwin <jhb@FreeBSD.org>

hid: Remove unused devclass arguments to DRIVER_MODULE.


# d14bc723 09-Dec-2021 Warner Losh <imp@FreeBSD.org>

newbus: add bus_topo_assert

Add bus_topo_assert() and implmement it as GIANT_REQUIRED for the
moment. This will allow us to change more easily to a newbus-specific
lock int he future.

Sponsored by: Netflix
Reviewed by: wulf, mav, jhb
Differential Revision: https://reviews.freebsd.org/D31833


# 9d04336b 02-Sep-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

hmt(4): Add support for touchpads with no "button type" or

"maximum number of contacts" usages.

Assume touchpad to be a clickpad if it has only internal button.
Set number of contacts to 5 for touchpads and to 10 for touchscreens.
Check for fetched report length to avoid reading of stalled data.
Fixes Dell Precision 7550 laptop.

Tested by: Shawn Webb <shawn.webb_AT_hardenedbsd_DOT_org>
PR: 257992
MFC after: 2 week


# 0075742d 02-Sep-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

hmt(4): Add support for serial packet reporting mode

In Serial mode, each packet contains information that describes a
single physical contact point. Multiple contacts are streamed
serially. In this mode, devices report all contact information in a
series of packets. The device sends a separate packet for each
concurrent contact.

Serial packet reporting mode is used by post-2014 eGalax touchscreens.

Tested by: Mark Kane <mark_AT_kane_DOT_mn>
MFC after: 2 weeks


# 9d8ebe5e 02-Sep-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

hmt(4): Adapt to recent KPI changes

MFC after: 2 weeks


# cb910670 16-Aug-2021 Jack <MrLightningBolt@users.noreply.github.com>

hmt(4): Do not ignore constant usages in HID report descriptor parser

This fixes hmt to work with MELF0411 1FD2:7012 touchscreen

Obtained from: sysutils/iichid
MFC after: 1 week


# 95add157 16-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

hmt(4): Store Contact Count in separate variable.

No functional changes.

MFC after: 1 week


# 5cc21ab9 20-Jan-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

hmt: Allow I2C sampling mode support to be compiled out.


# cb022db8 10-Oct-2020 Vladimir Kondratyev <wulf@FreeBSD.org>

hid: Port multitouch hmt(4) driver to hidbus and attach to build

Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D27990


# b9b347e9 10-Oct-2020 Vladimir Kondratyev <wulf@FreeBSD.org>

hid: Copy wmt(4) to HID subsystem as a base to upcoming hmt(4) driver.