I connect to my Arduino board with the following Python code.
device=glob.glob(\"/dev/ttyUSB*\")[0] time.sleep(1) arduino = serial.Serial(device, 115200, timeout
Run:
$ ps ax
You will see what process is using serial port. Kill that process. This solved it for me.