<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/evdev/evdev.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2026-06-30T16:51:57Z</updated>
<entry>
<title>evdev: use a prometheus-safe label for ev_sysctl_tree</title>
<updated>2026-06-30T16:51:57Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2026-06-30T16:51:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cb8bda40695f5d402f334f48795b1ab27b72dce5'/>
<id>urn:sha1:cb8bda40695f5d402f334f48795b1ab27b72dce5</id>
<content type='text'>
Prometheus doesn't allow spaces, let's normalize this to what we use
elsewhere for consistency.  The sysctl exporter could probably do this
itself, but let's decouple that from the immediate problem: matching the
label between the exported data and in-tree is nice for greppability.

PR:		296179
Reviewed by:	asomers, wulf
Differential Revision:	https://reviews.freebsd.org/D57966
</content>
</entry>
<entry>
<title>evdev: add devnum sysctl</title>
<updated>2026-06-14T16:34:51Z</updated>
<author>
<name>Quentin Thébault</name>
<email>quentin.thebault@defenso.fr</email>
</author>
<published>2026-06-14T16:34:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=746c374aa94b46712e6defb3ab56dd2d6ad8db64'/>
<id>urn:sha1:746c374aa94b46712e6defb3ab56dd2d6ad8db64</id>
<content type='text'>
Add a sysctl entry for the evdev device number (devnum) to allow
libudev-devd to populate the corresponding device information
fields (MAJOR and MINOR) when running in a jail with no input devices
exposed through devfs.

Signed-off-by: Quentin Thébault &lt;quentin.thebault@defenso.fr&gt;

Reviewed by:	wulf
Sponsored by:	Defenso
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D56968
</content>
</entry>
<entry>
<title>evdev: Allow setting of character device ownership and access mode</title>
<updated>2025-12-01T20:42:14Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2025-12-01T20:42:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ecccc9d99901dd874e8d122853026d7c28fa4fcf'/>
<id>urn:sha1:ecccc9d99901dd874e8d122853026d7c28fa4fcf</id>
<content type='text'>
by device driver. That is required as game pad and joystick events have
to be accessible by ordinary users.

MFC after:	1 month
</content>
</entry>
<entry>
<title>sysmouse(4): Add wsp(4)-style T-Axis reporting.</title>
<updated>2025-03-07T17:53:35Z</updated>
<author>
<name>Joshua Rogers</name>
<email>Joshua@Joshua.Hu</email>
</author>
<published>2025-03-07T17:53:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8b04f07eda12badee0617508c37a0d9506acad24'/>
<id>urn:sha1:8b04f07eda12badee0617508c37a0d9506acad24</id>
<content type='text'>
Neither the ums(4) nor psm(4) reporting can be used by the wsp(4)
driver, as they rely on static-length movements, while wsp(4) may need
to scroll in large amounts per evdev event push.

This style uses a false button-5 press as an indicator that the z-axis
movement is a horizontal scroll, otherwise a vertical scroll.

Signed-off-by: Joshua Rogers &lt;Joshua@Joshua.Hu&gt;
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>urn:sha1:95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>evdev: Extend EVIOCGRAB ioctl scope to cover kbd interface</title>
<updated>2022-11-18T23:54:46Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2022-11-18T23:54:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=183088934a6c4384e45ac6d01c04754e0d7a991c'/>
<id>urn:sha1:183088934a6c4384e45ac6d01c04754e0d7a991c</id>
<content type='text'>
of various keyboard drivers.
EVIOCGRAB ioctl execution on /dev/input/event# device node gains
exclusive access to this device to caller. It is used mostly for
development purposes and remote control software. See e.g.
https://reviews.freebsd.org/D30020 which is the reason of creation
of this change.
Keyboard grabbing is disabled in KDB and during panics.

MFC with:	4a0db5e2920c
Tested by:	corvink
Differential revision:	https://reviews.freebsd.org/D30542
</content>
</entry>
<entry>
<title>evdev: Extend EVIOCGRAB ioctl scope to cover sysmouse interface</title>
<updated>2022-11-17T21:48:42Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2022-11-17T21:48:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4a0db5e2920c0e0df52d6888bdd732df95706dfc'/>
<id>urn:sha1:4a0db5e2920c0e0df52d6888bdd732df95706dfc</id>
<content type='text'>
of psm(4), ums(4) and sysmouse(4) drivers.
EVIOCGRAB ioctl execution on /dev/input/event# device node gains
exclusive access to this device to caller. It is used mostly for
development purposes and remote control software. See e.g.
https://reviews.freebsd.org/D30020 which is the reason of creation
of this change.

MFC after:	2 weeks
Tested by:	corvink
Differential revision:	https://reviews.freebsd.org/D30542
</content>
</entry>
<entry>
<title>evdev: Add support for automatic MT protocol type A to type B conversion.</title>
<updated>2021-08-24T22:53:56Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-08-24T22:53:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d056693d7bc6c1b5f2c1612e5b34807f173e21c7'/>
<id>urn:sha1:d056693d7bc6c1b5f2c1612e5b34807f173e21c7</id>
<content type='text'>
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>evdev: Add implicit mode for touch tracking.</title>
<updated>2021-08-24T22:52:37Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-08-24T22:52:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f76051c7dabe952b75127a8031d87d78b603be20'/>
<id>urn:sha1:f76051c7dabe952b75127a8031d87d78b603be20</id>
<content type='text'>
In implicit mode assignment of slot number and tracking id is performed
automatically on each synchronization requested by device driver.

This is done with creation of intermediate buffer for multitouch events.
This buffer holds untracked events until synchronization is requested by
device driver. It is needed as touch assigment requires
knowledges of all touch positions pushed in current and previous reports.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>evdev: Make MT tracking IDs monotonically increasing sequence.</title>
<updated>2021-08-24T22:48:33Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-08-24T22:48:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=66bd52f5e241bd2548015f847f12cdff69176c40'/>
<id>urn:sha1:66bd52f5e241bd2548015f847f12cdff69176c40</id>
<content type='text'>
MFC after:	2 weeks
</content>
</entry>
</feed>
