From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTlnZ-0006Av-Sg for qemu-devel@nongnu.org; Thu, 14 Aug 2008 19:00:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTlnW-00067Z-8P for qemu-devel@nongnu.org; Thu, 14 Aug 2008 19:00:05 -0400 Received: from [199.232.76.173] (port=58972 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTlnW-00067O-4G for qemu-devel@nongnu.org; Thu, 14 Aug 2008 19:00:02 -0400 Received: from smtp8-g19.free.fr ([212.27.42.65]:37467) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTlnV-0001H9-Ln for qemu-devel@nongnu.org; Thu, 14 Aug 2008 19:00:01 -0400 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id B3CF332A7B1 for ; Fri, 15 Aug 2008 01:00:00 +0200 (CEST) Received: from laptop (vaf26-2-82-244-111-82.fbx.proxad.net [82.244.111.82]) by smtp8-g19.free.fr (Postfix) with ESMTP id 8ABE432A6D0 for ; Fri, 15 Aug 2008 01:00:00 +0200 (CEST) In-Reply-To: <48A49878.1010502@codemonkey.ws> Subject: Re: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto =?windows-1252?q?connect.?= From: "=?windows-1252?q?Fran=E7ois?= Revol" Date: Thu, 14 Aug 2008 23:14:31 +0200 CEST Message-Id: <8436147157-BeMail@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > > I'm thinking that maybe we could use 'inotify' on /proc/bus/usb. > > Would you be ok with 'inotify' =3F > > > > Yeah, but I would be a little surprised if /proc/bus/usb supports > inotify... Linux finally gets node monitoring, but it doesn't use it... oh well, that's depressing :^) Couldn't a select() on the fd be made to return exception =3F Fran=E7ois.