As seen in https://bugzilla.gnome.org/show_bug.cgi?id=720295 I can reproduce the problem by doing: xinput disable 9 ; sleep 5 ; xinput enable 9 With 9 being the device ID for the touchscreen. During the "sleep", touch your touchscreen in such a way that you can do a selection. The whole of the events will be replayed when re-enabling the device, instead of dropping all the events whilst disabled.
do me a favour and monitor the journal when you do that. on my t440 I can reproduce but I actually get a usb disconnect for the touchscreen. Only if the xorg device is disabled though and the touchscreen is used while disabled. Kernel power saving getting too excited maybe?
(In reply to comment #1) > do me a favour and monitor the journal when you do that. on my t440 I can > reproduce but I actually get a usb disconnect for the touchscreen. Only if > the xorg device is disabled though and the touchscreen is used while > disabled. Kernel power saving getting too excited maybe? It doesn't get disconnected at all. The only warning I got was: Aug 04 12:53:54 nuvo gdm-Xorg-:0[782]: (EE) [dix] eGalax Inc. eGalaxTouch EXC7903-66v03_T1: unable to find touch point 0 But using the touchscreen a little and running the test afterwards, I could reproduce the problem without errors.
Created attachment 104052 [details] [review] 0001-Make-the-slot-state-per-slot.patch Give this one a try please. Don't know where the events would be coming from since we close the fds and everything, but this one quashes the warning you've been seeing and may fix the other issue too.
(In reply to comment #3) > Created attachment 104052 [details] [review] [review] > 0001-Make-the-slot-state-per-slot.patch > > Give this one a try please. Don't know where the events would be coming from > since we close the fds and everything, but this one quashes the warning > you've been seeing and may fix the other issue too. This doesn't solve the warning, or the events replay. I applied the patch on top of the xorg-x11-drv-evdev-2.9.0-2.fc22.x86_64 package.
punting to benjamin for now, he can reproduce it
Update: this looks like a bug in the kernel USB stack
The kernel patch has been accepted and is scheduled for v3.19: https://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/commit/?h=for-3.19/upstream&id=b905811a49bcd6e6726ce5bbb591f57aaddfd3be
(In reply to Benjamin Tissoires from comment #7) > The kernel patch has been accepted and is scheduled for v3.19: > > https://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/commit/?h=for-3. > 19/upstream&id=b905811a49bcd6e6726ce5bbb591f57aaddfd3be Closing as NOTOURBUG, as it's not an Xorg bug. Thanks Benjamin!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.