Re: [Bisected] [Bug #13821] Replugging USB serial converter uses new device node

Carlos R. Mafra
2009-07-27T16:20:44Z

On Mon 27.Jul'09 at 17:53:18 +0200, Ferenc Wagner wrote:
> Alan Stern <stern@rowland.harvard.edu> writes:
> >
> > Are you certain this really is a regression? Under 2.6.30 and 2.6.27
> > the same thing happened if I unplugged a USB serial device while it was
> > in use.
>
> My original report is about unplugging the USB servial device *after*
> using it.

Yes, I did this:

1) plug the surfstick
2) connect to the internert (with draknetcenter)
3) disconnect (and wait a bit)
4) unplug the surfstick (and wait a bit)

Then when I plug it again, the devices created are /dev/ttyUSB{1,2} instead
of /dev/ttyUSB{0,1}.

That breaks 'draknetcenter', because if I try to connect again it
says that /dev/ttyUSB0 can not be found.

And during the bisection, for the commits which were marked "good", there
was no problem to reconnect and 'draknetcenter' was happy (although perhaps
it should not be so dependent on /dev/tttyUSB0 only, but that is another
story).