-
Notifications
You must be signed in to change notification settings - Fork 414
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
windows debug help #719
Comments
What if you use a real Windows machine and not a VM? All VMs seem to have USB related issues from time to time. |
Windows10 computer with no VM:
No luck |
The same with binary distributed hidapitester
|
How many devices does hid_enumerate gives you with vid/pid: 0x0483/0x5750 ? |
|
|
|
I found this note: If this is true, my attempt to make it Windows-compatible is doomed to fail. |
Yeah, Keyboards and Mouses are to be accessed only by native OS API on Windows and macOS. |
How to do it if the keyboard is my own keyboard that I've built myself and want to use it personaly on my own pc? Any workaround worth of recommendation? J. |
It is impossible to do both: use it as a Keyboard (to be recognized by Windows as a keyboard) and access with HIDAPI - not if it is the same device. You may have a few logical devices (at least different usage_page/usage with its own custom set of reports, or even different USB endpoints), and one of them is a Keyboard and accessible by the OS, and the other one is for your custom logic. |
I tried yesterday to add a second usage-page/usage and bricked my device :-) It is no longer accepted by Linux, and I prepared no other way to switch it to a bootloader than with an HID report packet. |
Hi,
I have super simple program, which is basically nothing but hidapitester with 99% of things removed.
When I run it on Linux
The connected device responds.
When compiled the same way in msys2 and run on Win11 (in qemu/kvm, usb device redirected), unfortunately
and the hardware device doesn't respond ...
I tried run it in gdb but no useful info found, it calls some api and then -1 is returned. I don't know whether the data was sent, but the device did not blink it's LED and the response not come back.
The device behaves like HID keyboard and does the typing when asked for.
https://github.com/ladmanj/shooplera
Thanks for any advice.
The text was updated successfully, but these errors were encountered: