Tim Roberts wrote:
> Arnon Gilboa wrote:
>   
>> Tim Roberts wrote:
>>     
>>> although I suspect it
>>> would be easier just to rewrite the Enum registry entry to switch to the
>>> new service.
>>>   
>>>       
>> Can you pls explain this point?
>>     
>
> Assuming you don't need to change the device's install class, you can
> change the driver for a device just by changing the "Service" entry in
> the Enum key for the device.  In my machine, in
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0204&Pid_6025\6&8ft2c8f&-&1,
> the Service value is "USBSTOR".  If I change that to some other service
> and then restart the device, it will come up with the other service's
> driver.
>
>   
Do we still need to prepare the driver (patch the inf for the specific 
vid-pid and sign a cat file) or just replace "USBSTOR" to "WinUSB"?
How does it know where to find the new driver ("service")? Don't we need 
to call any "refresh" API?
Seems also like a reasonable way to uninstall WinUSB and get back to 
USBSTOR, right?



------------------------------------------------------------------------------
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