Re: [LIBUSB] Find the filter attached device list
Siju Samuel <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CACtqk+28_ByXhMA_mqayCedCo9p7wCtAL4bmnXP854APuuuhFg@mail.gmail.com> |
Hi Xiaofan,
One more clarication :
I am working with a software which works with win32-usb-filter. I got
compiled it from source in 32 bit windows (and usesMingw 32 ) and it
working fine. I have clarification on how to do it 64-bit machine. Here
is detail.
in 32-bit physical machine with Mingw32 and software :
------------------------
I have built the software along with
libusb-win32-bin-1.2.6.0\include\lib0_usb.h
libusb-win32-bin-1.2.6.0/bin/x86/libusb0_x86.dll
libusb-win32-bin-1.2.6.0lib/gcc/libusb.a
[it was needed to copy to Mingw32 bin and lib folders.]
Then also did filter install with libusb-win32-devel-filter-1.2.6.0.
Which also installed x86 version of libusb0 in C:\Windows\System32.
It is working fine
So in 64 bit physical machine with Ming32
------------------------------
1. I need to compile the software to 32 bit libraries. Hence I am using
Mingw32.
2. Using include\lib0_usb.h
/bin/x86/libusb0_x86.dll
/gcc/libusb.a
is this correct?
3. Which version of libusb filter need to install since the physical
machine is 64bit.
Can you please suggest and also I would be grateful if you could provide a
short explanintion on why.
thanks, siju samuel
On Fri, Jun 27, 2014 at 9:07 AM, Siju Samuel <[email protected]>
wrote:
> thanks so much. I will check the code.
>
>
> On Thu, Jun 26, 2014 at 8:44 PM, Xiaofan Chen <[email protected]> wrote:
>
>> On Thu, Jun 26, 2014 at 10:47 PM, Siju Samuel <[email protected]>
>> wrote:
>> >>>> 1)
>> >>>> How can I find the list of USB devices with filter attached.
>> >
>> >>>You can run the filter GUI wizard and it will tell you
>> >>>the list of USB devices with the filter attached.
>> >
>> > Do there have a way to programmatically find out the the list of USB
>> > devices with win-usb32 filter attached
>> >
>>
>> You do not need to differentiate the filter mode or the device driver
>> mode.
>> You should only care which device has the supported driver libusb-win32
>> (libusb0.sys in filter mode or device driver mode, or libusbk.sys).
>>
>> In that case, you can check the source code of testlibusb.c which
>> is part of the source code archive download.
>>
>> http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/
>> Download libusb-win32-src-1.2.6.0.zip.
>>
>> --
>> Xiaofan
>>
>>
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community
>> Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft
>> _______________________________________________
>> Libusb-win32-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
>>
>
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Libusb-win32-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel