Re: [Libusbx-devel] Hotplug

2013-02-11 Thread Xiaofan Chen
On Tue, Feb 12, 2013 at 7:54 AM, Pete Batard wrote: > PS: I think the reason people are starting libusb/libusbx forks is > because they are put off by the (relative) complexity of the Windows > backend code. And that is pretty much a direct result of trying to > implement an API that was designed

Re: [Libusbx-devel] Hotplug

2013-02-11 Thread Pete Batard
On 2013.02.11 14:25, Hans de Goede wrote: > I've taken a quick look at Nathan's proposal, and I plan to do a > (personal) libusbx git tree with Nathan's hotplug code merged into it > sometime this week. Cool (as long as it stays personal or explictly flagged as "EXPERIMENTAL - MAY CHANGE AT ANY T

Re: [Libusbx-devel] Timeout issues on RaspberryPi

2013-02-11 Thread Zoltán Kovács
Hi, I'm not sure, but this seems same problem I had before, see https://github.com/libusbx/libusbx/commit/2f5023c41d3176e56bf0abc521b7c5f8b1ac4664 Zoltan 2013/2/11 Dominik Röttsches : > Hi Xiaofan, > > thanks very much for commenting. > > Xiaofan Chen wrote: > >>> There seems to be an issue with

Re: [Libusbx-devel] Timeout issues on RaspberryPi

2013-02-11 Thread Dominik Röttsches
Hi Xiaofan, thanks very much for commenting. Xiaofan Chen wrote: >> There seems to be an issue with the communication >> between libusbx and the Rasperry's USB stack. > > The bug seems to be specific to Raspberry Pi so I think > we can not help you much. I'd agree it does. But would you have an

Re: [Libusbx-devel] Hotplug

2013-02-11 Thread Xiaofan Chen
On Mon, Feb 11, 2013 at 11:21 PM, Hans de Goede wrote: >>> There may be some gotcha's when you start using libwdi to replace the >>> native windows driver with winusb / libusb0 / libusbk while an app >>> using the hotplug stuff is open, but that is unrelated to the API, that >>> is just tricky in

Re: [Libusbx-devel] [PATCH] linux: Don't set the USBFS_URB_SHORT_NOT_OK flag on the last urb

2013-02-11 Thread Xiaofan Chen
On Mon, Feb 11, 2013 at 11:21 PM, Hans de Goede wrote: > This fixes; https://libusb.org/ticket/142 > > Signed-off-by: Hans de Goede > --- > libusb/os/linux_usbfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c > index 0

[Libusbx-devel] [PATCH] linux: Don't set the USBFS_URB_SHORT_NOT_OK flag on the last urb

2013-02-11 Thread Hans de Goede
This fixes; https://libusb.org/ticket/142 Signed-off-by: Hans de Goede --- libusb/os/linux_usbfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c index 0ca02e1..d18d009 100644 --- a/libusb/os/linux_usbfs.c +++ b/libusb/os/lin

Re: [Libusbx-devel] Hotplug

2013-02-11 Thread Hans de Goede
Hi, On 02/11/2013 04:08 PM, Xiaofan Chen wrote: > On Mon, Feb 11, 2013 at 10:25 PM, Hans de Goede wrote: >> There may be some gotcha's when you start using libwdi to replace the >> native windows driver with winusb / libusb0 / libusbk while an app >> using the hotplug stuff is open, but that i

Re: [Libusbx-devel] Hotplug

2013-02-11 Thread Xiaofan Chen
On Mon, Feb 11, 2013 at 10:25 PM, Hans de Goede wrote: > On 02/10/2013 04:05 AM, Pete Batard wrote: Has anyone actually had a peek? >>> >>> I have asked the other admins to take a look at >>> Nathan's proposal. Hans has given one feedback. > > I've taken a quick look at Nathan's proposal, and

Re: [Libusbx-devel] Hotplug

2013-02-11 Thread Hans de Goede
Hi, On 02/10/2013 04:05 AM, Pete Batard wrote: >>> Has anyone actually had a peek? >> >> I have asked the other admins to take a look at >> Nathan's proposal. Hans has given one feedback. I've taken a quick look at Nathan's proposal, and I plan to do a (personal) libusbx git tree with Nathan's ho