Work Environment :
Linux : Ubuntu 16.0.4
Linux Kernel Version : 4.8.0-45-generic
USB : 3.0 (Industrail PC).
USB Serial Adapter :
CP2104 USB-to-Serial Adapter Carrier
Port : /dev/ttyUSB0 baud rate : 115200
Issue : I have build driver source code using make "Linux-3-x-x-VCP-Driver-Source" &
inserted driver successfully (ex: insmod cp210x.ko).
I used gtkterm to open /dev/ttyUSB0 to check the data packets.
Look like USB driver have an issue with Ubuntu 16.0.4 with USB 3.0 ?
any suggestion & help is highly appreciated.
After analysis I found serial bus gives error :
USB it goes down.
I am attaching GTKTerm log for further analysis.
The cp210x driver is already part of the Linux 4.x kernel. You have overwritten it with an older version for 3.x kernels.
Try with the correct driver. If it still fails, check if there are any messages in the system log.
thanks lot for inputs.
I have upgraded CP2104 driver with Ubuntu version.
sudo cat /var/log/kern.log | grep usb
Apr 4 10:58:47 eduPC-IPC-R1 kernel: [ 10.751201] usbcore: registered new interface driver usbserial
Apr 4 10:58:47 eduPC-IPC-R1 kernel: [ 10.751219] usbcore: registered new interface driver usbserial_generic
Apr 4 10:58:47 eduPC-IPC-R1 kernel: [ 10.751234] usbserial: USB Serial support registered for generic
Apr 4 10:58:47 eduPC-IPC-R1 kernel: [ 10.753366] usbcore: registered new interface driver cp210x
Apr 4 10:58:47 eduPC-IPC-R1 kernel: [ 10.753387] usbserial: USB Serial support registered for cp210x
Apr 4 10:58:47 eduPC-IPC-R1 kernel: [ 10.754312] usb 2-1.5: cp210x converter now attached to ttyUSB0
sudo lsmod | grep usb
cp210x 28672 1
usbserial 53248 3 cp210x
then I have used gtkterm, open port /dev/ttyUSB0 at baud rate 115200.
but it don't to send any data packets, If plug out & plug into USB it start sending me data packets.
you suggestion & help is highly appreciated.
In my product I am taking data from UM7 (accelrometer, gyrometer, mangentometer ) & GPS sensor.
So it gives me below overflow error.
snpÔpýf jR÷ C ”¤GPS overflow.
ßsnpÌ‰>—>»>ì•u¼£Õ& GPS overflow.
I change baud rate, but it don't work.
attaching log for more detail.
That "GPS overflow" error sound like a problem with your device at the other end of the serial line, not with the CP2104.