aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hid/hmt.c
Commit message (Collapse)AuthorAgeFilesLines
* hmt(4): Do not require input report HID usages to be a member of TLCVladimir Kondratyev2023-11-021-5/+4
| | | | | | | | | | | 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
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* hidbus(4): Use generic hid methods to start and stop interruptsVladimir Kondratyev2023-08-031-2/+2
|
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | 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
* hid: Remove a double word in a source code commentGordon Bergling2022-09-041-1/+1
| | | | | | - s/the the/the/ MFC after: 3 days
* hid: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin2022-05-061-3/+1
|
* newbus: add bus_topo_assertWarner Losh2021-12-101-2/+2
| | | | | | | | | | 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
* hmt(4): Add support for touchpads with no "button type" orVladimir Kondratyev2021-09-021-13/+15
| | | | | | | | | | | | | "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
* hmt(4): Add support for serial packet reporting modeVladimir Kondratyev2021-09-021-7/+21
| | | | | | | | | | | | | 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
* hmt(4): Adapt to recent KPI changesVladimir Kondratyev2021-09-021-75/+56
| | | | MFC after: 2 weeks
* hmt(4): Do not ignore constant usages in HID report descriptor parserJack2021-08-161-2/+2
| | | | | | | This fixes hmt to work with MELF0411 1FD2:7012 touchscreen Obtained from: sysutils/iichid MFC after: 1 week
* hmt(4): Store Contact Count in separate variable.Vladimir Kondratyev2021-08-161-12/+14
| | | | | | No functional changes. MFC after: 1 week
* hmt: Allow I2C sampling mode support to be compiled out.Vladimir Kondratyev2021-01-201-0/+10
|
* hid: Port multitouch hmt(4) driver to hidbus and attach to buildVladimir Kondratyev2021-01-071-490/+357
| | | | | Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D27990
* hid: Copy wmt(4) to HID subsystem as a base to upcoming hmt(4) driver.Vladimir Kondratyev2021-01-071-0/+1043