Discussion:
[Libusb-win32-devel] [LIBUSB] Find the filter attached device list
Siju Samuel
2014-06-24 20:28:34 UTC
Permalink
Hi,

I installed libusb filter on 32 bit windows 7 machine [
libusb-win32-devel-filter-1.2.6.0.exe downloaded as per
http://sourceforge.net/p/libusb-win32/wiki/Home/]

1)
How can I find the list of USB devices with filter attached.

2)
When I installed the above exe, first it installed libusb-win32 and then
a filter gui wizard came up to attach the filter. Now how I get the
same gui-wizard, if I want to remove teh filter. Clicking teh above .exe
just prompt for installing lib-win32 again.

Thanks,
SijU Samuel
Xiaofan Chen
2014-06-25 09:44:17 UTC
Permalink
Post by Siju Samuel
Hi,
I installed libusb filter on 32 bit windows 7 machine [
libusb-win32-devel-filter-1.2.6.0.exe downloaded as per
http://sourceforge.net/p/libusb-win32/wiki/Home/]
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.
Post by Siju Samuel
2)
When I installed the above exe, first it installed libusb-win32 and then
a filter gui wizard came up to attach the filter. Now how I get the same
gui-wizard, if I want to remove teh filter. Clicking teh above .exe just
prompt for installing lib-win32 again.
The GUI filter wizard can be accessed from the Windows
Start Menu (LibUSB-Win32 --> Filter Wizard). Or
the installation folder, eg:
C:\Program Files\LibUSB-Win32\bin\install-filter-win.exe
--
Xiaofan
Siju Samuel
2014-06-25 17:51:43 UTC
Permalink
thanks very much for the clarification.
Post by Xiaofan Chen
Post by Siju Samuel
Hi,
I installed libusb filter on 32 bit windows 7 machine [
libusb-win32-devel-filter-1.2.6.0.exe downloaded as per
http://sourceforge.net/p/libusb-win32/wiki/Home/]
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.
Post by Siju Samuel
2)
When I installed the above exe, first it installed libusb-win32 and
then
Post by Siju Samuel
a filter gui wizard came up to attach the filter. Now how I get the
same
Post by Siju Samuel
gui-wizard, if I want to remove teh filter. Clicking teh above .exe
just
Post by Siju Samuel
prompt for installing lib-win32 again.
The GUI filter wizard can be accessed from the Windows
Start Menu (LibUSB-Win32 --> Filter Wizard). Or
C:\Program Files\LibUSB-Win32\bin\install-filter-win.exe
--
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
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Siju Samuel
2014-06-26 14:47:41 UTC
Permalink
Hi,
Post by Xiaofan Chen
Post by Xiaofan Chen
Post by Siju Samuel
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

thanks, siju samuel
Post by Xiaofan Chen
Post by Xiaofan Chen
Hi,
I installed libusb filter on 32 bit windows 7 machine [
libusb-win32-devel-filter-1.2.6.0.exe downloaded as per
http://sourceforge.net/p/libusb-win32/wiki/Home/]
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.
Post by Xiaofan Chen
2)
When I installed the above exe, first it installed libusb-win32 and
then
Post by Xiaofan Chen
a filter gui wizard came up to attach the filter. Now how I get the
same
Post by Xiaofan Chen
gui-wizard, if I want to remove teh filter. Clicking teh above .exe
just
Post by Xiaofan Chen
prompt for installing lib-win32 again.
The GUI filter wizard can be accessed from the Windows
Start Menu (LibUSB-Win32 --> Filter Wizard). Or
C:\Program Files\LibUSB-Win32\bin\install-filter-win.exe
--
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
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Xiaofan Chen
2014-06-27 01:44:07 UTC
Permalink
Post by Siju Samuel
Post by Xiaofan Chen
Post by Siju Samuel
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
Siju Samuel
2014-06-27 14:07:34 UTC
Permalink
thanks so much. I will check the code.
Post by Xiaofan Chen
Post by Siju Samuel
Post by Xiaofan Chen
Post by Siju Samuel
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
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Siju Samuel
2014-06-27 19:03:02 UTC
Permalink
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
Post by Siju Samuel
thanks so much. I will check the code.
Post by Xiaofan Chen
Post by Siju Samuel
Post by Xiaofan Chen
Post by Siju Samuel
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
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Xiaofan Chen
2014-06-28 12:09:22 UTC
Permalink
Post by Siju Samuel
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.
------------------------
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?
Yes. The 32bit library/application will work under 64bit Windows.
Post by Siju Samuel
3. Which version of libusb filter need to install since the physical machine
is 64bit.
The installer will take care of 32bit/64bit for you. It will install the 32bit
Filter GUI for you under 32bit Windows and 64bit Filter GUI under
64bit Windows. So you just need to use the shortcut from Startmenu
and it will work.

If you do not use the installer but just the binary package, then you can use
to 64bit version of the filter wizard under 64bit Windows.

If you use the inf-wizard (not for filter), then it will automatically take
care of 32bit/64bit for you.
--
Xiaofan
Siju Samuel
2014-06-29 19:19:35 UTC
Permalink
Thanks very much.
Post by Siju Samuel
Post by Siju Samuel
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
Post by Siju Samuel
detail.
------------------------
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?
Yes. The 32bit library/application will work under 64bit Windows.
Post by Siju Samuel
3. Which version of libusb filter need to install since the physical
machine
Post by Siju Samuel
is 64bit.
The installer will take care of 32bit/64bit for you. It will install the 32bit
Filter GUI for you under 32bit Windows and 64bit Filter GUI under
64bit Windows. So you just need to use the shortcut from Startmenu
and it will work.
If you do not use the installer but just the binary package, then you can use
to 64bit version of the filter wizard under 64bit Windows.
If you use the inf-wizard (not for filter), then it will automatically take
care of 32bit/64bit for you.
--
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
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Loading...