Kernel Bug Tracker – Bug 13821
Replugging USB serial converter uses new device node
Last modified: 2009-07-28 21:06:31 UTC
Subject : 2.6.31-rc3: replugging USB serial converter uses new device node
Submitter : Ferenc Wagner <email@example.com>
Date : 2009-07-18 20:04
References : http://marc.info/?l=linux-kernel&m=124794754015776&w=4
Notify-Also : Alan Stern <firstname.lastname@example.org>
Notify-Also : Kay Sievers <email@example.com>
Notify-Also : Alan Cox <firstname.lastname@example.org>
This entry is being used for tracking a regression from 2.6.30. Please don't
close it until the problem is fixed in the mainline.
References : http://lkml.org/lkml/2009/7/26/233
Reportedly caused by:
Author: Alan Cox <email@example.com>
Date: Thu Jun 11 12:26:29 2009 +0100
tty: Bring the usb tty port structure into more use
First-Bad-Commit : 335f8514f200e63d689113d29cb7253a5c282967
Fixed by c56d300086140c93dc3390e5300fd17df802ec0e in Linus' tree.
On Tuesday 28 July 2009, Ferenc Wagner wrote:
> Alan Cox <firstname.lastname@example.org> writes:
> > commit 3f40612e940971ecec29d5375cdcc9f9c9a9f46e
> > Author: Alan Cox <email@example.com>
> > Date: Tue Jul 28 00:23:39 2009 +0100
> > tty: USB lock/refcounting fixes
> > This fixes
> > - locking bug that was hidden by ecc2e05e739c30870c8e4f252b63a0c4041f2724
> > - Regression #13821
> > - Spurious warning when closing and blocking for data write out
> > With these changes my PL2303 always ends up as ttyUSB0 when it should and
> > the module refcounts stay correct.
> > I'll do a more wholesale split & tidy of _open in the next release or two
> > as we get a standard tty_port_open and port->ops->init port->ops->shutdown
> > call backs.
> > Signed-off-by: Alan Cox <firstname.lastname@example.org>
> I confirm that current git (containing the above patch) has regression
> #13821 fixed, as well as the open bug discovered by Alan Stern.