xinput --disable/xinput --enable fixes for synaptics

Peter Hutterer peter.hutterer at who-t.net
Sun Feb 23 14:02:25 PST 2014


On Sat, Feb 22, 2014 at 01:44:36AM -0800, Keith Packard wrote:
> You really don't want to know, but I was disabling/enabling synaptics
> repeatedly during login on my new machine. I noticed that the X server
> was slowing growing more and more fds attached to the device, then I
> noticed that the device wasn't actually working, even if I did xinput
> --enable.
> 
> The first patch closes the device when the DeviceOnHook fails:
> 
>  [PATCH 1/2] Close device if DeviceOnHook fails
> 
> The second patch fixes the evdev DeviceOnHook to not fail by making
> sure libevdev has the new fd before we try to grab the device:
> 
>  [PATCH 2/2] When re-opening evdev, set the fd before trying to grab

both merged and pushed, thanks.

Cheers,
   Peter


More information about the xorg-devel mailing list