Re: [PATCH libinput 12/17] evdev: don't resume a removed device

2014-09-14 Thread Hans de Goede
Hi, On 09/03/2014 04:03 AM, Peter Hutterer wrote: > A device may disappear and a new device may re-appear with the same device > node while the original device is suspended. Prevent a device resume to open > the wrong device. > > In a path context, a changing syspath is the only indicator we get

[PATCH libinput 12/17] evdev: don't resume a removed device

2014-09-02 Thread Peter Hutterer
A device may disappear and a new device may re-appear with the same device node while the original device is suspended. Prevent a device resume to open the wrong device. In a path context, a changing syspath is the only indicator we get of the device changing. In a udev context, if the device was