summaryrefslogtreecommitdiff
path: root/src/hal.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-25 15:42:03 -0300
committerGabriel Schneider <[email protected]>2026-08-25 16:17:41 -0300
commit6b176c598e55a48572e5e508a213491eec122bf4 (patch)
treea4f5d5dd0cd2942469ae618d81397c8a443582fc /src/hal.zig
parent9ab0cbb93dd7678dcc8e86e164325e7d1b8ea7c6 (diff)
downloadesp32p4-6b176c598e55a48572e5e508a213491eec122bf4.tar.gz
esp32p4-6b176c598e55a48572e5e508a213491eec122bf4.zip
Say what to do when the serial port is not readable
AccessDenied on /dev/ttyUSB0 is the first thing anyone hits, and "cannot open /dev/ttyUSB0: AccessDenied" does not help. The steps that open the port now share one failure path that names the group, and names the part that actually confuses people: adding yourself with usermod -aG does NOT affect a shell that is already running, because credentials are captured at login. So the same error greets someone who has already fixed it. The message offers newgrp for this shell and sg for one command.
Diffstat (limited to 'src/hal.zig')
0 files changed, 0 insertions, 0 deletions