On Thu, Jul 06, 2023 at 06:44:47PM +0200, Vladimir 'phcoder' Serbinenko wrote: > This patch adds support for I2C Elantech touchpad as used on Chromebooks > and some other laptops. Tested on Elemi Chromebook. Based on FreeBSD ietp > driver and OpenBSD ihidev.c driver. Ietp uses HID endpoint descriptor and > few commands from HID but is largely incompatible as reports are different > and report descriptors are missing.
> diff --git share/man/man4/ietp.4 share/man/man4/ietp.4 > new file mode 100644 > index 000000000..49782adb9 > --- /dev/null > +++ share/man/man4/ietp.4 > @@ -0,0 +1,47 @@ > +.\" $OpenBSD: ietp.4,v 1.0 2023/07/05 20:28:00 jmc Exp $ > +.\" > +.\" Copyright (c) 2016 joshua stein <j...@openbsd.org> > +.\" Copyright (c) 2023 vladimir serbinenko <phco...@gmail.com> > +.\" > +.\" Permission to use, copy, modify, and distribute this software for any > +.\" purpose with or without fee is hereby granted, provided that the above > +.\" copyright notice and this permission notice appear in all copies. > +.\" > +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES > +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF > +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR > +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES > +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN > +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF > +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. > +.\" > +.Dd $Mdocdate: July 5 2023 $ > +.Dt IETP 4 > +.Os > +.Sh NAME > +.Nm ietp > +.Nd Elantech touchpad > +.Sh SYNOPSIS > +.Cd "ietp* at iic?" > +.Cd "wsmouse* at ietp? mux 0" > +.Sh DESCRIPTION > +The > +.Nm > +driver provides support for Elantech touchpad > +devices connected over Inter-Integrated Circuit (I2C) buses. > +Access to these devices is through the > +.Xr wscons 4 > +driver. > +.Sh SEE ALSO > +.Xr iic 4 , > +.Xr wsmouse 4 > +.Sh HISTORY > +The > +.Nm > +device driver first appeared in > +.Ox 7.4 . > +.Sh AUTHORS > +The > +.Nm > +driver was written by > +.An vladimir serbineko Aq Mt phco...@gmail.com . This should be serbinenko not serbineko? Index: ietp.4 =================================================================== RCS file: /cvs/src/share/man/man4/ietp.4,v retrieving revision 1.1 diff -u -p -r1.1 ietp.4 --- ietp.4 8 Jul 2023 02:43:02 -0000 1.1 +++ ietp.4 8 Jul 2023 04:40:16 -0000 @@ -44,4 +44,4 @@ device driver first appeared in The .Nm driver was written by -.An vladimir serbineko Aq Mt phco...@gmail.com . +.An Vladimir Serbinenko Aq Mt phco...@gmail.com .