<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Serial on Notebook</title><link>http://blog.cmac4603.dev/tags/serial/</link><description>Recent content in Serial on Notebook</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 11 Jun 2026 10:42:43 +0100</lastBuildDate><atom:link href="http://blog.cmac4603.dev/tags/serial/index.xml" rel="self" type="application/rss+xml"/><item><title>Serial Console in the Terminal</title><link>http://blog.cmac4603.dev/posts/serial-console-in-the-terminal/</link><pubDate>Thu, 11 Jun 2026 10:42:43 +0100</pubDate><guid>http://blog.cmac4603.dev/posts/serial-console-in-the-terminal/</guid><description>&lt;p&gt;Instructions on how to connect to a device over serial USB port in the terminal on Arch with either &lt;code&gt;minicom&lt;/code&gt; or &lt;code&gt;tio&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Beforehand, ensure your user is in these groups (if adding, reboot machine).&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# adding your user to these groups&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo usermod -aG dialout tty uucp
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="with-minicom"&gt;With minicom&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Install the &lt;a href="https://archlinux.org/packages/extra/x86_64/minicom/"&gt;&lt;code&gt;minicom&lt;/code&gt;&lt;/a&gt; serial communication program.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo pacman -Sy minicom
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connect to device over serial comms (here it is at &lt;code&gt;/dev/ttyUSB0&lt;/code&gt;).&lt;/p&gt;</description></item><item><title>Serial Port Access on Arch</title><link>http://blog.cmac4603.dev/posts/serial-port-access-on-arch/</link><pubDate>Sat, 30 May 2026 09:35:24 +0100</pubDate><guid>http://blog.cmac4603.dev/posts/serial-port-access-on-arch/</guid><description>&lt;p&gt;For access to microcontrollers, such as the ESP32, permissions are required to enable flashing devices etc. If having issues, but seeing the port connected, check the port first (in my example the port was &lt;code&gt;/dev/ttyACM0&lt;/code&gt;):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ls -l /dev/ttyACM0
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;crw-rw---- &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt; root uucp 166, &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; May &lt;span style="color:#ae81ff"&gt;27&lt;/span&gt; 21:05 /dev/ttyACM0
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Notice the group &lt;code&gt;uucp&lt;/code&gt; has access, we just need to add ourselves to it.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo usermod -aG uucp $USER
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A restart may be required for this to take effect.&lt;/p&gt;</description></item></channel></rss>