Trouble getting USB Game Controller working

M

Matthew

We are having trouble getting a Happ Controls UGCI (Game Controller)
working under XP Embedded. It works fine on XP Pro SP1 on the same
hardware. It is a USB HID composite device that is supported by XP
without any additional drivers.

Comparing the setupapi.log files from XPe/XPPro, we can see that in
both cases, the system finds a match for USB/COMPOSITE in usb.inf and
goes on to load this driver apparently successfully.

XP Pro's setupapi.log carries on to show that it is setting up all
the interfaces on this device (e.g. USB\VID_078B&PID_0010&MI_00). On
XPe nothing else happens, it just seems to stop after loading the
composite device. As I understand it, this composite device
(usbccpg.sys) should be creating the additional device objects for
all the interfaces on the usb configuration 1.

What you see when looking at Device Manager under XPe is the
composite device appearing with a yellow "device not working
properly"-type exclamation mark. This appears for a few seconds,
then disappears, then re-appears again, then disappears again and
so on.

Further investigation shows that the devnode flags for the composite
device usbccgp.sys include DN_HAS_PROBLEM and I believe the problem
is "10 device not started". Interestingly I note the power status of
this device is D3 (off) but under XP Pro it is D0. I don't know
whether this is a symptom or cause!

We have the "Generic USB Input Device Support" macro component in our
configuration. I don't really understand the difference between the
"USB Composite Device" component and the "Generic USB Composite
Device" component that's included by the macro.

Any ideas or suggestions *much* appreciated!

Other USB devices work, notably a HID mouse, and a HID keyboard from
a Mac. The Mac keyboard appears as a Composite USB Device, with a HID
keyboard, a Consumer Control Device, and two other HID devices. This
suggests to us that USB Composite HID devices do work under our XPE
build.

Thanks,

Matthew
 
A

Andy Allred [MS]

As an experiment, try adding the following keys in the Extra Registry
settings in your config within TD. Let me know ASAP whether this fixes the
problem so I can get them into a component for SP2. You can see these keys
in your full SP1 Pro, i think these were new for SP1.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags
UsbFlags
IgnoreHWSerNum04710302 = REG_BINARY 1 1
GlobalDisableSerNumGen = REG_BINARY 1 1
GenericUSBDeviceString = REG_SZ "USB Device"
GenericCompositeUSBDeviceString = REG_SZ "Composite USB
Device"

Andy
 
M

Matthew

Thanks very much Andy, that has sorted out our problem (and a similar
problem we were having with another USB device).

Just out of interest (because this has been my life for a few days!)
are you able to explain why these keys are necessary?

Matthew
 
A

Andy Allred [MS]

New/Changed drivers for SP1 have a dependency on them. I'm sorry for the
confusion it caused.

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top