Arnon Gilboa wrote:
> 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
>
Seems like much more than setting the service.
Any idea if some of this changes can be dropped?
$ 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"
---
> "ClassGUID"="{88BAE032-5A81-49F0-BC3D-A4FF138216D6}"
> "Class"="Universal Serial Bus devices"
> "Mfg"="Transcend Information, Inc."
> "Service"="WinUSB"
25a25
> "Driver"="{88BAE032-5A81-49F0-BC3D-A4FF138216D6}\\0001"
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"
------------------------------------------------------------------------------
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