Usb compound emumerated but joystick not visible[solved]
Posted: Fri Sep 29, 2006 5:40 am
From the examples folder, I modify the ex_usb_kbmouse by replacing the mouse with a joystick (from ex_usb_hid).
This device is correctly enumerated by winXP but the joystick does not show up in the control panel joystick list.
Keystroke from the keyboard are correctly received by application.
Shall I think that my desciptor are Ok as I get enumerated ? In that case where should I look ?
Regards
Last edited by NicolasC on Fri Sep 29, 2006 12:03 pm; edited 1 time in total
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
Posted: Fri Sep 29, 2006 11:13 am
First look in your registry
HKey_LOCAL_MACHINE> SYSTEM>ControlSet001>Enum>USB
your specific vid and pid should be there. An enumerated device is connected with its driver there via a GUID number.
See if your device manger has a device with a ? or a caution flag. It is likely that if you are truly enumerated that you haven't connected with a working driver. Enumeration is a bunch of descriptors exchanged with the OS if things go well you are allowed entry to the registry where it connects you with an existing driver or calls for a new driver to be installed.
NicolasC
Joined: 14 Sep 2006 Posts: 27
Posted: Fri Sep 29, 2006 11:51 am
You were right.
First when I changed in USB_CLASS_SPECIFIC_DESC the mouse with the joystick, I forgot to also update the interface descriptor (subclass code and protocol code )
I deleted the key in the registry and the reinstall did the trick
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum