Skip to content

Commit 3fc08b7

Browse files
bors[bot]johnthagen
andcommitted
Merge #153
153: Clarify how to locate FTDI device on macOS r=korken89 a=johnthagen I've gone through this guide once or twice and this has tripped me up several times. On mac you shouldn't try to locate the FTDI device using `dmesg`, but the previous guide seemed to lead you to that. I've moved the mac note higher in the docs as well as provided a command to actually find it on macOS. Co-authored-by: johnthagen <[email protected]>
2 parents b9c246c + e52ded7 commit 3fc08b7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
Connect the serial module to your laptop and let's find out what name the OS assigned to it.
44

5+
> **NOTE** On macs, the USB device will named like this: `/dev/cu.usbserial-*`. You won't
6+
> find it using `dmesg`, instead use `ls -l /dev | grep cu.usb` and adjust the following
7+
> commands accordingly!
8+
59
``` console
610
$ dmesg | grep -i tty
711
(..)
812
[ +0.000155] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
913
```
1014

11-
> **NOTE** On macs, the USB device will named like this: `cu.usbserial-*`. Adjust the following
12-
> commands accordingly!
13-
1415
But what's this `ttyUSB0` thing? It's a file of course! Everything is a file in *nix:
1516

1617
``` console

0 commit comments

Comments
 (0)