Re: Race condition between userland and USB device attachment

2014-07-28 Thread Alan Stern
On Mon, 28 Jul 2014, Oliver Neukum wrote: > On Fri, 2014-07-25 at 17:43 +0400, Sergey Klyaus wrote: > > Hello. > > > > I am currently working on a project with Thin clients with Citrix > > Receiver 13 for Linux and encountered interesting problem with USB > > device redirection. > > ctxusb/ctxu

Re: Race condition between userland and USB device attachment

2014-07-28 Thread Oliver Neukum
On Fri, 2014-07-25 at 17:43 +0400, Sergey Klyaus wrote: > Hello. > > I am currently working on a project with Thin clients with Citrix > Receiver 13 for Linux and encountered interesting problem with USB > device redirection. > ctxusb/ctxusbd process from Citrix Receiver are using inotify mechan

Race condition between userland and USB device attachment

2014-07-25 Thread Sergey Klyaus
Hello. I am currently working on a project with Thin clients with Citrix Receiver 13 for Linux and encountered interesting problem with USB device redirection. ctxusb/ctxusbd process from Citrix Receiver are using inotify mechanism to monitor /dev/bus/usb filesystem, and when device arrives, t