On Fri, Aug 17, 2012 at 5:56 PM, Pete Batard <p...@akeo.ie> wrote:
>
>
> Well, libwdi can already perform the first part of silently switching an
> existing USB driver to libusbK: you could create a service based on
> libwdi (with libusbK embedded in the library), and use the libwdi silent
> installation facilities to get the original driver silently replaced as
> needed. As libwdi disables the creation of a restore point by default
> when possible, this process shouldn't take that much longer than
> VMWare's driver switching.
>
> Now, due to time constraints as well as other considerations
> (removing/deleting anything needs to be carefully considered), libwdi
> doesn't support restoring the original driver, so unless you also embed
> the driver to restore in the library, you'll be missing the second part
> of a driver toggle. Hopefully, in the long run, this feature can be
> added to the library. It's also likely that VMWare use a trick for the
> driver disabling and restoration, as non WHQL drivers would produce a
> prompt on restore if using the standard Windows API for driver
> replacement, which I don't think their process does.
>
> But to answer your question, yes, libusbK.sys could achieve the same
> thing, and it can actually do it right now through libwdi, provided you
> know what driver you'll need to restore and if that driver is WHQL. All
> that's needed then is embeds both drivers in libwdi and create an app
> around it.
>
>
Thanks for the detailed response Pete.

So the big missing feature seems to be how to remove libusbK.sys and
replace it with the original driver without having to embed the original
driver. Currently the original driver _can_ be restored but only if the
driver is WHQL and embedded, correct?

Is it known how to do the restore step without having to embed the original
driver, or is this, as you say, a trick only known by VMWare at this point.

Thanks,
David

p.s. RemoteFX and Incentives Pro probably also do this kind of driver
substitution and restore without user interaction, but I haven't tested
those products
------------------------------------------------------------------------------
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
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to