mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: "Paul Rolland" <rol@as2917.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.4.31] - USB device numbering in /proc/bus/usb
Date: Tue, 23 Aug 2005 19:45:48 +0400	[thread overview]
Message-ID: <20050823194548.6441d995.vsu@altlinux.ru> (raw)
In-Reply-To: <200508231314.j7NDEGD09705@tag.witbe.net>

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

On Tue, 23 Aug 2005 15:14:38 +0200 Paul Rolland wrote:

> I've just rebooted a machine, and the eagle ADSL modem I was using,
> presented as /proc/bus/usb/002/005 in now presented as 
> /proc/bus/usb/002/003 (same bus, but device ID changed from 5 to 3).
> 
> Is this an expected behavior, when running a 2.4.31 kernel ?

Yes.  Addresses for USB devices are assigned dynamically.  If you
disconnect the modem from USB and connect it again, its address will
change.

> I would have been expecting some more stability in the numbering across
> reboot, the same way IDE disks numbers are stable.

Use some other identifier which is stable - e.g., serial number of the
USB device (unfortunately, many devices don't have it).

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-08-23 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23 13:14 Paul Rolland
2005-08-23 15:45 ` Sergey Vlasov [this message]
2005-08-23 15:51   ` Paul Rolland
2005-08-23 16:31     ` Alistair John Strachan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050823194548.6441d995.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rol@as2917.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®