Have tried 3 different udev files, am member of dialout, did a reboot and reloaded udev many times.
crw-rw-rw- 1 root dialout 166, 0 Mar 5 15:53 /dev/ttyACM0
OS: Ubuntu 22.04 up to date
Have spent many hours and have no idea what is wrong.
Blockquote
Sketch uses 259265 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18776 bytes (5%) of dynamic memory, leaving 308904 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: ec:da:3b:54:d8:dc
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0004ffff...
Compressed 15088 bytes to 10374...
Writing at 0x00000000... (100 %)
Wrote 15088 bytes (10374 compressed) at 0x00000000 in 0.2 seconds (effective 508.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 604.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 752.3 kbit/s)...
Hash of data verified.
Compressed 259632 bytes to 143914...
Writing at 0x00010000... (11 %)
Writing at 0x0001c993... (22 %)
Writing at 0x00024c49... (33 %)
Writing at 0x0002a138... (44 %)
Writing at 0x0002f3f6... (55 %)
Writing at 0x0003501f... (66 %)
Writing at 0x0003ee39... (77 %)
Writing at 0x00045410... (88 %)
Writing at 0x0004ab78... (100 %)
Wrote 259632 bytes (143914 compressed) at 0x00010000 in 1.7 seconds (effective 1234.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
and
024-03-05T20:54:00.578Z daemon INFO time="2024-03-05T15:54:00-05:00" level=info msg="Port /dev/ttyACM0 successfully opened"
2024-03-05T20:54:00.578Z monitor-service INFO Using port configuration for serial:/dev/ttyACM0: {"settingsList":[{"settingId":"baudrate","value":"9600"},{"settingId":"bits","value":"8"},{"settingId":"dtr","value":"on"},{"settingId":"parity","value":"none"},{"settingId":"rts","value":"on"},{"settingId":"stop_bits","value":"1"}]}
2024-03-05T20:54:00.578Z monitor-service INFO started monitor to /dev/ttyACM0 using serial
2024-03-05T20:54:00.579Z monitor-service INFO No port configuration changes have been detected. No need to send configure commands to the running monitor serial:/dev/ttyACM0.
2024-03-05T20:54:02.607Z root WARN Widget was activated, but did not accept focus after 2000ms: serial-monitor
Warning: /usr/lib/x86_64-linux-gnu/libvulkan_intel.so: cannot open shared object file: Permission denied
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_intel.so. Ignoring this JSON
Warning: loader_get_json: Failed to open JSON file virtio_icd.x86_64.json
Warning: loader_get_json: Failed to open JSON file lvp_icd.x86_64.json
Warning: /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: cannot open shared object file: Permission denied
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so. Ignoring this JSON
Warning: loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
Warning: loader_get_json: Failed to open JSON file intel_hasvk_icd.x86_64.json
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)