2013/8/23 Xiaofan Chen
> On Sat, Aug 24, 2013 at 12:44 AM, Juan Lang wrote:
> > 2013/8/22 Xiaofan Chen
> >> Again I agree with you. On the other hand, I think it is still good
> >> if Juan can come out a version for review. I do not mind review and
> >> carry out some testing myself.
> >
> > Th
This uses WinUsb when available by deferring reading device and config
descriptors from GEN_PASS to DEV_PASS.
You can merge this Pull Request by running:
git pull https://github.com/juanlang/libusbx master
Or you can view, comment on it, or merge it online at:
https://github.com/libusbx/lib
On Sat, Aug 24, 2013 at 12:44 AM, Juan Lang wrote:
> 2013/8/22 Xiaofan Chen
>> Again I agree with you. On the other hand, I think it is still good
>> if Juan can come out a version for review. I do not mind review and
>> carry out some testing myself.
>
> Thanks Xiaofan. Is emailing a diff to the
2013/8/22 Xiaofan Chen
> >> I have a hack that works for me by falling back to WinUsb when these
> >> ioctls fail, but it's pretty hacky since I don't actually know (in
> >> GEN_PASS) whether the device is a WinUsb device or not. I'll work on
> >> postponing the ioctls until DEV_PASS to have some
On Fri, Aug 23, 2013 at 9:32 PM, Xiaofan Chen wrote:
> On Fri, Aug 23, 2013 at 9:02 PM, Xiaofan Chen wrote:
>> On Thu, Aug 22, 2013 at 10:50 PM, Hans de Goede wrote:
>>> On 08/22/2013 03:30 AM, Xiaofan Chen wrote:
For OpenBSD and NetBSD, I can carry out some simple tests
over the weeke
On Fri, Aug 23, 2013 at 9:02 PM, Xiaofan Chen wrote:
> On Thu, Aug 22, 2013 at 10:50 PM, Hans de Goede wrote:
>> On 08/22/2013 03:30 AM, Xiaofan Chen wrote:
>>> For OpenBSD and NetBSD, I can carry out some simple tests
>>> over the weekend (basic building, stress test and xusb example
>>> on a fe
On Fri, Aug 23, 2013 at 9:02 PM, Xiaofan Chen wrote:
> On Thu, Aug 22, 2013 at 10:50 PM, Hans de Goede wrote:
>> On 08/22/2013 03:30 AM, Xiaofan Chen wrote:
>>> For OpenBSD and NetBSD, I can carry out some simple tests
>>> over the weekend (basic building, stress test and xusb example
>>> on a fe
On Thu, Aug 22, 2013 at 10:50 PM, Hans de Goede wrote:
> On 08/22/2013 03:30 AM, Xiaofan Chen wrote:
>> For OpenBSD and NetBSD, I can carry out some simple tests
>> over the weekend (basic building, stress test and xusb example
>> on a few devices).
>
> I was already hoping you would test these, t
GetPipeProperties may fail when the device is unplugged if `DeviceVersion` not
greater than 320. This case `maxPacketSize` will be zero and the integer
division will throw a EXC_ARITHMETIC signal.
You can merge this Pull Request by running:
git pull https://github.com/ikarienator/libusbx fix-