On Sun, 24 May 2009, Greg KH wrote: > On Sun, May 24, 2009 at 08:38:14PM +0400, "Ð?олÑ?н Ш." wrote: > > Good Evening, Dear Linux Coders! > > > > I have a problem with Prolific Serial Converter pl2303. > > > > In the previous kernel versions: 2.6.18.*-2.6.29.2 it works good. > > But in the 2.6.29.3 and 2.6.29.4 device name /dev/ttyUSB0 changes > > infinitely when I plug in(plug out) pl2303-cable from /dev/ttyUSB0 to > > /dev/ttyUSB10 and greater. (In my situation I use telephone as a modem). > > I hope that I didn't make error with bug-email address... > > Odd. > > Can you enable debugging in the usb-serial core: > echo 1 > /sys/module/usb-serial/parameters/debug > and then send us the kernel log of when this happens? > > The device id will go up if a userspace program still holds the device > node open, and then the device is plugged back in, but userspace should > have been told that a device went away to know to drop the connection. > > Odds are this is probably due to Alan's change that went into 2.6.29.3: > Subject: USB: serial: fix lifetime and locking problems > > Alan, any thoughts here? Yes, this probably was caused by that patch. I recently got a pl2303 serial device at work, so I'll try to reproduce this and let you know how it works out in a couple of days. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html