I am developing esp32 with linux mint, but the port option is not available in the toolbar,To be sure, I have installed ch341, and I can use it normally on windows
I also encountered a similar problem, but I am using esp32, I have installed the ch340/341 driver, but I still can not find /dev/ttyUSB0 or /dev/ttyACM0, the following is lsusb and dmesg | tail , may I ask how to deal with it
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0408:5365 Quanta Computer, Inc. HP TrueVision HD Camera
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 0bda:b00e Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 4325.303261] usbcore: registered new interface driver usb_ch341
[ 4325.303263] ch341: USB serial driver for ch340, ch341, etc.
[ 4325.303264] ch341: V1.6 On 2022.08
[ 4672.080046] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 5446.178798] audit: type=1400 audit(1680710400.898:29): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=21929 comm="cupsd" capability=12 capname="net_admin"
[ 5452.013257] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 5519.320250] traps: arduino-ide[22309] trap int3 ip:55f5af9e0763 sp:7ffdbcbd6a90 error:0 in arduino-ide[55f5acb8a000+6878000]
[ 5547.761405] traps: arduino-ide[22338] trap int3 ip:55ac24517763 sp:7ffcfec4dc60 error:0 in arduino-ide[55ac216c1000+6878000]
[ 5559.254527] traps: arduino-ide[22355] trap int3 ip:5561f8828763 sp:7ffcc7f9c020 error:0 in arduino-ide[5561f59d2000+6878000]
[ 5582.755939] traps: arduino-ide[22405] trap int3 ip:55e824e7e763 sp:7ffd699de7e0 err
Close your IDE.
Remove and re-insert your USB/device
View WIN >> DEVICE MGR >> USB >> is your port/device there?
Remove and re-insert your USB/device
Did you see DEVICE MGR do anything (close and open something?)
Restart your IDE.
IDE >> TOOLS >> PORT >> your port
IDE >> TOOLS >> BOARD >> your board
I am sorry for my mess... I had windows on my mind... follow the others (dialout)... are you using a laptop with "power saving" enabled? If so, disable it.
I am a laptop, but the power saving feature is not enabled. I can compile it, but I cannot burn it because I cannot find the port. I am using esp32 dev modules on the motherboard, and I cannot find ttyACM0 or USB0 under/dev
You can install a complete Linux OS on a thumb drive, and boot from the thumb drive. It does not mount the main hard drive for read/write security (but can be overridden), and it mounts all hardware.
It is the most convenient method. I have used it to boot any non-apple computer everywhere I needed a private computer session with total access to all the hardware (and get some data off the hard drive).
This (LiveUSB Linux) would be to test your hardware devices that are not accessible right now. It would show if the session you are using is not allowed access, or the hardware is not working.