-
Notifications
You must be signed in to change notification settings - Fork 901
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
CreateFile failure #81
Comments
Did you modify the hidtest to try to open your device VID and PID? Did you try with the testgui? |
Thanks for the quick response. Thanks DevicePath = 0x00ef363c "?\hid#vid_15d9&pid_0a4d#7&231f775c&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" |
please ignore last 2 lines above ! |
Windows won't show keyboards and mice. You'd need something like a custom HID device or a joystick. Download USBView and see if your device is showing up at all. |
Thanks - it does show - details as below. I did try to change it away from a mouse to avoid the windows issue... Device Descriptor: ConnectionStatus: DeviceConnected Endpoint Descriptor: Configuration Descriptor: Interface Descriptor: HID Descriptor: Endpoint Descriptor: |
It still says mouse: bInterfaceProtocol: 0x02 See the HID specification for more details: |
Does Atmel provide a custom HID device demo? Picking at descriptors is error-prone when you're new to USB. |
Thanks ! I was wondering if I'd missed something. Atmel's windows demo is Java based, and out of date - so does not work. |
Hello,
I am trying to use hidtest in VC++ 2010 express to communicate with an Atmel dev kit - set up as a USB HID device.
The first call to CreateFile fails (from hid_open from hid_enumerate).
Any suggestions as to what I am missing ?
Thanks
Brian
The text was updated successfully, but these errors were encountered: