USB host device not reported on disconnect and reconnect
Posted: Sat Jul 27, 2024 4:29 am
I'm using the usb host library on an ESP32S3. If I reset the ESP with a USB device connected, or plug in a USB device after the ESP has started up, I get, as expected, a USB_HOST_CLIENT_EVENT_NEW_DEV message, and can connect to the device.
If I then unplug the device, I get, again as expected, a USB_HOST_CLIENT_EVENT_DEV_GONE message.
However, if I now plug the device in again, I get no messages, and thus can't connect to the device. Same if I plug in a different device, no message.
Any ideas?
If I then unplug the device, I get, again as expected, a USB_HOST_CLIENT_EVENT_DEV_GONE message.
However, if I now plug the device in again, I get no messages, and thus can't connect to the device. Same if I plug in a different device, no message.
Any ideas?