using_serial_ports_in_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
using_serial_ports_in_linux [2022/03/04 15:04] – richardrussell | using_serial_ports_in_linux [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
<code bb4w> | <code bb4w> | ||
- | OSCLI " | + | OSCLI " |
- | OSCLI "stty -F / | + | OSCLI "stty -F / |
serial% = OPENUP("/ | serial% = OPENUP("/ | ||
</ | </ | ||
Line 28: | Line 28: | ||
REM Continue with any background tasks | REM Continue with any background tasks | ||
</ | </ | ||
+ | |||
+ | ====Notes on permissions==== | ||
+ | |||
+ | Typically to access a serial port in Linux you will either need root privileges (e.g. by using **sudo**) or | ||
+ | be a member of the **dialout** group. | ||
+ | |||
+ | <code bash> | ||
+ | sudo usermod -a -G dialout $USER | ||
+ | </ | ||
+ | |||
+ | For this change to become active it is likely that you will need to restart your PC. | ||
using_serial_ports_in_linux.1646406271.txt.gz · Last modified: 2024/01/05 00:16 (external edit)