X loses wireless input devices

Dan Nicholson dbn.lists at gmail.com
Tue Jun 12 15:32:20 PDT 2012


On 6/12/12, Yan Seiner <yan at seiner.com> wrote:
>
> On Mon, June 11, 2012 7:56 pm, Peter Hutterer wrote:
>>
>> 1.12 has the ID_SEAT support, so if you set that property through udev
>> the
>> server only adds the matching ones. You'd have to then start the X server
>> with -seat, see the commit message to
>> 159b03e13760920274b573a2bccdbf6a79f059e7 for some detail.
>>
>
> I have 1.12 installed, and -seat NNN seems to be working; at least when I
> use -seat no devices are detected.  I'm having 2 issues:
>
> 1.  I'm not familiar with the xorg git repository, and I can't figure out
> how/where to find the commit message you refer to.

http://cgit.freedesktop.org/xorg/xserver/commit/?id=159b03e1376

> 2.  I can't find any examples of setting properties or tags in udev.
> Ubuntu does not use systemd, so I'm stuck doing this manually.
>
> Here's one attempt; the symlink is created but X doesn't see any evdev
> devices.
>
> SUBSYSTEM=="input", ACTION=="add",
> ATTRS{phys}=="usb-0000:00:02.1-2.4.4.4/input0",
> SYMLINK+="input/seat/jason/mouse"
> SUBSYSTEM=="input", ACTION=="add",
> ATTRS{phys}=="usb-0000:00:02.1-2.4.4.4/input0", ID_SEAT+="jason"
> SUBSYSTEM=="input", ACTION=="add",
> ATTRS{phys}=="usb-0000:00:02.1-2.4.4.4/input0", TAG+="seat"

Here are the systemd seat rules:

http://cgit.freedesktop.org/systemd/systemd/tree/src/login/71-seat.rules.in
http://cgit.freedesktop.org/systemd/systemd/tree/src/login/73-seat-late.rules.in

--
Dan



More information about the xorg mailing list