Re: [Libusbx-devel] ceusbkwrapperdrv

2013-11-22 Thread Simon Haggett
Hi Liang I'm Simon Haggett, one of the maintainers of CEUSBKWrapper. > 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_Wrappe

[Libusbx-devel] [PATCH] WinCE: Fix race between wince_clock_gettime_threaded() and wince_clock_gettime()

2013-07-12 Thread Simon Haggett
this issue by having wince_init() wait until the timer thread has initialised before returning. Signed-off-by: Simon Haggett --- libusb/os/wince_usb.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libusb/os/wince_usb.c b/libusb/os/wince_usb.c index e4a6633

[Libusbx-devel] [PATCH] Windows: Fix race between windows_clock_gettime_threaded() and windows_clock_gettime()

2013-07-12 Thread Simon Haggett
addresses this issue by having windows_init() wait until the timer thread has initialised before returning. Signed-off-by: Simon Haggett --- libusb/os/windows_usb.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c

[Libusbx-devel] [PATCH 1/1] Windows: fd_to_winfd() shouldn't treat fd 0 as invalid

2013-07-11 Thread Simon Haggett
nsfer subsequently sent using the second context can then have its event handle assigned fd number 0. This patch corrects fd_to_winfd() to only consider fd values less than zero as invalid. Signed-off-by: Simon Haggett --- libusb/os/poll_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[Libusbx-devel] [PATCH]: wince_get_active_config_descriptor() sets host_endian incorrectly

2013-05-20 Thread Simon Haggett
Hi This patch fixes a bug (discovered by Hans De Goede) in wince_get_active_config_descriptor(), which is erroneously setting the host_endian parameter to 1 when it should be set to 0. Many thanks Simon >From 2defb08b87ac721b331d4393c846f1939f21f9c5 Mon Sep 17 00:00:00 2001 From: Si

Re: [Libusbx-devel] Win CE backend host_endian ness handling

2013-05-20 Thread Simon Haggett
Hi Hans There is indeed a bug here, thanks for catching this! Please see my comments below. > While reviewing host_endian handling in the descriptor code > (for the BOS / ss-ep-comp desc support), I noticed something weird > in the wince code: > > static int wince_get_device_descriptor( > s

Re: [Libusbx-devel] Windows CE support

2013-05-16 Thread Simon Haggett
Hi Matt I'm Simon Haggett, one of the maintainers of CEUSBKWrapper. CEUSBKWrapper is provided as two Platform Builder subprojects (drv\ceusbkwrapperdrv.pbpxml and lib\ceusbkwrapper.pbpxml), which must be incorporated into an OS design. For now, CEUSBKWrapper requires Windows CE 6.0 or

[Libusbx-devel] [PATCH] WinCE: Don't confirm protocol stalls with device in wince_transfer_callback()

2013-02-21 Thread Simon Haggett
prevents wince_transfer_callback() from attempting to confirm protocol stalls with the device, allowing io_result to remain set to ERROR_NOT_SUPPORTED. A couple of comments and a debug log message within wince_transfer_callback() are also corrected. Signed-off-by: Simon Haggett --- libusb/os