Re: [Libusbx-devel] RFC: libusbx OS specific API calls

2012-08-31 Thread Yves Arrouye
Let me add a vote for properties such as location IDs as identified by the OS. I can se how a general mechanism to retrieve properties would be good. I actually think it would be fine to rely on the OS headers for properties names if possible. After all if you are looking for an OS specific proper

Re: [Libusbx-devel] RFC: libusbx OS specific API calls

2012-08-31 Thread Pete Batard
On 2012.08.31 20:40, Hans de Goede wrote: > The reason I'm still responding is that if I've understood correctly, > the thing sparking this discussion is a property of winusb to treat > short packet reads as errors. Yup. That and #20 for Linux and Windows (report OS driver name [1]), prompted by

Re: [Libusbx-devel] RFC: libusbx OS specific API calls

2012-08-31 Thread Hans de Goede
Hi, I'm afraid I'm too busy with other stuff to comment on this atm, luckily we have a lot of other other capable contributors so I'll let those evaluate this :) The reason I'm still responding is that if I've understood correctly, the thing sparking this discussion is a property of winusb to tre

Re: [Libusbx-devel] RFC: libusbx OS specific API calls

2012-08-31 Thread Pete Batard
On 2012.08.31 15:42, Ludovic Rousseau wrote: > If I understand correctly you want to provide functions/services > specific to an OS. The same function would not be available for > another OS. Am I right? Yeah, though in this instance I'm thinking more about properties/attribute than function call

Re: [Libusbx-devel] RFC: libusbx OS specific API calls

2012-08-31 Thread Ludovic Rousseau
Hello, 2012/8/31 Pete Batard : > OK, let's try to strike the iron while it's hot, and get an idea of how > we could implement these platform/OS specific calls. And since I'm > interested in finding out if there exists a best approach for these kind > of implementations, I'm gonna use a fairly conc

Re: [Libusbx-devel] libusb-win32 and libusbK support has now been pushed to mainline

2012-08-31 Thread David Grant
On Fri, Aug 31, 2012 at 3:13 AM, Xiaofan Chen wrote: > If it is possible, please test with some USB Composite device > as well. Thanks. > > Sure, we have some webcams and such. I should probably start trying out xusb, we haven't used it here yet. Dave ---

Re: [Libusbx-devel] libusb-win32 and libusbK support has now been pushed to mainline

2012-08-31 Thread Xiaofan Chen
On Fri, Aug 31, 2012 at 4:47 PM, David Grant wrote: > FWIW, I've finally got a chance to build and test libusb with Windows with > our software and I'm also seeing the same thing as above (I'm using libusbK) > with a mass storage device. I was so impressed that everything else just > worked though

Re: [Libusbx-devel] libusb-win32 and libusbK support has now been pushed to mainline

2012-08-31 Thread David Grant
On Sat, Aug 25, 2012 at 3:03 AM, Xiaofan Chen wrote: > [ 0.518200] [11a8] libusbx: debug [winusbx_submit_bulk_transfer] > matched end > point 81 with interface 0 > [ 0.518200] [11a8] libusbx: debug [winusbx_submit_bulk_transfer] > reading 36 > bytes > [ 0.519200] [11a8] libusbx: debug