<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/evdev/evdev_private.h, 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>2019-03-10T20:43:08Z</updated>
<entry>
<title>MFC r344494,r344495:</title>
<updated>2019-03-10T20:43:08Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-03-10T20:43:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a919ad3a21126cde96acb565786baf1898764f8'/>
<id>urn:sha1:4a919ad3a21126cde96acb565786baf1898764f8</id>
<content type='text'>
evdev: export event device properties through sysctl interface

A big security advantage of Wayland is not allowing applications to read
input devices all the time. Having /dev/input/* accessible to the user
account subverts this advantage.

libudev-devd was opening the evdev devices to detect their types (mouse,
keyboard, touchpad, etc). This don't work if /dev/input/* is inaccessible.
With the kernel exposing this information as sysctls (kern.evdev.input.*),
we can work w/o /dev/input/* access, preserving the Wayland security model.

Submitted by:	Greg V &lt;greg@unrelenting.technology&gt;
Reviewed by:	wulf, imp
Differential Revision:	https://reviews.freebsd.org/D18694
</content>
</entry>
<entry>
<title>MFC r339823:</title>
<updated>2018-11-17T20:18:15Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-11-17T20:18:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04a7a36d95a6948ec1b1b86fe098b9fc71168bdc'/>
<id>urn:sha1:04a7a36d95a6948ec1b1b86fe098b9fc71168bdc</id>
<content type='text'>
evdev: Use console lock as evdev lock for all supported keyboard drivers.

Now evdev part of keyboard drivers does not take any locks if corresponding
input/eventN device node is not opened by userland consumers.

Do not assert console lock inside evdev to handle the cases when keyboard
driver is called from some special single-threaded context like shutdown
thread.

MFC r339824:

evdev: disable evdev if it is invoked from KDB or panic context

This allow to prevent deadlock on entering KDB if one of evdev locks is
already taken by userspace process.

Also this change discards all but LED console events produced by KDB as
unrelated to userspace.
</content>
</entry>
<entry>
<title>Change my email address to wulf@FreeBSD.org in copyright headers.</title>
<updated>2017-07-23T20:41:58Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-07-23T20:41:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e6502802828f0d9b5b54f673135f7d4079ae3b86'/>
<id>urn:sha1:e6502802828f0d9b5b54f673135f7d4079ae3b86</id>
<content type='text'>
Approved by:	gonzo (mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>evdev: Macroize common locking sequences</title>
<updated>2017-07-23T20:35:26Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-07-23T20:35:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c0a4665b8c58b5df0b0b4851733cc9ad94cff87'/>
<id>urn:sha1:4c0a4665b8c58b5df0b0b4851733cc9ad94cff87</id>
<content type='text'>
Reviewed by:	gonzo
Approved by:	gonzo (mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>evdev: style(9), sort headers alphabetically</title>
<updated>2017-07-23T20:32:54Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-07-23T20:32:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea2e26b1ed8bb6f30264e8af66bb206c7b4970fc'/>
<id>urn:sha1:ea2e26b1ed8bb6f30264e8af66bb206c7b4970fc</id>
<content type='text'>
Pointed out by:	bde
Reviewed by:	gonzo
Approved by:	gonzo (mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Implement EVDEV_FLAG_MT_AUTOREL flag (autorelease touchpoints)</title>
<updated>2016-10-08T17:59:53Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-10-08T17:59:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c736a757129a1a2c1e8e11d18daa9742f7ec0d35'/>
<id>urn:sha1:c736a757129a1a2c1e8e11d18daa9742f7ec0d35</id>
<content type='text'>
Automaticaly release (send ABS_MT_TRACKING_ID = -1) MT-slots
that has not been listed in current MT protocol type B report.

Slot is counted as listed if corresponding ABS_MT_SLOT event
has been sent regardless of other MT events.

Events are sent on SYN_REPORT event.

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
</content>
</entry>
<entry>
<title>Allow using of driver's mutex instead internal one for evdev locking.</title>
<updated>2016-10-08T17:58:26Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-10-08T17:58:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bfbd1bb744b0f1091f0cd14467ec7d8b51560bee'/>
<id>urn:sha1:bfbd1bb744b0f1091f0cd14467ec7d8b51560bee</id>
<content type='text'>
Add new API call: evdev_register_mtx which takes lock argument that
should be used instead of internal one for evdev locking. Useful for
cases if evdev_push_event() is always called with driver's lock taken
and reduces amount of lock aquisitions. This allows to avoid LOR
between ev_open/ev_close invocations and evdev_push_event() Such LOR
can happen when ev_open/ev_close methods acquire driver lock and
evdev_push_event() is called with this lock taken.

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
</content>
</entry>
<entry>
<title>const-ify struct evdev_methods</title>
<updated>2016-10-03T17:20:34Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-10-03T17:20:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5163e77faddb12c6c0485c3a407a8952174d22d4'/>
<id>urn:sha1:5163e77faddb12c6c0485c3a407a8952174d22d4</id>
<content type='text'>
Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
Suggested by:	hselasky
</content>
</entry>
<entry>
<title>Add evdev protocol implementation</title>
<updated>2016-09-11T18:56:38Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-09-11T18:56:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b3f6d6650e6a6cac434fb02249ae7252dd76c95'/>
<id>urn:sha1:2b3f6d6650e6a6cac434fb02249ae7252dd76c95</id>
<content type='text'>
evdev is a generic input event interface compatible with Linux
evdev API at ioctl level. It allows using unmodified (apart from
header name) input evdev drivers in Xorg, Wayland, Qt.

This commit has only generic kernel API. evdev support for individual
hardware drivers like ukbd, ums, atkbd, etc. will be committed later.

Project was started by Jakub Klama as part of GSoC 2014. Jakub's
evdev implementation was later used as a base, updated and finished
by Vladimir Kondratiev.

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
Reviewed by:	adrian, hans
Differential Revision:	https://reviews.freebsd.org/D6998
</content>
</entry>
</feed>
