Re: [PATCH xf86-input-libinput] man: note that we don't do /dev/input/by-id or /dev/input/by-path

2018-03-19 Thread Adam Jackson
On Mon, 2018-03-19 at 10:04 +1000, Peter Hutterer wrote:
> For logind-setups we need to match the path libinput wants to open with the
> Option Device path that the device has so we know when to return the
> server-fd. This doesn't work for by-id or by-path because libinput resolves
> those (through udev) to the actual eventX node so our paths look different
> when they are the same device.
> 
> This could be fixed but since this is easy enough to work around with a
> InputClass section and rather a niche case, it's not really worth the effort.
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=105562
> 
> Signed-off-by: Peter Hutterer 

Reviewed-by: Adam Jackson 

- ajax
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PATCH xf86-input-libinput] man: note that we don't do /dev/input/by-id or /dev/input/by-path

2018-03-18 Thread Peter Hutterer
For logind-setups we need to match the path libinput wants to open with the
Option Device path that the device has so we know when to return the
server-fd. This doesn't work for by-id or by-path because libinput resolves
those (through udev) to the actual eventX node so our paths look different
when they are the same device.

This could be fixed but since this is easy enough to work around with a
InputClass section and rather a niche case, it's not really worth the effort.

https://bugs.freedesktop.org/show_bug.cgi?id=105562

Signed-off-by: Peter Hutterer 
---
 man/libinput.man | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/man/libinput.man b/man/libinput.man
index 2725390..ec0f439 100644
--- a/man/libinput.man
+++ b/man/libinput.man
@@ -381,6 +381,12 @@ it takes left-handed-ness into account.
 .TP
 This feature is provided by this driver, not by libinput.
 
+.SH BUGS
+This driver does not work with \fBOption \*qDevice\*q\fR set to an event
+node in \fI/dev/input/by-id\fR and \fI/dev/input/by-path\fR. This can be
+usually be worked by using \fBSection \*qInputClass\*q\fR with an
+appropriate \fBMatch*\fR statement in the __xconfigfile__(__filemansuffix__).
+
 .SH AUTHORS
 Peter Hutterer
 .SH "SEE ALSO"
-- 
2.14.3

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel