[Libusbx-devel] ceusbkwrapperdrv

2013-11-21 Thread Liang Zhu
Hi, I would like get some help regarding the installation of ceusbkwrapper driver in WINCE, I posted the following to my platform.reg [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Usb_Kernel_Wrapper] "Prefix" = "UKW" "Dll"= "ceusbkwrapperdrv.dll" "Flags" = dword:8 ; DEVFLAGS_NA

Re: [Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-21 Thread Pete Batard
> Is libusbx still being maintained, or is all the energy focused on the great > rejoining? Don't know about the others, but for the past few weeks my energy has been focused entirely on the [Rufus v1.4.0 release](http://rufus.akeo.ie) (which is now in beta at long last - pfew!). I also had to

Re: [Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-21 Thread Kerdo Link
Right to say, the bug is in windows_transfer_callback, just easy if (io_size > 0) will help. case ERROR_OPERATION_ABORTED: - istatus = priv->apib->copy_transfer_data(SUB_API_NOTSET, itransfer, io_size); - if (istatus != LIBUSB_TRANSFER_COMPLETED) { - usbi_dbg("Failed to copy par

Re: [Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-21 Thread Tim Roberts
Kerdo Link wrote: > > I have set a timeout 500ms in libusb_interrupt_transfer(). > ... > libusbx: debug [windows_transfer_callback] handling I/O completion > with errcode 995, size 0 > I was wrong, you are right. CancelIo does, indeed, result in ERROR_OPERATION_ABORTED. This does look like a bug