Re: any way to detect usb detached from a device driver ?

2007-01-10 Thread Luigi Rizzo
On Wed, Jan 10, 2007 at 11:34:54PM +0100, Hans Petter Selasky wrote: Hi Luigi, On Wednesday 10 January 2007 13:46, Luigi Rizzo wrote: On Tue, Jan 09, 2007 at 09:37:21PM +0100, Hans Petter Selasky wrote: On Tuesday 09 January 2007 17:34, Luigi Rizzo wrote: [...] sorry but i cannot

any way to detect usb detached from a device driver ?

2007-01-09 Thread Luigi Rizzo
I am modifying a kernel device driver for webcams (see http://info.iet.unipi.it/~luigi/FreeBSD/usb-cameras.html) packing together various projects around, and i was wondering how to handle the situation of a device being detached while in use. Right now the code (from ports/multimedia/pwcbsd)

Re: any way to detect usb detached from a device driver ?

2007-01-09 Thread Hans Petter Selasky
On Tuesday 09 January 2007 17:34, Luigi Rizzo wrote: [sorry for the repost, not sure it went through] On Tue, Jan 09, 2007 at 08:16:29AM -0800, Luigi Rizzo wrote: I am modifying a kernel device driver for webcams (see http://info.iet.unipi.it/~luigi/FreeBSD/usb-cameras.html) packing together