<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/evdev, branch release/11.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2019-03-10T21:43:13Z</updated>
<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>
<entry>
<title>MFC r321397-r321399</title>
<updated>2017-10-19T20:16:40Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2017-10-19T20:16:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b99304f34f675d4d07bae220e70cfb36ed07a620'/>
<id>urn:sha1:b99304f34f675d4d07bae220e70cfb36ed07a620</id>
<content type='text'>
r321397:
evdev: style(9), sort headers alphabetically

r321398:
evdev: Macroize common locking sequences

r321399:
Change my email address to wulf@FreeBSD.org in copyright headers.

Approved by:	gonzo (mentor)
</content>
</entry>
<entry>
<title>MFC r315176-r315178</title>
<updated>2017-05-08T22:35:15Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2017-05-08T22:35:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a4e5852e32c2c3d52f07288cd5f3d4eefce6c10e'/>
<id>urn:sha1:a4e5852e32c2c3d52f07288cd5f3d4eefce6c10e</id>
<content type='text'>
r315176:
[evdev] Do not ignore result evdev_register in UI_DEV_CREATE handler

Make sure that uinput state field reflects actual state by checking
evdev_register result for errors

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
Differential Revision:	https://reviews.freebsd.org/D9320

r315177:
[evdev] Fix race condition between client's event queue reading and dropping

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
Differential Revision:	https://reviews.freebsd.org/D9320

r315178:
[evdev] Fix Right Alt and Keypad Enter event codes for atkbd(4) and kbdmux(4) drivers

Submitted by:	Vladimir Kondratiev &lt;wulf@cicgroup.ru&gt;
Differential Revision:	https://reviews.freebsd.org/D9320
</content>
</entry>
<entry>
<title>MFC r310612:</title>
<updated>2017-01-07T00:18:51Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2017-01-07T00:18:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=edb9119498b1b6a3cecc3b020b05ab2bdf30c5d1'/>
<id>urn:sha1:edb9119498b1b6a3cecc3b020b05ab2bdf30c5d1</id>
<content type='text'>
[evdev] Fix build for older versions of clang

There was report of stable/11 build failure on older versions of
FreeBSD. The problem was a reference to static variable in inline
function. Although fairly recent versions of clang can cope with this
situation just fine there is no strict requirement to make functions
in question inline, they're not in any time-critical codepath. So to
keep HEAD and 11-STABLE buildable on older FreeBSDs some of the util
functions were converted from inline to normal.

Reported by:	hselasky
</content>
</entry>
</feed>
