[systemd-devel] [PATCH] Ship new udev rules file to create per-seat symlinks for input devices

Lennart Poettering lennart at poettering.net
Fri Feb 14 07:58:44 PST 2014


On Fri, 14.02.14 13:52, Laércio de Sousa (lbsousajr at gmail.com) wrote:

> This rules file tells udev to create symlinks for input devices
> (keyboard and mouse, at this moment) separated by seat, so it could
> be easier for one to get quickly the devpath of a given input
> device attached to a given seat.
> 
> Example: the keyboard attached to seat-foo will receive a symlink
> with path /dev/input/by-seat/seat-foo.kbd-event
> 
> It can be very handful specially for Xephyr-based multiseat setups,
> where input devpaths must be passed via command line options
> like -keybd and -mouse.

Hmm, modern systems tend to have multiple keyboards and mice. For
example, mine has a touchscreen and a touchpad as mouse and a a couple
acpi devices plus a real kbd, plus some laptop-specific keys all exposed
as keyboards. Trying to create a single symlink for all of this appears
to be doomed to fail?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list