On Sat, 2012-10-27 at 02:57 +0200, Peter Stuge wrote:
> therau2000 wrote:
> > There is visibly something similar to Linux's "detach_kernel_driver"
> > followed by "claim_interface" followed by lets-do-business followed by a
> > "release_interface" followed by a "re-attach_kernel_driver" which then
> > resumes normal removable drive operations.
>
> How did you determine that?
1-the registry shows only one driver for the Device: USBSTOR
2-More intensive testing showed that while there is any transfer in
progress to/from the Device's removable drive, there is no possible
communication with the Device's Firmware and vice/versa.
3-when the USBSTOR driver is active (when removable drive transfers are
possible) there is a constant "Test Unit Ready" (op code 00h) every
second. While USB communication with Device's Firmware is in effect,
that regular "Test Unit Ready" is suspended but it resumes immediately
after USB communication with Device's Firmware is over.
>
>
> > 1-how can we detach/re-attach the default USBSTOR driver under Windows?
> > 2-how can we load and attach libusb0 (.dll and/or .sys) WITHOUT doing an
> > install?
> >
> > This CAN be done; the proof is that the "competing program" is doing it.
>
> I think you're way off. The more likely explanation is that the
> competing program uses some random API in the Windows storage
> subsystem.
>
Allow me to disagree. I think I am right on: the Device is communicating
with two different parties, one at a time. It makes perfect sense that
the default OS driver is somehow "suspended" then "resumed".
therau2000
>
> //Peter
>
> ------------------------------------------------------------------------------
> WINDOWS 8 is here.
> Millions of people. Your app in 30 days.
> Visit The Windows 8 Center at Sourceforge for all your go to resources.
> http://windows8center.sourceforge.net/
> join-generation-app-and-make-money-coding-fast/
> _______________________________________________
> libusbx-devel mailing list
> libusbx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusbx-devel
------------------------------------------------------------------------------
WINDOWS 8 is here.
Millions of people. Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel