Using hid gadget for own purpose
hi,
i want to use the hid gadget to transmit data from an dev board with embedded linux to a windows pc and the other way round.
i got a proper hid descriptor from another project and added the hid gadget code to the board kernel (i'm using 2.6.33 so its not part of the kernel by default).
when i connect the board and the pc the device is recordnized and i can send reports to the pc (using an usb analyzer). but the other way round is not possible (although there is an output report defined). i tried to communicate to the board with the corresponding software of the old project (where i copied the hid desriptor) and a program called SimpleHIDWriter.
i tried the example from the gadget_hid docu and when i am using the hid_test-tool, it is able to receive signals from windows (pressing num for example cause an answer).
i recognized that there is no out endpoint defined in the hid gadget code. could that be the problem?
best regards
ghal maraz
|