You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm working with an ESP32 with a MAX3421 board, and I'm trying to read HID events coming from a USB controller.
I'm still learning how to use this library, and I started by adapting the hid_controller example with the Adafruit Feather ESP32 V2 configuration (since it's an ESP32-based board) and it works fine until I try to unplug and re-plug the controller, after which the tuh_task hangs since the internal event queue does not yield any other events. I also tried enabling verbose logging, but no meaningful logs are shown.
Does anybody else have this same issue?
I managed to make this thing work by re-initting the usb stack and resetting the MAX3421 at the press of a button, but it's kind of ugly so I wanted to ask if there is a less crude way to "unblock" the event queue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi! I'm working with an ESP32 with a MAX3421 board, and I'm trying to read HID events coming from a USB controller.
I'm still learning how to use this library, and I started by adapting the hid_controller example with the Adafruit Feather ESP32 V2 configuration (since it's an ESP32-based board) and it works fine until I try to unplug and re-plug the controller, after which the tuh_task hangs since the internal event queue does not yield any other events. I also tried enabling verbose logging, but no meaningful logs are shown.
Does anybody else have this same issue?
I managed to make this thing work by re-initting the usb stack and resetting the MAX3421 at the press of a button, but it's kind of ugly so I wanted to ask if there is a less crude way to "unblock" the event queue.
Thanks!
All reactions