On Thu, Jun 3, 2010 at 10:57 PM, Douglass, Woody <Woodrow.Douglass@xxxxxxxxxxxxxx> wrote: > I've called platform_device_register for each platform device. If I plug > this thing into a machine running ubuntu, it seems to be recognized as a > mouse and a joystick, and everything seems to behave as expected, with > /dev/hidg0 and /dev/hidg1 transmitting messages over usb. On a windows > machine, however, it doesn't seem to be recognized. If I comment the > 'mouse' portion out, windows sees it as a gamepad just fine. > > Am I missing something? How do I properly implement a composite USB HID > device like this? I am not familiar with the gadget driver myself. But maybe Windows does not your descriptor very much. What is the output of "lsusb -vvv" under Linux? Please detach the kernel HID driver for both interfaces to dump the report descriptor properly. -- Xiaofan http://mcuee.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html