Arduino not throwing an error on an unusable serial port #1957
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
topic: serial monitor
Related to the Serial Monitor
type: imperfection
Perceived defect in any part of project
Describe the problem
I didn't have my permissions set correctly for my usb device. Arduino v1 would throw an error in these cases, notifying the user to fix their permissions. Arduino v2 doesn't throw any errors, and allows the user to try and send messages.
This is particularly confusing for linux users, as they don't have permissions to tty devices by default on most distros.
The only hint users get that their serial monitor is not behaving properly is the fact that they can't change the baud rate. Users might conclude the IDE isn't functioning properly, like I did.
To reproduce
Set the port to something you don't have access to.
Open the Serial Monitor on a blank project and select a baud rate different from the default.
Expected behavior
I expect to receive an error notifying me to fix my permissions
Arduino IDE version
Version 2.0.4
Operating system
Linux
Operating system version
Arch Linux
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: