Re: Debugging USB device
- From: Robert Marquardt <marquardt@xxxxxxxxxxxxx>
- Date: Fri, 20 Apr 2007 15:41:02 +0200
johann.d schrieb:
This is almost perfect, but my goal is to make a "standard" keypad to be
used as input device in any application, and not a vendor-specific device.
Now my problem is, as soon as I claim being to USB HID keypad (and of course
provide the appropriate descriptor, as found on the specification and in a
few samples), Windows stops my device and marks it as invalid (with error
code 10). Note that when I remove the "keyboard" part of the descriptor to
keep only the "LED" part (CAPS LOCK, NUM LOCK, SCROLL LOCK), the device is
marked OK, and any change in main keyboard status is correctly forwarded to
my board.
Delete the device in Device Manager while plugged before changing the descriptor. This makes Windows forget the driver binding. The next plug will be again a first plug.
Best post your HID descriptor to the USB IF forum
http://www.usb.org/phpbb/viewforum.php?f=1
Many decriptors have been dissected there already :-)
.
- References:
- Debugging USB device
- From: johann.d
- Debugging USB device
- Prev by Date: Debugging USB device
- Next by Date: Re: User Interface for device driver development
- Previous by thread: Debugging USB device
- Next by thread: Re: User Interface for device driver development
- Index(es):
Relevant Pages
|