[Lazarus] How to list available serial orts on Ubuuntu?

Christo Crause christo.crause at gmail.com
Mon Nov 28 11:50:55 CET 2022


On Mon, Nov 28, 2022 at 12:31 PM Bo Berglund via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

>
> I have looked at /dev/tty* but it lists a large number of items which
> makes it
> impossible for me. I do not belive all of´them are real serial ports...
>
> What can I do to get a selector for real serial ports on Ubuntu.
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus


Here is an example for POSIX type OSs:
https://github.com/ccrause/LazScope/blob/master/gui/serialobject.pas#L299
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20221128/fa51fac6/attachment.htm>


More information about the lazarus mailing list