Forum: PC Hard- und Software Linux: Anzahl der USB Host Controller rausfinden


von Daniel -. (root)


Lesenswert?

Wie kann ich die Anzahl der USB Host Controller herausfinden?
1
ls -l /proc/bus/usb/
2
total 0
3
dr-xr-xr-x 2 root root 0 2009-05-04 20:26 001
4
dr-xr-xr-x 2 root root 0 2009-05-04 20:26 002
5
-r--r--r-- 1 root root 0 2009-05-04 20:26 devices
1
lsusb  -v | grep "root hub"
2
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3
  idProduct          0x0002 2.0 root hub
4
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
5
  idProduct          0x0001 1.1 root hub

Aber sind da wirklich alle vorhanden aufgelistet oder nur aktive
an denen etwas hängt? Der Rechner(motherboard) hat immerhin 6 USB hubs.


Merci^^

von Gast (Gast)


Lesenswert?

Also bei

cat /prog/bus/usb/devices

bekomm ich alle Hostcontroller zu sehen

ansonnsten zeigt mir lsusb die Hostcontroller ohne angeschlossene Geräte 
als ID 0000:0000 an.

von Εrnst B. (ernst)


Lesenswert?

Achtung: Host Controller != HUB-Ports.

Dein Mainboard hat vermutlich nur einen USB-Controller (+USB1.1 
Companion Controller) und einen HUB mit 6 Ports.

Die "echten" Host-Controller findest du am einfachsten mit "lspci".

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.