-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stops detecting USB device insertion #425
Comments
I'm seeing a similar issue with my XBOX ONE Controller using the XBOXONE sketch. I can see the controller is recognised after being reconnected, based on the returned value from XBox.XboxOneConnected(), but its not reliably reading button presses, etc from the connected controller. If I disconnect and reconnect the USB cable, I can usually get it to connect properly (sometimes on the first go, sometimes after a couple of disconnect/reconnects). I can also achieve this with a hardware reset of the Arduino or USB Shield. I might try adding the USB::Reset approach you've mentioned above until this issue gets properly resolved |
I had a similar issue with the XBONE sketch. I found that the JSTATUS and KSTATUS from getVbusState was not updating when I removed the device. I added pUsb->busprobe(); at the beginning of the XBOXONE::Poll() function and it seems to have resolved my issues. Edit: If I just add Usb.busprobe() to my main loop just above Usb.Task() that seems to have also fixed my issue without modifying the libraries. |
Occasionally UHS2 stops detecting newly plugged device after previous device is removed. I have found that performing a USB::Reset seems to stop this behaviour so maybe something configured by USB::Reset is not being set during initialisation or being subsequently changed.
The text was updated successfully, but these errors were encountered: