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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 20 Apr 2012 17:37:38 +0800
From:	Wang YanQing <udknight@...il.com>
To:	lkml <linux-kernel@...r.kernel.org>, linux-usb@...r.kernel.org
Subject: Re: [RFC]Is usb port number fixed?

On Fri, Apr 20, 2012 at 05:25:25PM +0800, Wang YanQing wrote:
> Hi!
> when I execute the command below:
> 
> "ls /sys/bus/usb/devices/"
> 
> I get:
> "1-0:1.0 1-1 1-1:1.0 2-0:1.0 2-1 2-1.1 2-1:1.0 2-1.1:1.0 2-1.5 2-1.5:1.0 2-1.5:1.1  usb1  usb2"
> 
> the output format is bus-port.port:config.interface
> I want to know whether the port number is fixed after I reboot machine time by time.
> And if it is fixed, then what make it.
> 
> Thanks!

Make the question precise.
I assme there are two usb ports in my notebook at left and right separately.
When I plug mouse into 
left usb port, I get 2-1.1:1.0
right usb port, I get 2-1.2:1.0

I want to know whether it is right that no matter how many times I reboot the machine,
the test result above will be the same.And if it will be the same, then why it will be the same.


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