how to see a linux serial port from a USB
Posted: Fri Aug 17, 2012 1:26 am
detection system is to engage in something like a cable modem, another computer, the control unit, in short, everything to make it connected.
So this is the procedure without cable
cable and put something at the other end
to have the module loaded at next boot of the PC type
performed with Gentoo, Debian, Ubuntu
So this is the procedure without cable
Code: Select all
lusb
Code: Select all
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Code: Select all
lsusb
Code: Select all
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 023: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Code: Select all
modprobe usbserial vendor=067b product=2303
Code: Select all
modprobe pl2303
Code: Select all
dmesg | grep ttyUSB*
Code: Select all
[ 779.498926] usb 1-1: pl2303 converter now attached to ttyUSB0
[ 784.592444] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 786.216004] usb 1-1: pl2303 converter now attached to ttyUSB0
[ 787.568442] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 788.448004] usb 1-1: pl2303 converter now attached to ttyUSB0
Code: Select all
depmod