Re: [Libusbx-devel] How to use LibUSBX with windows device driver installed.

2012-08-15 Thread Xiaofan Chen
On Thu, Aug 16, 2012 at 11:37 AM, John Chen wrote: > Hi, > I am trying to use LibUSB for both windows and linux, but it looks like in > order to use LibUSBX, I have to uninstall my windows's UMDF driver for > the USB Device, install WinUSB Driver using zadig. > > Is anyway I can use LibUSB with

[Libusbx-devel] How to use LibUSBX with windows device driver installed.

2012-08-15 Thread John Chen
Hi, I am trying to use LibUSB for both windows and linux, but it looks like in order to use LibUSBX, I have to uninstall my windows's UMDF driver for the USB Device, install WinUSB Driver using zadig. Is anyway I can use LibUSB without uninstall my windows's UMDF driver for the USB Device?Righ

Re: [Libusbx-devel] Generic device support in Windows

2012-08-15 Thread Xiaofan Chen
On Thu, Aug 16, 2012 at 5:32 AM, David Grant wrote: > Ok, so that sounds promising. I guess the next question is: is it possible > to use libwdi to install a filter driver for a device, or to replace that > device's driver, take over the device, and then put everything back to where > it was, all

Re: [Libusbx-devel] Generic device support in Windows

2012-08-15 Thread Xiaofan Chen
On Thu, Aug 16, 2012 at 5:07 AM, David Grant wrote: > I've looked at using libusb-win32 as a filter driver but it > seems I can only install it as a filter driver for all classes of the > devices that are already plugged in. That is not true. We provide the capability to install the filter driver

Re: [Libusbx-devel] Generic device support in Windows

2012-08-15 Thread Pete Batard
On 2012.08.15 23:09, Peter Stuge wrote: > Pete Batard wrote: >> WCID could help [1] > > Just a small note that the term Microsoft uses is "WinUSB Device". Which is explained in the 3rd paragraph of the of the link provided at [1]... Obviously, we can't use "WinUSB device" for something that appl

Re: [Libusbx-devel] Generic device support in Windows

2012-08-15 Thread Peter Stuge
Pete Batard wrote: > Now, if part of your concern has to do with avoiding user intervention > with regards to manually installing a driver, WCID could help [1] since > WinUSB/WCID devices Just a small note that the term Microsoft uses is "WinUSB Device". That can help for finding their info abou

Re: [Libusbx-devel] Generic device support in Windows

2012-08-15 Thread Pete Batard
On 2012.08.15 22:32, David Grant wrote: > Partially answering my own question here... I was just going through old > posts to the mailing list and found this: > > >> 1. Can I use Zadig to install a WinUSB driver for the VID/PID? > > > Yes, that's one of the things it is meant for. You can also us

Re: [Libusbx-devel] Generic device support in Windows

2012-08-15 Thread Pete Batard
On 2012.08.15 22:07, David Grant wrote: > Is it possible to do this (or something similar) on Windows at all Not without Microsoft's help in making the underlying usbport.sys driver (the one that accesses the device outside of a standard driver being installed) generic enough to support all of t

Re: [Libusbx-devel] Generic device support in Windows

2012-08-15 Thread David Grant
On Wed, Aug 15, 2012 at 2:07 PM, David Grant wrote: > On Linux we use libusb to access any that the user plugs in (except > keyboard/mouse/hub). We just detach the kernal driver from the device and > then claim the device and then send transfers to the device with > libusb_submit_transfer. Is it

Re: [Libusbx-devel] libusb segfaults - causes pcscd to crash

2012-08-15 Thread Pete Batard
On 2012.08.15 08:44, sebasti...@gmx-topmail.de wrote: > Just to verify that I did it right: > I added the following line to /etc/init.d/pcscd, before the pcsc daemon > gets started -> > export LIBUSB_DEBUG=2 2 is indeed warning and as far as I could see, pcscd doesn't redirect or suppress stderr

[Libusbx-devel] Generic device support in Windows

2012-08-15 Thread David Grant
On Linux we use libusb to access any that the user plugs in (except keyboard/mouse/hub). We just detach the kernal driver from the device and then claim the device and then send transfers to the device with libusb_submit_transfer. Is it possible to do this (or something similar) on Windows at all?

Re: [Libusbx-devel] libusb segfaults - causes pcscd to crash

2012-08-15 Thread sebastiank
> On 2012.08.13 11:00, sebastiank wrote: > > On 2012.08.12 23:59, Pete Batard wrote: > > Patch has now been pushed to the mailine git libusbx repository (along > > with other minor changes. See > > https://github.com/libusbx/libusbx/commits/master for details. > Thank you very much! The new version