-
Notifications
You must be signed in to change notification settings - Fork 29
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
Needs better error reporting #11
Comments
The output of |
Hi hadess, which version of hidrd are you using? |
That was with git master and the attached file. |
It failed with Not sure if that means it couldn't parse the main tag, or some other failure. |
I'll note that the above rdesc was parsed by the Linux kernel without a problem, so it's very likely to be a valid descriptor. |
http://eleccelerator.com/usbdescreqparser/ parses the above descriptor as:
And removing the trailing "00" fixes the parsing by hidrd. That's where the 0 was coming from :) |
Thank you for the investigation, @hadess |
Doesn't seem to bother Windows, Linux, iOS or Android, FWIW. |
@hadess Yes, that's why hidrd needs to be improved. Nevertheless the descriptor is invalid. |
Not much that I can do with that though. I'll try adding some better error reporting in lib/item/any.c, see where it fails.
The text was updated successfully, but these errors were encountered: