Re: [RFC]Is usb port number fixed?

From: Wang YanQing
Date: Sun Apr 22 2012 - 21:52:08 EST

On Sun, Apr 22, 2012 at 08:47:24AM -0400, Alan Stern wrote:
> On Sun, 22 Apr 2012, Anil Nair wrote:
> > The port number comes from root hub managed by the host controller. Its
> > fixed dynamically during enumeration, and can change.
> > Please correct me if i am wrong.
> You are indeed wrong. Port numbers are not fixed dynamically and they
> cannot change.
Could you pin out the codes in kernel?
> On the other hand, bus numbers _are_ assigned dynamically and they can
> (and do) change.
Indeed, I never meat the situation lspci output different bus number on the same machine.
Any more comment?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at