LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-12-2005, 04:23 PM   #1
BobCap
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Question USB Device Representation in Linux


How do I determine what USB devices are on the system after Linux comes up?

How are USB devices represented in /sys/device - is there a naming convention for USB devices?

How are USB devices represented in /dev - is there a naming convention for USB devices?

How do I link the USB device represented in /sys/device with the /dev file for that device?

Thanks.
 
Old 10-12-2005, 08:51 PM   #2
Dave Kelly
Member
 
Registered: Aug 2004
Location: Todd Mission Texas
Distribution: Linspire
Posts: 213

Rep: Reputation: 31
Quote:
How do I determine what USB devices are on the system after Linux comes up?

From a console command line:

dmesg | grep usb
lsusb
lsmod
lspci

will give you this kind of information.

Quote:
How are USB devices represented in /dev - is there a naming convention for USB devices?
/dev/sda-sdf on my system.
 
  


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
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
Test a usb device in linux loninappleton Linux - Software 3 10-28-2005 11:44 PM
Installing Linux on an USB Device LkNsngth Linux - Hardware 3 02-12-2005 11:56 PM
booting Linux from external USB 2.0 device friedrice4u Linux - Newbie 2 09-19-2004 07:44 AM
Linux does not detect usb device. josedsilva Linux - Hardware 3 07-21-2004 08:29 PM


All times are GMT -5. The time now is 07:49 AM.

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