<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/evdev/cdev.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-04-13T22:18:49Z</updated>
<entry>
<title>MFC r359428:</title>
<updated>2020-04-13T22:18:49Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-04-13T22:18:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be965bfdff8c6b7480b4f47fa37bfe5a27264130'/>
<id>urn:sha1:be965bfdff8c6b7480b4f47fa37bfe5a27264130</id>
<content type='text'>
evdev: Add COMPAT_FREEBSD32 support for amd64 arch

Incompatibility between i386 and amd64 evdev ABIs was caused by presence of
'struct timeval' in evdev protocol. Replace it with 'struct timeval32' for
32 bit binaries.

Big-endian platforms may require additional work due to bitstr_t (array of
unsigned longs) usage in ioctl interface.

MFC r359429:
evdev: return error rather than zero-length data on blocked read()
if blocked process has been woken up by evdev device destruction.
</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>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>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: 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>[evdev] Fix race condition between client's event queue reading and dropping</title>
<updated>2017-03-12T19:27:44Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2017-03-12T19:27:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6bc7e1b21b06d948f88504879fb525d7a845e8d7'/>
<id>urn:sha1:6bc7e1b21b06d948f88504879fb525d7a845e8d7</id>
<content type='text'>
Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D9320
</content>
</entry>
<entry>
<title>Remove semicolon from the end of the macro definition</title>
<updated>2016-09-12T17:29:20Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-09-12T17:29:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e0cfa1bc82ffcf25f8e668c97bb0a0519284cd20'/>
<id>urn:sha1:e0cfa1bc82ffcf25f8e668c97bb0a0519284cd20</id>
<content type='text'>
Reported by: hans
</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>
