<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/evdev, branch release/11.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-04-26T19:43:27Z</updated>
<entry>
<title>MFC r359905:</title>
<updated>2020-04-26T19:43:27Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-04-26T19:43:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7c96a97cb0de32163c0d1d606859fbd7c118d286'/>
<id>urn:sha1:7c96a97cb0de32163c0d1d606859fbd7c118d286</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:14:52Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2020-04-22T05:14:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bab6ee2ca010d4ce030f66c4b9998830c0906e25'/>
<id>urn:sha1:bab6ee2ca010d4ce030f66c4b9998830c0906e25</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 r359428:</title>
<updated>2020-04-13T22:21:01Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-04-13T22:21:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=07a96b6cbde7ff5f9877e806fe560cd2675691f7'/>
<id>urn:sha1:07a96b6cbde7ff5f9877e806fe560cd2675691f7</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>Fix build breakage caused by r344984</title>
<updated>2019-03-10T21:43:13Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-03-10T21:43:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a669f4704500320b80327069a726dd9dfaced337'/>
<id>urn:sha1:a669f4704500320b80327069a726dd9dfaced337</id>
<content type='text'>
This is a direct commit to stable/11
</content>
</entry>
<entry>
<title>MFC r344494,r344495:</title>
<updated>2019-03-10T20:58:24Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-03-10T20:58:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9991baca942fdb8fb78a99a8f3558011e6d61ea1'/>
<id>urn:sha1:9991baca942fdb8fb78a99a8f3558011e6d61ea1</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 r340926:</title>
<updated>2019-01-18T21:25:46Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-01-18T21:25:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ec4f1498d3e47bb8ef6beef11d4b8695179e9159'/>
<id>urn:sha1:ec4f1498d3e47bb8ef6beef11d4b8695179e9159</id>
<content type='text'>
evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or.
</content>
</entry>
<entry>
<title>MFC r334555:</title>
<updated>2018-08-04T12:40:59Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2018-08-04T12:40:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8f665d3de855a4fd9f48c18a9ec9bcb7c6cfe99e'/>
<id>urn:sha1:8f665d3de855a4fd9f48c18a9ec9bcb7c6cfe99e</id>
<content type='text'>
[evdev] Sync event codes with Linux kernel 4.16
</content>
</entry>
<entry>
<title>MFC r325295:</title>
<updated>2017-12-04T21:12:05Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-12-04T21:12:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b9a5850a8cd155e875bae2b78c9cc3496611af49'/>
<id>urn:sha1:b9a5850a8cd155e875bae2b78c9cc3496611af49</id>
<content type='text'>
evdev: Lock Giant around keyboard ioctls
This fixes turning ukbd(4) LEDs on/off with evdev interface as well

MFC r325296:

evdev: Take driver's lock in cdev write handler if necessary

MFC r325297:

sysmouse(4): Fix ums(4)-style T-axis reporting via evdev protocol

- Do not report T-axis wheel events as button presses
- Reverse T-axis to match Linux
- Remove wrong comment. T-axis buttons state should be checked by level not
    by edge to allow continuous wheel tilt reporting

MFC r325298:

evdev: Disable value normalization and state filtering for SND events.

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.

MFC r325299:

evdev: Do not start/stop softrepeat callout if no clients attached

Approved by:	gonzo (mentor)
</content>
</entry>
<entry>
<title>MFC r325269:</title>
<updated>2017-12-04T20:22:26Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-12-04T20:22:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f444d8a7f0244cab6ba510d01c8b15d07184ad94'/>
<id>urn:sha1:f444d8a7f0244cab6ba510d01c8b15d07184ad94</id>
<content type='text'>
evdev: Translate KEY_102ND in evdev_scancode2key()

MFC r326020:

Fix evdev codes for slash and asterisk numpad keys of AT-keyboards

MFC r326021:

evdev: change USB scancode 0x54 from KEY_SLASH to KEY_KPSLASH

Submitted by:	dumbbell (r325269, r326021)
Approved by:	gonzo (mentor)
</content>
</entry>
<entry>
<title>MFC r325294:</title>
<updated>2017-12-04T20:09:38Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-12-04T20:09:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6e30347f18d8cf81a030ac603919dc7f1afa3963'/>
<id>urn:sha1:6e30347f18d8cf81a030ac603919dc7f1afa3963</id>
<content type='text'>
evdev: Hide "kern.evdev.rcpt_mask" sysctl if kernel is compiled
w/o EVDEV_SUPPORT as it's value has no meaning in this case.

MFC r326019:

evdev: Export EVDEV_SUPPORT kernel option through feature facility

Approved by:	gonzo (mentor)
</content>
</entry>
</feed>
