<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev/hid, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/hid?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/hid?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-04T23:03:43Z</updated>
<entry>
<title>HID parser could overflow if a malicious device (potentially USB) provided</title>
<updated>2020-06-04T23:03:43Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-06-04T23:03:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8cdb15fb9fef2d7ac5c96516fc49393c9fc7abfa'/>
<id>urn:sha1:8cdb15fb9fef2d7ac5c96516fc49393c9fc7abfa</id>
<content type='text'>
too many PUSH. report from Andy Nguyen @ google.
fix by jcs
This is errata 6.6/030_hid and 6.7/008_hid
</content>
</entry>
<entry>
<title>add umstc(4) for Microsoft Surface Type Cover keyboards</title>
<updated>2020-05-31T18:15:36Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2020-05-31T18:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=de1eb1375deacff22dafa36d8ebe007a1dfb98f7'/>
<id>urn:sha1:de1eb1375deacff22dafa36d8ebe007a1dfb98f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When walking the HID descriptor, even though we filter for hid_input</title>
<updated>2020-02-10T14:35:08Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2020-02-10T14:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8945acc287c32d5270939c2b49dfd9022ee4fdd4'/>
<id>urn:sha1:8945acc287c32d5270939c2b49dfd9022ee4fdd4</id>
<content type='text'>
we will get hid_collection and hid_endcollection items.  Since hid_
endcollection apparently returns the usage of the previous item, it
was possible that we "see" two items for the same usage.  Make sure
that we only accept hid_input items.  Both hidms and hidkbd do some-
thing similar, fixes the Pinebook Pro's trackpad.

ok kettenis@
</content>
</entry>
<entry>
<title>Add fido(4), a HID driver for FIDO/U2F security keys</title>
<updated>2019-12-17T13:08:54Z</updated>
<author>
<name>reyk</name>
<email>reyk@openbsd.org</email>
</author>
<published>2019-12-17T13:08:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1ba9f8e24a930839b47e1417a70ad7b6ffac57d7'/>
<id>urn:sha1:1ba9f8e24a930839b47e1417a70ad7b6ffac57d7</id>
<content type='text'>
While FIDO/U2F keys were already supported by the generic uhid(4)
driver, this driver adds the first step to tighten the security of
FIDO/U2F access.  Specifically, users don't need read/write access to
all USB/HID devices anymore and the driver also improves integration
with pledge(2) and unveil(2): It is pledge-friendly because it doesn't
require any ioctls to discover the device and unveil-friendly because
it uses a single /dev/fido/* directory for its device nodes.

It also allows to support FIDO/U2F in firefox without further
weakening the "sandbox" of the browser.  Firefox does not have a
proper privsep design and many operations, such as U2F access, are
handled directly by the main process.  This means that the browser's
"fat" main process needs direct read/write access to all USB HID
devices, at least on other operating systems.  With fido(4) we can
support security keys in Firefox under OpenBSD without such a
compromise.

With this change, libfido2 stops using the ioctl to query the device
vendor/product and just assumes "OpenBSD" "fido(4)" instead.  The
ioctl is still supported but there was no benefit in obtaining the
vendor product or name; it also allows to use libfido2 under pledge.

With feedback from deraadt@ and many others
OK kettenis@ djm@ and jmc@ for the manpage bits
</content>
</entry>
<entry>
<title>Add support for button 2 and 3 to imt(4).</title>
<updated>2019-11-08T01:20:22Z</updated>
<author>
<name>yasuoka</name>
<email>yasuoka@openbsd.org</email>
</author>
<published>2019-11-08T01:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=43056ea13708c559b500ff9106919e88bdb025fe'/>
<id>urn:sha1:43056ea13708c559b500ff9106919e88bdb025fe</id>
<content type='text'>
ok jcs
</content>
</entry>
<entry>
<title>Back out 1.4, it broke things</title>
<updated>2018-09-05T16:34:58Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2018-09-05T16:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a152958512f308afc63273a2baac73e466ba2c39'/>
<id>urn:sha1:a152958512f308afc63273a2baac73e466ba2c39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>For touchscreen devices, use the first HUG_X/Y usage pages found</title>
<updated>2018-09-01T20:48:00Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2018-09-01T20:48:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cecb02cd4eb9c092e59ac7b37bad207101e1a50f'/>
<id>urn:sha1:cecb02cd4eb9c092e59ac7b37bad207101e1a50f</id>
<content type='text'>
when looking for logical min/max of screen.

ok kettenis
</content>
</entry>
<entry>
<title>Add umt(4) for USB Windows Precision Touchpad devices</title>
<updated>2018-08-25T20:31:31Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2018-08-25T20:31:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=737d705b8780db06a36e2cfc49360998fb7264ee'/>
<id>urn:sha1:737d705b8780db06a36e2cfc49360998fb7264ee</id>
<content type='text'>
Based on imt(4)

Rename HIDMT_INPUT_MODE_MT to HIDMT_INPUT_MODE_MT_TOUCHPAD

ok deraadt
</content>
</entry>
<entry>
<title>Move HID-&gt;bus constant conversion for HID report types out of ihidev</title>
<updated>2018-08-25T18:32:05Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2018-08-25T18:32:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=253b28d04b9c6635c4d2e127060005b0bf7c3471'/>
<id>urn:sha1:253b28d04b9c6635c4d2e127060005b0bf7c3471</id>
<content type='text'>
into hidmt.

The HID code uses hid_feature, hid_input, and hid_output constants
to refer to report types internally that then need to be converted
to their bus-level counterparts before actually getting sent out (so
hid_feature becomes UHID_FEATURE_REPORT for USB,
I2C_HID_REPORT_TYPE_FEATURE for i2c).

This conversion was hard-coded in ihidev but ihidev_[gs]et_report
should assume the type passed is already an i2c-level define, not a
hid one.  This is how uhidev does it.

Add a conversion routine callback that any hidmt callers need to set
so that hidmt can convert hid constants to the bus-level versions.

Also add a similar conversion function to uhidev.

ok deraadt
</content>
</entry>
<entry>
<title>define WSMOUSE_TYPE_TOUCHPAD so non-elantech drivers can stop</title>
<updated>2018-07-30T15:56:30Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2018-07-30T15:56:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=57f285d3fef5a05fcb2a5f30803337c9a941be72'/>
<id>urn:sha1:57f285d3fef5a05fcb2a5f30803337c9a941be72</id>
<content type='text'>
claiming to be elantech devices
</content>
</entry>
</feed>
