<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 18, 2017 at 9:39 AM, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:mailinglists@geldenhuys.co.uk" target="_blank">mailinglists@geldenhuys.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2017-08-18 07:51, Christo Crause wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I've also just noted a typing error in GetSerialPortNames: '/dev/ttyAM*'<br>
should rather be '/dev/ttyACM*''<br>
</blockquote>
<br>
My version also has the first instance (ttyAM*) with a comment "ARM boards". Your implementation in the bug report looks a lot better than what I have in my synaser copy - cleaner code with less code duplication. Thanks for the reply.</blockquote><div> </div><div>Right, not a typo then. Good to learn something new - apparently ttyAMA* is the device name specified by the ARM AMBA style serial ports driver for Linux: (<a href="https://code.woboq.org/linux/linux/drivers/tty/serial/amba-pl011.c.html#2514">https://code.woboq.org/linux/linux/drivers/tty/serial/amba-pl011.c.html#2514</a>)</div><div><br></div><div>So I looked for a systematic naming convention, but according to the Linux allocated devices list (<a href="https://static.lwn.net/kerneldoc/admin-guide/devices.html">https://static.lwn.net/kerneldoc/admin-guide/devices.html</a>) there is a large number of tty* names in use for different serial drivers. Perhaps a different approach (<a href="https://stackoverflow.com/a/9914339">https://stackoverflow.com/a/9914339</a>) is called for...</div></div></div></div>