Xinyuan-LilyGO / LilyGo-LoRa-Series

LILYGO LoRa Series examples
602 stars 168 forks source link

Pi4 connected to T-Beam S3 Supreme: RaspiOS kernel reports usb 1-1.1: reset full-speed USB device number 3 using xhci_hcd #99

Closed VirusPilot closed 1 year ago

VirusPilot commented 1 year ago

Raspberry Pi4 is having this error/reset on regular basis, not sure what the reason is.

VirusPilot commented 1 year ago

It is worth noting that I am compiling/flashing my own SoftRF fork with the Arduino setting “USB Mode: USB-OTG CDC (TinyUSB)” because “Hardware CDC and JTAG” mode throws a compilation error:

_../SoftRF/software/firmware/source/SoftRF/src/platform/ESP32.cpp:1047:7: error: 'USB' was not declared in this scope if (USB.manufacturerName(ESP32SX_DeviceManufacturer)) {

VirusPilot commented 1 year ago

Resolved with the following change in SoftRF: https://github.com/VirusPilot/SoftRF/commit/bb679229188c852c02fd3f779012c42c1a0bcf6e