Skip to content

Commit 7366321

Browse files
bors[bot]rj-xy
andcommitted
Merge #164
164: 10-serial-communication/nix-tooling.md /dev/ttyUSB0 permissions r=therealprof a=ricjac Correct the /dev/ttyUSB0 permissions, and add note about udev rules Co-authored-by: Richard Pierre <[email protected]>
2 parents 58f99ad + e69b1d3 commit 7366321

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/10-serial-communication/nix-tooling.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ But what's this `ttyUSB0` thing? It's a file of course! Everything is a file in
1616

1717
``` console
1818
$ ls -l /dev/ttyUSB0
19-
crw-rw---- 1 root uucp 188, 0 Oct 27 00:00 /dev/ttyUSB0
19+
crw-rw-rw- 1 root uucp 188, 0 Oct 27 00:00 /dev/ttyUSB0
2020
```
2121

22+
> **NOTE** if the permissions above is `crw-rw----`, the udev rules have not been set correctly
23+
> see [udev rules](../03-setup/linux.html#udev-rules)
24+
2225
You can send out data by simply writing to this file:
2326

2427
``` console

0 commit comments

Comments
 (0)