Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 10-12-2003, 06:09 PM   #1
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
Question How do you Point to a USB Device??

I have MDK 9.0 and i need the location of one of my usb ports for a program
The default port (serial i think) it is set for is /dev/ttyS1
I need to change the ttyS1 to the location of a USB port.

in /proc/bus/usb/devices i got this

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=129/900 us (14%), #Int= 2, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=eec0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0451 ProdID=2046 Rev= 1.25
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1630 ProdID=0041 Rev= 1.00
S: Manufacturer=2Wire Inc
S: Product=2WIRE USB Remote NDIS Ethernet
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr= 40mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=049f ProdID=000e Rev= 1.00
S: Manufacturer=Compaq
S: Product=Compaq Internet Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=keyboard
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=24ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=00 Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 6 Ivl=3ms

Ive looked around in the /dev directory and can not find any clues to what any of the USB's would be called.

someone help me figure out how to point to a USB device?

Last edited by dark_forests; 10-12-2003 at 07:47 PM.
Old 10-12-2003, 10:17 PM   #2
Registered: Aug 2002
Posts: 15,720

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
I'm guessing here:

Do you have a USB MODEM? It might be /dev/ttyUSB0. Verify the usbserial module is loading?

See for support info on your device.
Old 10-12-2003, 11:15 PM   #3
Registered: Sep 2003
Location: Virginia
Distribution: SuSE 8.2
Posts: 32

Rep: Reputation: 15
My USB ports are listed as /dev/ttyUSB0, /dev/ttyUSB1 and so forth.

To get my palm pilot working, I had to create a symbolic link to this, as Ximian insisted on using a serial port for it. I had to fiddle around with which USB port it actually was, though, before it would work.
Old 10-12-2003, 11:37 PM   #4
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
If it is a usb mass storage device (compact flash reader) the device will be /dev/sdax
x = nothing, 1, 2 etc...


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
which device in /dev is mapped to an USB device malo_umoran Slackware 4 07-31-2005 01:12 PM
USB CDRW: sg won't create sg* device in /dev sugapablo Linux - Hardware 3 05-06-2005 08:07 PM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM
USB - /dev/sda1 is not a block device rstebbins Linux - Hardware 4 08-14-2003 05:16 AM

All times are GMT -5. The time now is 08:23 PM.

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