Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Identifying port a USB device is on

  Date: Feb 18    Category: Unix / Linux / Ubuntu    Views: 606
  

Sometimes I'm using more than on /dev/ttyx device. The first one is usually on
tty0, the second one tty1 and so on.

How can I tell which port they are on.

lsusb lists the device but I do not know the port number.

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Feb 18    

lsusb -t -v

Gives device numbers and ports but the plain lsusb gives device name
along with device number.

The two should give you all the information you require :-)

Note: lsusb -v will give you far more information but it's a case of
sorting out which bits are relevant

 
Answer #2    Answered On: Feb 18    

I'm using a Make makefile that wants to know what USB port to use.
Sometimes it is /dev/tttyUSB0, other times it is /dev/ttyUSB1. How can I
tell the Make makefile which one to use?

 
Didn't find what you were looking for? Find more on Identifying port a USB device is on Or get search suggestion and latest updates.




Tagged: