USB
Universal Serial Bus
1. Standards
USB Standard | Übertragungsrate | Low Power | High Power* | Jahr der Spezifikation | Controller |
USB 1.0 | 12 Mbit/s | 100 mA | 500 mA | 1996 | UHCI, OHCI |
USB 1.1 | 12 Mbit/s | 100 mA | 500 mA | 1998 | UHCI, OHCI |
USB 2.0 | 480 Mbit/s | 100 mA | 500 mA | 2000 | EHCI |
USB 3.0 | 4.8Gbits/s | 150 mA | 900 mA | 2008 |
* Freigabe durch das Betriebssystem
2. Schnittstellenbausteine
3. Anschlußbelegung
rot | +5 V |
weiß | Data − |
grün | Data + |
schwarz | Masse |
4. Unter Linux
> lspci
00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02)
01:00.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
01:00.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
01:00.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
> lshw
product: UHCI Host Controller
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:0 UNCLAIMED description: USB Controller product: VT82xxxxx UHCI USB 1.1 Controller vendor: VIA Technologies, Inc. physical id: 0 bus info: pci@01:00.0 version: 62 width: 32 bits clock: 33MHz capabilities: uhci cap_list configuration: latency=64 resources: irq:11 *-usb:1 UNCLAIMED description: USB Controller product: VT82xxxxx UHCI USB 1.1 Controller vendor: VIA Technologies, Inc. physical id: 0.1 bus info: pci@01:00.1 version: 62 width: 32 bits clock: 33MHz capabilities: uhci cap_list configuration: latency=64 resources: irq:10 *-usb:2 UNCLAIMED description: USB Controller product: USB 2.0 vendor: VIA Technologies, Inc. physical id: 0.2 bus info: pci@01:00.2 version: 65 width: 32 bits clock: 33MHz capabilities: ehci cap_list configuration: latency=64 resources: irq:9
5. Serielle Schnitstellenemulation via USB unter Linux
Ich habe 4 Geräte:
/dev/ttyUSB0
/dev/ttyUSB1
/dev/ttyUSB2
/dev/ttyUSB3
Die Reihenfolge ist bei jedem Start anders.
Nützlicher Befehl um eine Idee zu bekommen, wo was ist.
# ls -al /sys/class/tty/ttyUSB?/device/driver/module lrwxrwxrwx 1 root root 0 Mär 14 03:59 /sys/class/tty/ttyUSB0/device/driver/module -> ../../../../module/ftdi_sio lrwxrwxrwx 1 root root 0 Mär 14 04:00 /sys/class/tty/ttyUSB1/device/driver/module -> ../../../../module/pl2303 lrwxrwxrwx 1 root root 0 Mär 14 04:00 /sys/class/tty/ttyUSB2/device/driver/module -> ../../../../module/pl2303 lrwxrwxrwx 1 root root 0 Mär 14 04:00 /sys/class/tty/ttyUSB3/device/driver/module -> ../../../../module/cp210x
ftdi_sio ist ein Schnistellenkonverter mit MAX232 von USB nach TTL.
pl2303 sind Schnistellenkonverter von USB nach RS232/EIA232.
cp210x ist eine Conrad8fachRelaiskarte Relaiskarte.
Siehe auch • • • • •