<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/evdev/evdev.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-10-20T08:29:28Z</updated>
<entry>
<title>MFC r366533:</title>
<updated>2020-10-20T08:29:28Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-10-20T08:29:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a4cac1ca371f8ad06b5f0fa120a83537982e83d'/>
<id>urn:sha1:8a4cac1ca371f8ad06b5f0fa120a83537982e83d</id>
<content type='text'>
Allow  evdev's rcpt_mask and sysmouse_t_axis parameters to be specified in
/boot/loader.conf .

Sponsored by:		Mellanox Technologies // NVIDIA Networking
</content>
</entry>
<entry>
<title>MFC r360126, r360132: Change kern.evdev.rcpt_mask to 12 by default</title>
<updated>2020-05-04T18:40:56Z</updated>
<author>
<name>Niclas Zeising</name>
<email>zeising@FreeBSD.org</email>
</author>
<published>2020-05-04T18:40:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4e5309dd6b0974a0e5877dee5a4668146bc10ae9'/>
<id>urn:sha1:4e5309dd6b0974a0e5877dee5a4668146bc10ae9</id>
<content type='text'>
Original commit messages:
Change kern.evdev.rcpt_mask from 3 to 12 by default.  This makes us much
more evdev-friendly, and will prevent everyone using xorg and wayland with
evdev devices (the default) from needing to change this locally.

powerpc32 still uses the old value for the keyboard part, becaues the adb
keyboard driver used there is not evdev compatible.

In r360126, I meant to have a different mask only on powerpc, not powerpc64.
Update the check to check that we're not compiling for powerpc64.

Approved by:	wulf (implicit, mfc)
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D24370
</content>
</entry>
<entry>
<title>MFC r359905:</title>
<updated>2020-04-26T19:42:40Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-04-26T19:42:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7517db71ca8fb0121ed935d3454393269df519c'/>
<id>urn:sha1:f7517db71ca8fb0121ed935d3454393269df519c</id>
<content type='text'>
[evdev] Use proper mutex reference in autorepeat callout initialization.

This fixes panic occuring when evdev key autorepeat is enabled by driver
which initializes evdev with external mutex.
</content>
</entry>
<entry>
<title>MFC r360104: Use LIST_FOREACH_SAFE instead of LIST_FOREACH as we are</title>
<updated>2020-04-22T05:08:42Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2020-04-22T05:08:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cb16818ec33199ca58095b4cb4a58d73aabac86'/>
<id>urn:sha1:4cb16818ec33199ca58095b4cb4a58d73aabac86</id>
<content type='text'>
removing elements in the middle.

This fixes a panic when detaching USB mouse.

PR:		245732
Reviewed by:	wulf
</content>
</entry>
<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>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>evdev: Export EVDEV_SUPPORT kernel option through feature facility</title>
<updated>2017-11-20T19:17:43Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-11-20T19:17:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=303dbb854fe8bfb281fc78a5ec1053104e0b748f'/>
<id>urn:sha1:303dbb854fe8bfb281fc78a5ec1053104e0b748f</id>
<content type='text'>
Suggested by:	netchild
Reviewed by:	gonzo
Approved by:	gonzo (mentor)
MFC after:	1 week
</content>
</entry>
<entry>
<title>evdev: Do not start/stop softrepeat callout if no clients attached</title>
<updated>2017-11-01T22:37:43Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-11-01T22:37:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37ff33454873d8639d10dc5c72d76fb3a1eb540f'/>
<id>urn:sha1:37ff33454873d8639d10dc5c72d76fb3a1eb540f</id>
<content type='text'>
Reviewed by:		gonzo
Approved by:		gonzo (mentor)
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D12676
</content>
</entry>
<entry>
<title>evdev: Disable value normalization and state filtering for SND events.</title>
<updated>2017-11-01T22:33:44Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-11-01T22:33:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6e809423fde2f5ce02b9fef5910c34e434e7c36'/>
<id>urn:sha1:c6e809423fde2f5ce02b9fef5910c34e434e7c36</id>
<content type='text'>
Some events can take sound pitch as a value so can not be represented
as binary on/off events. Tracking for on/off state is left in place
as it is a part of the evdev API.

Reviewed by:		gonzo
Approved by:		gonzo (mentor)
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D12676
</content>
</entry>
</feed>
