USB HID Device intermittently working

  • Thread starter Heidi Linda eMVP
  • Start date
H

Heidi Linda eMVP

I'm working on a build which needs to use a USB HID device. When it
works, it shows up as two devices HID Compliant USB Device and USB Human
Interface Device, when it's not, a single device with a exclamation mark
on it. In XPe this is USB Human Interface Device, in Win2k when there
are problems - which, incidentally, on win2k are solved by unplugging it
and plugging it back in - it shows as "USB Device" in the USB
Controllers section. In Win2k, removing and reattaching the device will
always cause correct function, on XPe it almost never does.
There doesn't seem to be any pattern to whether it appears or doesn't,
except that not working is far more common than working. I've not really
dealt with USB at all, in embedded or otherwise, so I'm at something of
a loss.
Does anyone have any suggestions?
 
G

Guest

Hi Heidi, it's good to see you around!

This is a known issue for SP1, will be fixed for SP2. Here's the info:

New keys were added to full SP1 that the hid drivers have a dependency on for some Composite devices. Try adding these to your Extra Registry Settings within TD:

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
This posting is provided "AS IS" with no warranties, and confers no rights.
 
H

Heidi Linda eMVP

Andy Allred said:
Hi Heidi, it's good to see you around!

This is a known issue for SP1, will be fixed for SP2. Here's the info:

New keys were added to full SP1 that the hid drivers have a dependency on for
some Composite devices. Try adding these to your Extra Registry Settings
within TD:

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"
Where does that second 'UsbFlags' go?
 
H

Heidi Linda eMVP

Andy Allred said:
You can ignore that repeated "usbflags" it was accidentally added, the other
data underneath it in the list below are the Data and Values. UsbFlags is the
just the key.

Check out Pro SP1 as a comparison and it'll make sense if the explanation
above doesn't make sense <grin>
Yes, I put my brain back in just after I sent that, and imported the
keys on my dev machine *facepalms*.
 
H

Heidi Linda eMVP

Heidi Linda eMVP said:
Yes, I put my brain back in just after I sent that, and imported the
keys on my dev machine *facepalms*.

Incidentally it's now working, and those keys also stopped what we
thought was going to be a separate issue, the reconnect after a
disconnect.
 

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