Re: 2.6.31-rc3: replugging USB serial converter uses new device node

From: Alan Stern
Date: Thu Jul 23 2009 - 14:21:45 EST


On Thu, 23 Jul 2009, Andrew Morton wrote:

> > > > Since upgrading to 2.6.31-rc3 from 2.6.30, my ttyUSB device number
> > > > keeps increasing on each replug. Output of udevadm monitor:
> > ...
> > > > Dmesg is available at http://pastebin.com/d516e3e00.
> > >
> > > Can anyone say whether this is expected behaviour?
> >
> > It depends on whether a program is still holding the old device file
> > open when the replug occurs.
>
> But this is new behaviour in 2.6.31-rcX. Was something changed in this area?

The tty core and usb-serial have both undergone extensive changes,
courtesy of Alan Cox.

Alan Stern

--
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/