<div dir="ltr">Good point.<div><br></div><div>I used to append a $env{MINOR} to symlink names to avoid such ambiguities. A side effect of this approach is that symlink names would change every time the device is plugged in a different USB port, for example.<div>

<br></div><div>Would it be enough for you?</div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">CANTATE DOMINO CANTICUM NOVUM<div>QUIA MIRABILIA FECIT</div><div><br></div><div>Laércio</div></div>
</div>

<br><br><div class="gmail_quote">2014-02-14 13:58 GMT-02:00 Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On Fri, 14.02.14 13:52, Laércio de Sousa (<a href="mailto:lbsousajr@gmail.com">lbsousajr@gmail.com</a>) wrote:<br>
<br>
> This rules file tells udev to create symlinks for input devices<br>
> (keyboard and mouse, at this moment) separated by seat, so it could<br>
> be easier for one to get quickly the devpath of a given input<br>
> device attached to a given seat.<br>
><br>
> Example: the keyboard attached to seat-foo will receive a symlink<br>
> with path /dev/input/by-seat/seat-foo.kbd-event<br>
><br>
> It can be very handful specially for Xephyr-based multiseat setups,<br>
> where input devpaths must be passed via command line options<br>
> like -keybd and -mouse.<br>
<br>
</div>Hmm, modern systems tend to have multiple keyboards and mice. For<br>
example, mine has a touchscreen and a touchpad as mouse and a a couple<br>
acpi devices plus a real kbd, plus some laptop-specific keys all exposed<br>
as keyboards. Trying to create a single symlink for all of this appears<br>
to be doomed to fail?<br>
<span class="HOEnZb"><font color="#888888"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</font></span></blockquote></div><br></div>