[Lazarus] How to list available serial orts on Ubuuntu?
Bo Berglund
bo.berglund at gmail.com
Mon Nov 28 16:58:11 CET 2022
On Mon, 28 Nov 2022 14:48:20 +0100, Giuliano Colla via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>/dev/tty* is pretty much useless. It's there for historical reasons.
>/dev/ttyS* is the one for actual serial adapters, and, unless you
>override with a command line parameter on boot, it is limited to 0..3 in
>modern kernels.
>
Here is what I get on Ubuntu 20.04.5 LTS:
$ ll /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 2022-11-26 08:47 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 2022-11-26 08:47 /dev/ttyS1
crw-rw---- 1 root dialout 4, 74 2022-11-26 08:47 /dev/ttyS10
crw-rw---- 1 root dialout 4, 75 2022-11-26 08:47 /dev/ttyS11
crw-rw---- 1 root dialout 4, 76 2022-11-26 08:47 /dev/ttyS12
crw-rw---- 1 root dialout 4, 77 2022-11-26 08:47 /dev/ttyS13
crw-rw---- 1 root dialout 4, 78 2022-11-26 08:47 /dev/ttyS14
crw-rw---- 1 root dialout 4, 79 2022-11-26 08:47 /dev/ttyS15
crw-rw---- 1 root dialout 4, 80 2022-11-26 08:47 /dev/ttyS16
crw-rw---- 1 root dialout 4, 81 2022-11-26 08:47 /dev/ttyS17
crw-rw---- 1 root dialout 4, 82 2022-11-26 08:47 /dev/ttyS18
crw-rw---- 1 root dialout 4, 83 2022-11-26 08:47 /dev/ttyS19
crw-rw---- 1 root dialout 4, 66 2022-11-26 08:47 /dev/ttyS2
crw-rw---- 1 root dialout 4, 84 2022-11-26 08:47 /dev/ttyS20
crw-rw---- 1 root dialout 4, 85 2022-11-26 08:47 /dev/ttyS21
crw-rw---- 1 root dialout 4, 86 2022-11-26 08:47 /dev/ttyS22
crw-rw---- 1 root dialout 4, 87 2022-11-26 08:47 /dev/ttyS23
crw-rw---- 1 root dialout 4, 88 2022-11-26 08:47 /dev/ttyS24
crw-rw---- 1 root dialout 4, 89 2022-11-26 08:47 /dev/ttyS25
crw-rw---- 1 root dialout 4, 90 2022-11-26 08:47 /dev/ttyS26
crw-rw---- 1 root dialout 4, 91 2022-11-26 08:47 /dev/ttyS27
crw-rw---- 1 root dialout 4, 92 2022-11-26 08:47 /dev/ttyS28
crw-rw---- 1 root dialout 4, 93 2022-11-26 08:47 /dev/ttyS29
crw-rw---- 1 root dialout 4, 67 2022-11-26 08:47 /dev/ttyS3
crw-rw---- 1 root dialout 4, 94 2022-11-26 08:47 /dev/ttyS30
crw-rw---- 1 root dialout 4, 95 2022-11-26 08:47 /dev/ttyS31
crw-rw---- 1 root dialout 4, 68 2022-11-26 08:47 /dev/ttyS4
crw-rw---- 1 root dialout 4, 69 2022-11-26 08:47 /dev/ttyS5
crw-rw---- 1 root dialout 4, 70 2022-11-26 08:47 /dev/ttyS6
crw-rw---- 1 root dialout 4, 71 2022-11-26 08:47 /dev/ttyS7
crw-rw---- 1 root dialout 4, 72 2022-11-26 08:47 /dev/ttyS8
crw-rw---- 1 root dialout 4, 73 2022-11-26 08:47 /dev/ttyS9
32 in all...
--
Bo Berglund
Developer in Sweden
More information about the lazarus
mailing list