Skip to main content
Topic: Windows CE6: USB IR Toy = unidentified USB device (Read 2268 times) previous topic - next topic

Windows CE6: USB IR Toy = unidentified USB device

Hello,

I am from Germany and new to this forum.
I recently purchased a USB IR Toy v2. I would like to use it to control a DVB-T box in my car from a Windows CE6 based China 2-DIN Radio+Navigation device.
When I connect the IR Toy to the USB cable of the Windows CE device, a message box "unidentified USB device" appears asking for a driver location.

I am quite familiar with Windows CE and know that no USB Serial Class device driver is configured in the registry of my Windows CE device. I tried to configure the USBSerialFn.dll as documented in MSDN "USB Function Client Driver Registry Settings (Windows Embedded CE 6.0)".
I replaced VID and PID in the MSDN example with the VID/PID of the IR Toy (VID 04D8, PID FD08), but still the message box pops up, so obviously my way to approach the problem is wrong.

Can anyone share some experience how to set up the USB IR Toy in a Windows CE 6 environment?

Thanks,
zoulou

Re: Windows CE6: USB IR Toy = unidentified USB device

Reply #1
For those interested... I found a solution for the issue above. But it is quite complex...

1) Install Visual Studio 2005 and Platform Builder 6
2) Create an OSDesign in VS2005 and build it
3) "Clone" C:WINCE600PUBLICCOMMONOAKDRIVERSUSBCLASSUSBSER to your OSDesign in order to create usbser.dll (this is the most complex thing!)
4) change the vendor/product IDs in usbser.cpp to match with the USB IRToy VID/PID
5) rebuild usbser.dll
6) Create registry settings for USB ClientDrivers and LoadClients for USB IRToy VID/PID (see usbser.reg for template)
7) Copy the usbser.dll to the WinCE device to the location specified in the "Dll" registry key in the ClientDrivers section
8) Connect USB IR Toy to USB and you should not see the "unidentified USB device" window coming up if you have done everything right