Hello,
I want to send and get data on serialport use colibri v1.0A . I plug CP210x USB to UART Bridge my two device.
and open my terminal on colibri board than run this command;
root@colibri-imx6:~# lsusb
Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
then run this command:
root@colibri-imx6:~# dmesg | grep tty
[ 0.000000] Kernel command line: enable_wait_mode=off galcore.contiguousSize=50331648 ip=off root=/dev/mmcblk0p2 rw,noatime rootfstype=ext3 rootwait fec_mac=00:14:2d:4a:4b:48 consoleblank=0 no_console_suspend=1 console=tty1 console=ttymxc0,115200n8 video=mxcfb0:dev=lcd,640x480M@60,if=RGB666 video=mxcfb1:off fbmem=8M
[ 0.000000] console [tty1] enabled
[ 0.426642] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
[ 1.150428] console [ttymxc0] enabled
[ 1.151185] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
[ 1.151639] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
[ 4.192890] systemd[1]: Expecting device dev-ttymxc0.device…
[ 4.650433] systemd[1]: Starting system-getty.slice.
[ 4.657364] systemd[1]: Created slice system-getty.slice.
[ 4.841073] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 4.851671] systemd[1]: Created slice system-serial\x2dgetty.slice.
I cant see my usb to uart bridge in the result.
then ı run this command my ubuntu pc ;
asimturgut@EN-UBUNTU-61:~$ sudo dmesg | grep tty
[ 0.000000] console [tty0] enabled
[10939.614327] usb 2-2: cp210x converter now attached to ttyUSB0
[11104.901289] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[13548.843884] usb 2-2: cp210x converter now attached to ttyUSB0
[17887.186001] usb 2-1: ch341-uart converter now attached to ttyUSB1
[17984.153031] ch341-uart ttyUSB1: ch341-uart converter now disconnected from ttyUSB1
[30865.802560] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[30867.824060] usb 2-2: cp210x converter now attached to ttyUSB1
[30942.888617] cp210x ttyUSB1: cp210x converter now disconnected from ttyUSB1
[31745.072267] usb 2-2: ch341-uart converter now attached to ttyUSB0
[31974.500610] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[31980.702791] usb 2-2: cp210x converter now attached to ttyUSB0
[33398.672825] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[33412.913278] usb 2-2: cp210x converter now attached to ttyUSB0
so ı find my converter on /dev/ttyUSB0.
what is my problem ? ı thin ı have to install cp210x driver on colibri evulation board but how can do this ?