LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-20-2009, 12:33 AM   #1
madhi
Member
 
Registered: May 2008
Posts: 31

Rep: Reputation: 15
How to identify internally connected USB devices


Hi,

I have four USB ports which is visible to outside world. One port in the mother board which has USB tape drive connected how I can identify/differentiate devices which is connected to internal ports and to external ports

Is there any ioctl call to do this

OS: SLES10

Thanks in advance
 
Old 01-20-2009, 02:17 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,661

Rep: Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236
As root:
Code:
lsusb
lsusb -t (hierarchy)
lsusb -v (details)
 
Old 01-20-2009, 03:23 AM   #3
madhi
Member
 
Registered: May 2008
Posts: 31

Original Poster
Rep: Reputation: 15
hi Spaier,

Thanks for your reply ...
using lsusb-t and lsusb-v we could able to get the device description,endpoints,pid,vid and interfaces
but how to know the usb device is connected to external visible port(outside cabin) or connected to internal ports in the motherboard?
 
Old 01-20-2009, 03:52 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,661

Rep: Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236
Not sure we can, as from a logical stand point that doesn't make any difference. May-be you could try to check your BIOS information about that.

You could try to find more information on Linux USB. You will find specifications on Universal Serial Bus website.
 
Old 01-20-2009, 03:58 AM   #5
madhi
Member
 
Registered: May 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Didier,
Thanks for your inputs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutdown script possible to alert about connected USB devices? Roy Prins Linux - Newbie 6 07-23-2008 07:47 AM
how to detect usb devices connected to the system vijaya_svk Linux - Software 5 03-16-2008 03:21 PM
How can I identify which wireless adapter is connected? sudlatnid Linux - Wireless Networking 1 12-27-2006 11:54 PM
USB devices dont seem to be connected No1Daemon Linux - Hardware 5 03-22-2004 08:41 PM
PC hangs on startup with USB devices connected davee Linux - Hardware 5 09-12-2003 12:52 PM


All times are GMT -5. The time now is 01:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration