lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 21 Apr 2012 13:23:17 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Wang YanQing <udknight@...il.com>
cc:	Greg KH <greg@...ah.com>, lkml <linux-kernel@...r.kernel.org>,
	<linux-usb@...r.kernel.org>
Subject: Re: [RFC]Is usb port number fixed?

On Sat, 21 Apr 2012, Wang YanQing wrote:

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

Yes, it does.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ