title: Kill process that raises Device or resource busy: '/dev/ttyUSB0'?
body: <p>I connect to my Arduino board with the following Python code.</p>
  
  <pre><code>device=glob.glob("/dev/ttyUSB*")[0]
  time.sleep(1)
  arduino = serial.Serial(device, 115200, timeout=5)
  </code></pre>
  
  <p>It generally works, but somehow some other process must be accessing the board after reboot giving me the error</p>
  
  <blockquote>
    <p>serial.serialutil.SerialException: could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'</p>
  </blockquote>
  
  <p>When unplugging and replugging the USB-plug I can execute the Python code normally, without the error occuring. How can I avoid any other process blocking the port? And how do I find out the reason for this error?</p>