The serial port select popup on linux seem not really useful.
See original GitHub issueThis is how it looks on Ubuntu 22.04.1 (Chrome Version 107.0.5304.121).
Image:
Is this the actual expected behaviour?
The list extends from ttyS0
to ttyS31
. This list seem not really useful from a user standpoint.
Update: I was expecting something more readable as shown here: https://developer.chrome.com/articles/serial/#:~:text=User prompt for selecting a BBC micro%3Abit
Issue Analytics
- State:
- Created 10 months ago
- Comments:8
Top Results From Across the Web
Linux Serial Ports Using C/C++ - mbedded.ninja
A walk-through on how to configure serial ports correctly in Linux.
Read more >Serial Terminal Basics - SparkFun Learn
If you need to change your port after establishing a connection, go to Settings -> Modem Preferences. Choose the correct port under the...
Read more >select() does not seem to work on TTY - Stack Overflow
I'm currently writing a program that needs to communicate with an AT interface over an UART interface (the operating ...
Read more >How To Check and Use Serial Ports Under Linux - nixCraft
Use the setserial command to check and use serial ports. The setserial is a program designed to set and/or report the configuration information ......
Read more >Terminal Software
USB serial ports appear at some port number. Look under "my computer->properties->hardware->ports" to find where they are. Unfortunately the same device will ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be nice to figure out why some systems are enumerating so many ports. I would be very surprised if your system had so many UARTs. x86 systems typically have 4 and you’ll see a chunk of kernel messages like this on boot as the driver loads:
Do you see similar messages but counting all the way up to
ttyS31
?I wish the OS gave us enough information to do better here. The Web Serial API supports them because some users may have a device connected to one of them, but most of the time with modern devices you are using USB and so the filtering can hide them.
As a note, this API is stable but feedback is always welcome and can influence future additions to the API.