lkml.org 
[lkml]   [2012]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC]Is usb port number fixed?
On Fri, Apr 20, 2012 at 08:32:37PM -0400, Alan Stern wrote:
> In this particular case, it is guaranteed that the left USB port will
> always be numbered as X-1.1:1.0 and the right port as X-1.2:1.0, where
> the number X may change from one boot to another. But the -1.1:1.0 and
> -1.2:1.0 parts will always be the same.
>
> This is because X is the bus number, which is allowed to change. The
> -1.1:1.0 and -1.2:1.0 values are port, configuration, and interface
> numbers. They will never change, because they come from the hardware.
Yes, configuration and interface come from the hardware,
but I don't know where the port come from, at least I don't think the port
comes from the same hardware with the configuration and interface, do you
mean port come from the hub?


\
 
 \ /
  Last update: 2012-04-21 08:03    [W:0.054 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site