Re: Instances of visor us devices are not deleted (2.6.9-rc4-mm1)

From: Greg KH
Date: Wed Oct 20 2004 - 19:37:59 EST


On Wed, Oct 20, 2004 at 01:18:00PM +0200, Norbert Preining wrote:
> Hi Greg!
>
> On Mit, 20 Okt 2004, Greg KH wrote:
> > Hm, no it isn't. Are you sure that userspace doesn't still have the
> > device nodes open? If they do, the ttyUSB number will not be released
> > until that happens.
>
> Ah, ok. So the culprit is gnome-pilot listening for HotSync events.
>
> I thought that as soon as the unit/usb device is disconnected, also the
> device numbers are released.

Nope, sorry.

> But then: How to cope with problems like this? REcurring plugging and
> unplugging and a program listening to this?

fix the userspace program :)

Good luck,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/