|
From: David N. <Dav...@Da...> - 2009-02-05 18:17:32
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> If the device is connected with USB, I would expect the filter driver to find it. As a quick test after installing the filter, run the testlibusb application. If your device is displayed in the list, try controlling it with the API.<br> <br> Please keep the discussion on the list so others can benefit as well.<br> <br> David<br> <br> <br> <div class="moz-signature"><span style="font-style: italic; color: red;">My email address has changed. The new address is <a class="moz-txt-link-abbreviated" href="mailto:Dav...@Da...">Dav...@Da...</a>. Please update your address book.</span><br> <br> <span style="font-style: italic; font-size: 14pt;">David Novak</span><br> <br> Dajac Inc.<br> 317-608-0500 ext. 112<br> <br> <a class="moz-txt-link-abbreviated" href="http://www.Dajac.com">www.Dajac.com</a><br> <a class="moz-txt-link-abbreviated" href="mailto:Dav...@Da...">Dav...@Da...</a><br> </div> <br> <br> Blaine Booher wrote: <blockquote cite="mid:200...@cl..." type="cite"> <pre wrap="">Thanks David. What I am looking to do is modify existing SCSI packets that are going down the USB stack out to the device. I dont think Libusb would allow me to do this. Am I correct? The libsub filter driver most likely only allows me to grab a handle to an existing device and talk to it - not intercept stack messages. Blaine On Thursday 05 February 2009, you wrote: </pre> <blockquote type="cite"> <pre wrap=""> If you install the filter, then you can use the Libusb-win32 API in the normal way. That interface is sufficiently documented on the Libusb web site. David My email address has changed. The new address is <a class="moz-txt-link-abbreviated" href="mailto:Dav...@Da...">Dav...@Da...</a>. Please update your address book. David Novak Dajac Inc. 317-608-0500 ext. 112 <a class="moz-txt-link-abbreviated" href="http://www.Dajac.com">www.Dajac.com</a> <a class="moz-txt-link-abbreviated" href="mailto:Dav...@Da...">Dav...@Da...</a> Blaine Booher wrote: David, Thank you for your response. Is there an API or documentation on how I would go about doing this? Injecting messages is exactly what I am looking for but at this point we are exploring the Windows DDK route. I have used libusb in the past and am familiar with it. Any ideas? The website (from what I've seen) doesnt seem to have exactly what I am looking for. Thanks, Blaine On Tuesday 03 February 2009, David Novak wrote: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Someone correct me if this is wrong, but my view is that the filter sits between a driver and the USB port. It allows you to intercept and inject messages at that point. You can use it when you want to access a device for which you don't have knowledge of the driver API.<br> <br> David<br> <br> <div class="moz-signature"><span style="font-style: italic; color: red;">My email address has changed. The new address is <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:Dav...@Da...">"mailto:Dav...@Da..."</a>><a class="moz-txt-link-abbreviated" href="mailto:Dav...@Da...">Dav...@Da...</a></a>. Please update your address book.</span><br> <br> <span style="font-style: italic; font-size: 14pt;">David Novak</span><br> <br> Dajac Inc.<br> 317-608-0500 ext. 112<br> <br> <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="http://www.Dajac.com">"http://www.Dajac.com"</a>><a class="moz-txt-link-abbreviated" href="http://www.Dajac.com">www.Dajac.com</a></a><br> <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:Dav...@Da...">"mailto:Dav...@Da..."</a>><a class="moz-txt-link-abbreviated" href="mailto:Dav...@Da...">Dav...@Da...</a></a><br> </div> <br> <br> Blaine Booher wrote: <blockquote cite=<a class="moz-txt-link-rfc2396E" href="mailto:mid:200...@cl...">"mid:200...@cl..."</a> type="cite"> <pre wrap="">Hey everyone, I was wondering what exactly the filter driver is? I dont believe I have it installed but I am using libusb just fine (I think I only have the device driver installed). I couldnt find on the website what the difference between these two drivers is. I have a current prototype using libusb to issue SCSI commands to a mass storage device arbitrarily. This works great, but now we need a way to actually issue these commands during standard Mass Storage requests (read/write etc of a flash drive, for example). I do not see how I could access to these in python (or user mode in general) - so I believe my best option is to create a filter driver to modify the SCSI requests as they go down the stack. Does this sound right? And if so, is there some kind of interface directly into the libusb filter driver that I could use? Thank you, Blaine ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Libusb-win32-devel mailing list <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:Lib...@li...">"mailto:Lib...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:Lib...@li...">Lib...@li...</a></a> <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel">"https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel">https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel</a></a> </pre> </blockquote> </body> </html> ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Libusb-win32-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Lib...@li...">Lib...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel">https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel</a> </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> </body> </html> |