<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/usb/input/wmt.c, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-03-17T23:57:06Z</updated>
<entry>
<title>MFC r358824:</title>
<updated>2020-03-17T23:57:06Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-03-17T23:57:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6327cae5ddc4dd7abad83d5af5feb75ad7be2983'/>
<id>urn:sha1:6327cae5ddc4dd7abad83d5af5feb75ad7be2983</id>
<content type='text'>
wmt(4): Fix Synaptics Touch Digitizer V04 attachment

Touch Digitizer V04 report descriptor declares 'Contact Count Maximum' usage
as constant. That was not supported by descriptor parser.

PR:		232040
Reported by:	Sergei Akhmatdinov &lt;sakhmatd@darkn.space&gt;
</content>
</entry>
<entry>
<title>MFC r358895</title>
<updated>2020-03-14T22:03:49Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-03-14T22:03:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f0b46ffa3e5b93fad6c9e08644646a9f7d7231e'/>
<id>urn:sha1:1f0b46ffa3e5b93fad6c9e08644646a9f7d7231e</id>
<content type='text'>
wmt(4): Reapply r358872 (by hselasky) modified to use
maximal input report size instead of wMaxPacketSize.

If the USB frame length is set to 1024 bytes, WMT_BSIZE, the EETI controller
will pack multiple touch events in the packet and the current code will only
process the first touch event.

As a result some important events are lost like releasing the finger from the
touchscreen.

Use the maximal input report size as buffer size instead.

PR:		244718
Tested by:	Oskar Holmlund &lt;oskar.holmlund@ohdata.se&gt;, wulf
Discussed with:	hselasky
</content>
</entry>
<entry>
<title>MFC r340338:</title>
<updated>2019-01-18T20:59:06Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-01-18T20:59:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e44ac514c6159caa5341e69d005dbc5b047dec82'/>
<id>urn:sha1:e44ac514c6159caa5341e69d005dbc5b047dec82</id>
<content type='text'>
wmt(4): Add PNP record so it could be picked by devd/devmatch.
Fix uhid(4) conflict with blacklisting of multitouch HID-usages
in uhid(4) probe handler.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D17689
</content>
</entry>
<entry>
<title>wmt(4): Fix regression introduced in r337289</title>
<updated>2018-09-04T19:22:31Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-09-04T19:22:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=316086bd6c8be194ae394ae72fa3b70cf8899050'/>
<id>urn:sha1:316086bd6c8be194ae394ae72fa3b70cf8899050</id>
<content type='text'>
r337289 has a side effect of reducing usb frame 0 buffer size down to
touch report size. That broke some devices e.g. "Raydium Touch System"
which are capable of generating non-touch frames of bigger length.
Fix it with enlarging frame 0 buffer up to internal wmt(4) buffer size.

Reported by:	Roberto Fernandez Cueto &lt;roberfern@gmail.com&gt;
Tested by:	Roberto Fernandez Cueto &lt;roberfern@gmail.com&gt;
Approved by:	re (gjb)
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16772
</content>
</entry>
<entry>
<title>evdev: remove soft context from evdev methods parameter list.</title>
<updated>2018-08-13T19:00:42Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-13T19:00:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=911aed94fa3a6b7c99aae26c48c0724ada8ab787'/>
<id>urn:sha1:911aed94fa3a6b7c99aae26c48c0724ada8ab787</id>
<content type='text'>
Now softc should be retrieved from struct edvev * pointer
with evdev_get_softc() helper.

wmt(4) is a sample of driver that support both KPI.

Reviewed by:	hselasky, gonzo
Differential Revision:	https://reviews.freebsd.org/D16614
</content>
</entry>
<entry>
<title>wmt(4): Use internal function to calculate input report size</title>
<updated>2018-08-04T12:31:19Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-04T12:31:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3a3dc5b5b42fdd05c3ee036e3199eb9dc1b79507'/>
<id>urn:sha1:3a3dc5b5b42fdd05c3ee036e3199eb9dc1b79507</id>
<content type='text'>
Usbhid's hid_report_size() calculates integral size of all reports of given
kind found in the HID descriptor rather then exact size of report with given
ID as its userland counterpart does. As all input data processed by the
driver is located within the same report, calculate required driver's buffer
size with userland version, imported in one of the previous commits.
This allows us to skip zeroing of buffer on processing of each report.

While here do some minor refactoring.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>wmt(4): Read Microsoft's "Touch Hardware Quality Assurance" certificate blob</title>
<updated>2018-08-04T12:29:08Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-04T12:29:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8107f311f41934833a94303007fe6bec2a9a2e44'/>
<id>urn:sha1:8107f311f41934833a94303007fe6bec2a9a2e44</id>
<content type='text'>
if present to enable some devices like WaveShare touchscreens. Unlike
Windows we discard content of the blob. We try mimic Windows driver
behaviour from the USB device point of view.

Submitted by:	glebius (initial version)
</content>
</entry>
<entry>
<title>wmt(4): Read 'Contact count maximum' usage value from feature report</title>
<updated>2018-08-04T12:24:37Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-04T12:24:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=36584a62c7ef8d0754eb4226e0a5613159b1033a'/>
<id>urn:sha1:36584a62c7ef8d0754eb4226e0a5613159b1033a</id>
<content type='text'>
rather than from HID descriptor to match Microsoft documentation.
Fall back to HID descriptor provided value if 'Get Report' request failed.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Add support for generic MS Windows 7/8/10-compatible USB HID touchscreens</title>
<updated>2017-08-19T17:00:10Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-08-19T17:00:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76136d200da41719aad13b377d0ffcdc4ffc4b61'/>
<id>urn:sha1:76136d200da41719aad13b377d0ffcdc4ffc4b61</id>
<content type='text'>
found in many laptops.

Reviewed by:		hps, gonzo, bcr (manpages)
Approved by:		gonzo (mentor)
Differential Revision:	https://reviews.freebsd.org/D12017
</content>
</entry>
</feed>
