cislovani portu - USB-Serial Controller / cuaU? / COM?
Miroslav Lachman
000.fbsd at quip.cz
Sun Nov 22 15:44:50 CET 2015
Chtel jsem zkusit do VirtualBoxu dostat seriovy port, ktery je tvoreny
USB prevodnikem.
V systemu uz jsou da onboard seriove porty
# grep uart /var/run/dmesg.boot
uart2: <Intel Lynx Point KT Controller> port 0xf0a0-0xf0a7 mem
0xf713a000-0xf713afff irq 19 at device 22.3 on pci0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Kdyz pridam ten USB prevodnik, tak se v logu objevi
Nov 22 14:33:17 xxx kernel: ugen1.5: <Prolific Technology Inc.> at usbus1
Nov 22 14:33:17 xxx devd: Executing '/usr/local/etc/rc.d/webcamd start
ugen1.5'
Nov 22 14:33:17 xxx devd: Executing 'kldload -n uplcom'
Nov 22 14:33:18 xxx kernel: uplcom0: <Prolific Technology Inc.
USB-Serial Controller D, class 0/0, rev 1.10/4.00, addr 5> on usbus1
V /dev/ pak vidim tyhle zarizeni
ls -l /dev/cua*
crw-rw---- 1 uucp dialer 0xc2 Nov 22 14:32 /dev/cuaU0
crw-rw---- 1 uucp dialer 0xc3 Nov 22 14:32 /dev/cuaU0.init
crw-rw---- 1 uucp dialer 0xc4 Nov 22 14:32 /dev/cuaU0.lock
crw-rw---- 1 uucp dialer 0xc8 Nov 22 14:32 /dev/cuaU1
crw-rw---- 1 uucp dialer 0xc9 Nov 22 14:32 /dev/cuaU1.init
crw-rw---- 1 uucp dialer 0xca Nov 22 14:32 /dev/cuaU1.lock
crw-rw---- 1 uucp dialer 0xd3 Nov 22 14:33 /dev/cuaU2
crw-rw---- 1 uucp dialer 0xd4 Nov 22 14:33 /dev/cuaU2.init
crw-rw---- 1 uucp dialer 0xd5 Nov 22 14:33 /dev/cuaU2.lock
crw-rw---- 1 uucp dialer 0x33 Nov 5 13:06 /dev/cuau0
crw-rw---- 1 uucp dialer 0x34 Nov 5 13:06 /dev/cuau0.init
crw-rw---- 1 uucp dialer 0x35 Nov 5 13:06 /dev/cuau0.lock
crw-rw---- 1 uucp dialer 0x28 Nov 5 13:06 /dev/cuau2
crw-rw---- 1 uucp dialer 0x29 Nov 5 13:06 /dev/cuau2.init
crw-rw---- 1 uucp dialer 0x2a Nov 5 13:06 /dev/cuau2.lock
V nastavnei VirtualBoxu se ale prirazujou jako COM1 - COM4
Jak zjistim / kde najdu tohle mapovani?
Mirek
More information about the Users-l
mailing list