Re: [Libusbx-devel] [PATCH] linux_usbfs: Consume all events on a fd in one go

2013-03-08 Thread Hans de Goede
Hi, On 03/08/2013 08:26 AM, Xiaofan Chen wrote: > On Thu, Mar 7, 2013 at 7:44 PM, Hans de Goede wrote: >> This fixes issue 6: "libusb_handle_events_timeout() only handles one event" >> https://github.com/libusbx/libusbx/issues/6 >> >> Note: untested / POC!! > > Just wondering how to test this. Is

[Libusbx-devel] Huawei 3G USB + archlinux arm

2013-03-08 Thread Bojan Buić
Hello, I try connect Huawei E353 on arch linux arm through usb_modeswitch which use libusbx. In log of usb_modeswitch module I find error : libusbx: error [op_clear_halt] clear_halt failed error -1 errno 71 This in source here : static int op_clear_halt(struct libusb_device_handle *handle,

Re: [Libusbx-devel] Huawei 3G USB + archlinux arm

2013-03-08 Thread Xiaofan Chen
On Fri, Mar 8, 2013 at 5:32 PM, Bojan Buić wrote: > I try connect Huawei E353 on arch linux arm through > usb_modeswitch which use libusbx. > > In log of usb_modeswitch module I find error : > > libusbx: error [op_clear_halt] clear_halt failed error -1 errno 71 > > Can somebody help about this exc

Re: [Libusbx-devel] Huawei 3G USB + archlinux arm

2013-03-08 Thread Bojan Buić
Chen thank you for answer, I using Linux version 2.6.35-8-ARCH+ ARM : http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX233 In attach is complet log of usb_modeswitch and dmesg if can help BB 2013/3/8 Xiaofan Chen > On Fri, Mar 8, 2013 at 5:32 PM, Bojan Buić wrote: > > I

Re: [Libusbx-devel] Huawei 3G USB + archlinux arm

2013-03-08 Thread Xiaofan Chen
On Fri, Mar 8, 2013 at 9:18 PM, Bojan Buić wrote: > Chen thank you for answer, > > I using Linux version 2.6.35-8-ARCH+ > > ARM : http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX233 > > In attach is complet log of usb_modeswitch and dmesg if can help > Your log does not tell mu

Re: [Libusbx-devel] Huawei 3G USB + archlinux arm

2013-03-08 Thread Alan Stern
On Fri, 8 Mar 2013, Bojan Buić wrote: > Hello, > > I try connect Huawei E353 on arch linux arm through usb_modeswitch which > use libusbx. > > In log of usb_modeswitch module I find error : > > libusbx: error [op_clear_halt] clear_halt failed error -1 errno 71 Error 71 generally means that the