I have "Genesis to USB adapter" and two genesis gamepads. On windows it
is work correctly. On linux do not work "left" and "up" buttons on
D-pad, and two gamepads appear as one with double buttons.
At first I tried to write usb driver(usb_register), but when I connect
gamepad system choose usbhid driver not my. When I unplug gamepad system
call "probe" in my driver, but then immediately call "disconnect". Is
there a way to force the system to choose my driver first?
Than I tried to write hid driver(hid_register_driver), but "probe" is
not called. I can not find documentation describing how to make a
working driver for hid, it exists at all?
What is the correct way to write a driver for the gamepad? What am I
doing wrong?
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html