lkml.org 
[lkml]   [2009]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.31-rc3: replugging USB serial converter uses new device node
On Thu, 23 Jul 2009, Andrew Morton wrote:

> (cc linux-usb)
>
> On Sat, 18 Jul 2009 22:04:57 +0200 Ferenc Wagner <wferi@niif.hu> wrote:
>
> > Hi,
> >
> > 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.

> Does it actually cause any observeable problems? I expect things will
> get ugly once it runs out of range.

The numbers will get reused after the corresponding device files are
closed.

For further discussion, see this thread:

http://marc.info/?t=124828810800002&r=1&w=2

Alan Stern



\
 
 \ /
  Last update: 2009-07-23 16:47    [W:0.061 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site