[ale] USB port identification

Sergio Chaves sergio.chaves at gmail.com
Thu Nov 19 07:51:07 EST 2015


7.12.2
@#$^& keyboard.

On Thu, Nov 19, 2015 at 7:49 AM, Sergio Chaves <sergio.chaves at gmail.com>
wrote:

> You may need a udev rule to accomplish what you want.
> Something like 7.12.12 in this page
> http://www.linuxfromscratch.org/lfs/view/6.2/chapter07/symlinks.html
>
>
> On Wed, Nov 18, 2015 at 7:59 PM, Chris Fowler <cfowler at outpostsentinel.com
> > wrote:
>
>> I'm testing this new hardware and have ran into a snag with identifying
>> specific USB ports.
>>
>> There are 2 root hubs.
>>
>> 1.  2.0 4x ports
>> 2.  3.0 2x ports
>>
>> On the 2.0 it seems that no matter what port I plug my modem into, at
>> boot it will be 001:004.
>>
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 001 Device 004: ID 0572:1340 Conexant Systems (Rockwell), Inc.
>> Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
>> Bus 001 Device 002: ID 8087:07e6 Intel Corp.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> On the older hardware the device # was tied to a specific port.  Both run
>> a 2.6.38 kernel. Same software too.
>>
>> The problem is that I define what USB ports do what. If you plug a
>> RTL8188CUS USB wireless adapter in port #1 it will behave as an AP.  If you
>> use port #2 it is configured as a station.  The users will not even have
>> access to the device in somce cases unless it runs as an AP.  No LCD!  No
>> network!
>>
>> If I use USB to serial adapters then I assign port names based on
>> Bus/Device.  The user will then use a temp probe on one, maybe a terminal
>> on another, and some sites even have a UPS that I am interfacing via USB
>> serial.
>>
>> Another thing I noticed is that if I unplug the USB modem and plug back
>> in it will be assigned 001/005.  On the older hardware this is not the
>> case.  It is always the same.
>>
>> Is there any way I can identify the specific USB port on this computer
>> that is being used by a device?
>>
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20151119/eaf8b009/attachment.html>


More information about the Ale mailing list