我已经尝试了几天让我的 ESP32 在 /dev/ttyUSB* 中显示
我根本无法让它显示
我正在运行 ubuntu
如果我做 lsusb 我得到
Bus 001 Device 006: ID 1a86:55d4 QinHeng Electronics USB Single Serial
如果我运行:
ls -l /dev/ttyUS*
ls: cannot access '/dev/ttyUS*': No such file or directory
sudo dmesg
[ 2453.003616] usb 1-1.1: new full-speed USB device number 8 using xhci_hcd
[ 2453.112386] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.43
[ 2453.112403] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 2453.112410] usb 1-1.1: Product: USB Single Serial
[ 2453.112416] usb 1-1.1: SerialNumber: [removed by me]
我究竟做错了什么?有一次我运行了一个 ls /dev/* 并且通过消除我发现该设备是
lrwxrwxrwx 1 root root 18 May 7 20:07 189:5 -> ../bus/usb/001/006
编辑
ubuntu@raspberrypi:~$ usb-devices | awk '/55d4/' RS=
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 8 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(commc) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1a86 ProdID=55d4 Rev=04.43
S: Product=USB Single Serial
S: SerialNumber= Same as the one before
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=134mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=(none)
I: If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
我在跑步 :
Welcome to Ubuntu 21.10 (GNU/Linux 5.13.0-1025-raspi aarch64)