title: device /dev/ttyusb0 lock failed: operation not permitted
body: <p>I was playing around with a router earlier this evening using minicom and I must not have closed it cleanly. Here is the error message that I get when I try to open minicom:</p>
  
  <pre><code>device /dev/ttyusb0 lock failed: operation not permitted
  </code></pre>
  
  <p>I have two questions, 1) how would I go about getting out of this state, and 2) how do I exit minicom cleanly so that I can avoid this happening again.</p>