Arnon Gilboa wrote:
> Seems like much more than setting the service.
> Any idea if some of this changes can be dropped?

Many of them just don't matter.  They are copied here from the INF file
and are used only for the Device Manager user interface.

> $ diff usbstor1307.reg winusb1307.reg
> 20,24c20,23
> < "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
> < "Class"="USB"
> < "Driver"="{36FC9E60-C465-11CF-8056-444553540000}\\0046"
> < "Mfg"="Compatible USB storage device"
> < "Service"="USBSTOR"

Interesting, that's not right.  It shouldn't be Class=USB.  That's
supposed to be used only for hubs and controllers.  The "Driver" entry
might be problematic.


> 29a30,33
>  > 
> "DeviceInterfaceGUIDs"=hex(7):7b,00,45,00,36,00,43,00,37,00,46,00,39,00,30,00,\
>  > 
> 43,00,2d,00,30,00,32,00,45,00,32,00,2d,00,34,00,36,00,39,00,39,00,2d,00,41,\
>  > 
> 00,37,00,36,00,44,00,2d,00,34,00,38,00,32,00,39,00,30,00,32,00,42,00,44,00,\
>  > 43,00,38,00,42,00,33,00,7d,00,00,00,00,00
> 34c38
> < "ActiveService"="USBSTOR"
> ---
>  > "ActiveService"="WinUSB"

You'd need to add the DeviceInterfaceGUIDs key so WinUSB knows which
device interface to register.

Perhaps this is a bit too much magic just to save a little bit of effort.

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to