You are not logged in.

#1 2005-05-30 04:34:52

nexist
Member
From: Eugene, OR
Registered: 2005-02-02
Posts: 19
Website

Where are my USB ports?

Hello:

I have four USB ports, all of which work under Windows.  What are the device names in Arch Linux?  I am looking at the directory of /dev and I see nothing with a USB prefix, nor with a SCSI prefix (I vaguely recall some distros putting USB under SCSI)

Not that I understand what I am looking at, but the KDE FSTab tool shows four USB in /proc/bus.

Thank you

Offline

#2 2005-05-30 04:44:38

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: Where are my USB ports?

I dont know if this is of any use to you, but when i mount my camera i do a mount /dev/sda1 /mnt/usbstick, so i think it starts at sda1 ( 'sda'  i think is the SCSI disks device names too).


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#3 2005-05-30 04:55:13

nexist
Member
From: Eugene, OR
Registered: 2005-02-02
Posts: 19
Website

Re: Where are my USB ports?

sud_crow wrote:

I dont know if this is of any use to you, but when i mount my camera i do a mount /dev/sda1 /mnt/usbstick, so i think it starts at sda1 ( 'sda'  i think is the SCSI disks device names too).

How would I get the SCSI devices?  I show none in my dev list.

Offline

#4 2005-05-30 11:14:38

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Where are my USB ports?

You need to plug something in to have for example /dev/sda1, don't you (they are created dynamically) ? :-)

Nexist, what do you want to know ? If you are using udev look in /etc/udev/rules.d/udev.rules to know what is where in /dev.

If you just want to know if your usb ports are recognized and working browse dmesg output. It should print something about usb ports when you load your usb module (at least one of the ehci_hcd, uhci_hcd, ohci_hcd). For example:

ehci_hcd 0000:02:05.2: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:02:05.2: irq 5, pci mem 0xde002000
ehci_hcd 0000:02:05.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:05.2: USB 2.0 initialized, EHCI 0.95, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected

Offline

#5 2005-05-30 12:05:18

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Where are my USB ports?

You can find the stuff in /sys/bus/usb/devices/ or /proc/bus/usb/, but as lanrat said, you really need to connect some device to it before it shows up in /dev/.

Offline

#6 2005-05-30 16:39:41

nexist
Member
From: Eugene, OR
Registered: 2005-02-02
Posts: 19
Website

Re: Where are my USB ports?

lanrat wrote:

You need to plug something in to have for example /dev/sda1, don't you (they are created dynamically) ? :-)

Nexist, what do you want to know ? If you are using udev look in /etc/udev/rules.d/udev.rules to know what is where in /dev.

If you just want to know if your usb ports are recognized and working browse dmesg output. It should print something about usb ports when you load your usb module (at least one of the ehci_hcd, uhci_hcd, ohci_hcd). For example:

ehci_hcd 0000:02:05.2: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:02:05.2: irq 5, pci mem 0xde002000
ehci_hcd 0000:02:05.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:05.2: USB 2.0 initialized, EHCI 0.95, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected

I have to run to my parents house, but I have no SDA devices, even with my iomega SuperDVD plugged in, nor does one appear when I plug in the Palm Pilot.  However, I am using a USB mouse just fine -- and yet there is no SDA device for that either.

How do I check the dmesg log.  Also, I just thought of something when I boot up there is an error loading the Hot Plug module.  If these are created dynamically, that module might be responsible for that....

Offline

#7 2005-05-30 17:09:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Where are my USB ports?

sda devices are for usb-storage devices only

and nexist, to check dmesg, type "dmesg" and hit enter....

also, the hotplug daemon (the one started on boot) has nothing to do with pluggable devices....

Offline

#8 2005-05-30 17:54:17

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: Where are my USB ports?

I have four USB ports, all of which work under Windows

as what ? what have you plugged into them ?

try here for usb clues

http://wiki2.archlinux.org/index.php/Ti … urge&s=usb

Offline

#9 2005-05-31 01:58:44

nexist
Member
From: Eugene, OR
Registered: 2005-02-02
Posts: 19
Website

Re: Where are my USB ports?

phrakture wrote:

sda devices are for usb-storage devices only

and nexist, to check dmesg, type "dmesg" and hit enter....

also, the hotplug daemon (the one started on boot) has nothing to do with pluggable devices....

Thank you.  However, one of the USB devices is a IOMEGA SuperDVD, now I have done nothing to configure drivers for it, so that may be why I do not see it, but what would a Palm device look like in /dev?

(thank you very much for the dmesg command, and the info ont he hotplug deamon)

Offline

#10 2005-05-31 02:10:09

nexist
Member
From: Eugene, OR
Registered: 2005-02-02
Posts: 19
Website

Re: Where are my USB ports?

Kern wrote:

I have four USB ports, all of which work under Windows

as what ? what have you plugged into them ?

try here for usb clues

http://wiki2.archlinux.org/index.php/Ti … urge&s=usb

I have an Iomega SuperDVD & a Palm Pilot (& a mouse, which works) plugged into various USB ports.

The links were less than useful, two were unrelated, one said delete me & the fourth started out with telling me to look at the SDA devices, or whatever the correct mapping is -- somethign which I have no idea.

I did an ls -laF and this time I saw a /dev/pilot symlinked to a /dev/tts/USB1

However KPilot is not detectign my device.  It looks like the mystery is semi solved, I am getting the device, it jsut isn't working (I guess by the time I looked, the pilot had shut off, and I did not realize they were dynamic).

Now to try & trouble shoot the problem with kpilot......

Offline

#11 2005-05-31 04:27:46

mctavish
Member
From: Australia
Registered: 2004-03-22
Posts: 48

Re: Where are my USB ports?

I lost my sda* devices after the recent udev upgrade to 058. I rolled back to 057 and got them back.

Offline

#12 2005-05-31 07:44:26

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: Where are my USB ports?

nexist , at least your part way there smile
pls feed back on the (k)pilot. im having to checkout PocketPC stuff. wouldnt mind a comparison. Thx

Offline

#13 2005-06-14 13:03:42

dekernel
Member
From: Vassar, MI USA
Registered: 2004-03-22
Posts: 117

Re: Where are my USB ports?

Did you post a bug report? Problems with udev are crutial to be fixed. Without a bug report, maintainers can't fix the problem.

Offline

Board footer

Powered by FluxBB