hid: Port multitouch hmt(4) driver to hidbus and attach to build
Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D27990
This commit is contained in:
parent
b9b347e9bf
commit
cb022db825
@ -183,6 +183,7 @@ MAN= aac.4 \
|
|||||||
hidbus.4 \
|
hidbus.4 \
|
||||||
hidquirk.4 \
|
hidquirk.4 \
|
||||||
hifn.4 \
|
hifn.4 \
|
||||||
|
hmt.4 \
|
||||||
hpet.4 \
|
hpet.4 \
|
||||||
${_hpt27xx.4} \
|
${_hpt27xx.4} \
|
||||||
${_hptiop.4} \
|
${_hptiop.4} \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.\" Copyright (c) 2014-2017 Vladimir Kondratyev <wulf@FreeBSD.org>
|
.\" Copyright (c) 2014-2020 Vladimir Kondratyev <wulf@FreeBSD.org>
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
.\" Redistribution and use in source and binary forms, with or without
|
.\" Redistribution and use in source and binary forms, with or without
|
||||||
@ -24,32 +24,34 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd August 19, 2017
|
.Dd August 11, 2020
|
||||||
.Dt WMT 4
|
.Dt HMT 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm wmt
|
.Nm hmt
|
||||||
.Nd MS Windows 7/8/10 - compatible USB HID multi-touch device driver
|
.Nd MS Windows 7/8/10 - compatible HID multi-touch device driver
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
To compile this driver into the kernel, place the following lines into
|
To compile this driver into the kernel, place the following lines into
|
||||||
your kernel configuration file:
|
your kernel configuration file:
|
||||||
.Bd -ragged -offset indent
|
.Bd -ragged -offset indent
|
||||||
.Cd "device wmt"
|
.Cd "device hmt"
|
||||||
.Cd "device usb"
|
.Cd "device hidbus"
|
||||||
.Cd "device hid"
|
.Cd "device hid"
|
||||||
|
.Cd "device hconf"
|
||||||
.Cd "device evdev"
|
.Cd "device evdev"
|
||||||
|
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Alternatively, to load the driver as a
|
Alternatively, to load the driver as a
|
||||||
module at boot time, place the following line in
|
module at boot time, place the following line in
|
||||||
.Xr loader.conf 5 :
|
.Xr loader.conf 5 :
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
wmt_load="YES"
|
hmt_load="YES"
|
||||||
.Ed
|
.Ed
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
driver provides support for the MS Windows 7/8/10 - compatible USB HID
|
driver provides support for the MS Windows 7/8/10 - compatible HID
|
||||||
multi-touch devices found in many laptops.
|
multi-touch devices found in many laptops.
|
||||||
.Pp
|
.Pp
|
||||||
To get multi-touch device working in
|
To get multi-touch device working in
|
||||||
@ -62,7 +64,7 @@ creates a pseudo-device file,
|
|||||||
.Pa /dev/input/eventX
|
.Pa /dev/input/eventX
|
||||||
which presents the multi-touch device as an input event device.
|
which presents the multi-touch device as an input event device.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr usb 4 ,
|
.Xr hid 4 ,
|
||||||
.Xr loader.conf 5 ,
|
.Xr loader.conf 5 ,
|
||||||
.Xr xorg.conf 5 Pq Pa ports/x11/xorg ,
|
.Xr xorg.conf 5 Pq Pa ports/x11/xorg ,
|
||||||
.Xr evdev 4 Pq Pa ports/x11-drivers/xf86-input-evdev .
|
.Xr evdev 4 Pq Pa ports/x11-drivers/xf86-input-evdev .
|
||||||
@ -75,7 +77,4 @@ driver was written by
|
|||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
.Nm
|
.Nm
|
||||||
cannot act like
|
cannot act like
|
||||||
.Xr sysmouse 4 ,
|
|
||||||
as
|
|
||||||
.Xr sysmouse 4
|
.Xr sysmouse 4
|
||||||
does not support absolute motion events.
|
|
||||||
|
@ -1820,6 +1820,7 @@ dev/hid/hid.c optional hid
|
|||||||
dev/hid/hid_if.m optional hid
|
dev/hid/hid_if.m optional hid
|
||||||
dev/hid/hidbus.c optional hidbus
|
dev/hid/hidbus.c optional hidbus
|
||||||
dev/hid/hidquirk.c optional hid
|
dev/hid/hidquirk.c optional hid
|
||||||
|
dev/hid/hmt.c optional hmt hconf
|
||||||
dev/hifn/hifn7751.c optional hifn
|
dev/hifn/hifn7751.c optional hifn
|
||||||
dev/hptiop/hptiop.c optional hptiop scbus
|
dev/hptiop/hptiop.c optional hptiop scbus
|
||||||
dev/hwpmc/hwpmc_logging.c optional hwpmc
|
dev/hwpmc/hwpmc_logging.c optional hwpmc
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -6,6 +6,7 @@ SUBDIR = \
|
|||||||
hidquirk
|
hidquirk
|
||||||
|
|
||||||
SUBDIR += \
|
SUBDIR += \
|
||||||
hconf
|
hconf \
|
||||||
|
hmt
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
9
sys/modules/hid/hmt/Makefile
Normal file
9
sys/modules/hid/hmt/Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${SRCTOP}/sys/dev/hid
|
||||||
|
|
||||||
|
KMOD= hmt
|
||||||
|
SRCS= hmt.c
|
||||||
|
SRCS+= bus_if.h device_if.h
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user