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 there, I am using the Arduino port of TinyUSB but am fairly sure that my issue lies with TinyUSB, hence my post here.
The board is "Adafruit Feather RP2040 with USB Type A Host" and I'm using Arduino.
What I am trying to do is use TinyUSB host mode to read mouse movements.
All mice and USB hubs work perfectly with multiple PCs. I do not believe there are any underlying USB hardware issues, but of course I could be wrong.
When I use one of my mice, plugged directly into the board, the library is working perfectly.
For another mouse, it does not work when plugged directly into the board. However, this mouse does work when connected to the board via a USB hub (very generic and unpowered).
When I try to use another USB hub I find that it does not work.
I have the TinyUSB logging/debug output working, however this does not show any errors. When the problematic mouse is plugged in the library just stops: debug output stops, and a heartbeat monitor I have set up on the board also stops, so the library is hanging somewhere.
My motivation is to get all HID mice to work with my device, but without any hub. I simply want it to be robust, so that as much as possible, any generic HID mouse will work. I know I can't ever guarantee that it will work with every one, but the fact that I have three mice on my desk and one of them doesn't work suggests I have a ways to go.
The only difference I can find when I interrogate the devices is that the one that works flawlessly is USB v1.1 and HID v1.1. The one that is problematic is both USB v1.0 and HID v1.0. I have no idea what this means for the library, does it claim to support both?
The purpose for making this post is that I am asking for suggestions about how best to troubleshoot this issue, and whether anyone can comment with regards to library support for USB v1.0 and HID v1.0 mice: am I simply asking it to do something it can't do?
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
-
Hi there, I am using the Arduino port of TinyUSB but am fairly sure that my issue lies with TinyUSB, hence my post here.
The board is "Adafruit Feather RP2040 with USB Type A Host" and I'm using Arduino.
What I am trying to do is use TinyUSB host mode to read mouse movements.
All mice and USB hubs work perfectly with multiple PCs. I do not believe there are any underlying USB hardware issues, but of course I could be wrong.
When I use one of my mice, plugged directly into the board, the library is working perfectly.
For another mouse, it does not work when plugged directly into the board. However, this mouse does work when connected to the board via a USB hub (very generic and unpowered).
When I try to use another USB hub I find that it does not work.
I have the TinyUSB logging/debug output working, however this does not show any errors. When the problematic mouse is plugged in the library just stops: debug output stops, and a heartbeat monitor I have set up on the board also stops, so the library is hanging somewhere.
My motivation is to get all HID mice to work with my device, but without any hub. I simply want it to be robust, so that as much as possible, any generic HID mouse will work. I know I can't ever guarantee that it will work with every one, but the fact that I have three mice on my desk and one of them doesn't work suggests I have a ways to go.
The only difference I can find when I interrogate the devices is that the one that works flawlessly is USB v1.1 and HID v1.1. The one that is problematic is both USB v1.0 and HID v1.0. I have no idea what this means for the library, does it claim to support both?
The purpose for making this post is that I am asking for suggestions about how best to troubleshoot this issue, and whether anyone can comment with regards to library support for USB v1.0 and HID v1.0 mice: am I simply asking it to do something it can't do?
Any and all suggestions are welcome. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions