droogmic / microrust

Learning embedded development with Rust on the micro:bit
https://droogmic.github.io/microrust/
Other
61 stars 14 forks source link

4.2 Serial communication :: missing info for Linux #27

Open steelx opened 4 years ago

steelx commented 4 years ago

The tooling section has no information or help for Linux. Im using PopOs 20.04 also by running dmesg | grep -i tty command I dont see /dev/ttyUSB0

but I get following result

❯ sudo dmesg | grep -i tty
[    0.016786] ACPI: SSDT 0x0000000062E07E78 001014 (v02 _ASUS_ TbtTypeC 00000000 INTL 20160527)
[    0.161808] printk: console [tty0] enabled
[   33.928897] Bluetooth: RFCOMM TTY layer initialized
[ 1048.976117] cdc_acm 1-13.3:1.1: ttyACM0: USB ACM device
❯ ls -l /dev/ttyUSB0
ls: cannot access '/dev/ttyUSB0': No such file or directory
Eragonfr commented 3 years ago

Your Micro:Bit is on /dev/ttyACM0 not on /dev/ttyUSB0 It's a common result on linux, in fact evry Linux I have is doing that, a connected board with serial over usb ends on /dev/ttyACM0If I have second board I get a /dev/ttyACM1.