[Libusbx-devel] Gracefully detecting device presence

2012-09-19 Thread Bob Lapique
Hello, I am using the asynchronous mode. On Linux, it is pretty straightforward to detect device connection / disconnection with libusb_set_pollfd_notifiers(). I can do it in Windows too, by checking libusb_submit_transfer() return code and libusb_transfer::status in callback functions install

Re: [Libusbx-devel] help/doc needed

2012-09-18 Thread Bob Lapique
final (successful) try. Ciao, Bob. Le 17/09/2012 15:18, Xiaofan Chen a écrit : > On Mon, Sep 17, 2012 at 3:27 PM, Bob Lapique wrote: >> Hi all, >> >> I can see a lot of very technical posts out there. So, I wonder if it Is >> the right place to seek help on basic Li

Re: [Libusbx-devel] help/doc needed

2012-09-17 Thread Bob Lapique
OK, I am really glad to find some help here. What I want to do is to communicate with a home made board, based on a Microchip PIC microcontroller (PIC18 or PIC32), with interrupt transfers. I don't want anything special, just send and receive packets to trigger measurements and get the results.

[Libusbx-devel] help/doc needed

2012-09-17 Thread Bob Lapique
Hi all, I can see a lot of very technical posts out there. So, I wonder if it Is the right place to seek help on basic Libusbx usage... If not, I'd be very pleased if someone could redirect me to some place where the difference between the Linux and Windows implementations is documented. I am

[Libusbx-devel] Async I/O on Win XP 32 for dummies (reformatted)

2012-09-14 Thread Bob Lapique
Hi, I implemented the async I/O on Linux without threads, and it is a killer feature over v0.1. Now, I want to port my C++ classes to Windows without threads if possible. But is it possible ? What I did on Windows : --- * installed the WinUSB driver for my device (Microchi

[Libusbx-devel] Async I/O on Win XP 32 for dummies

2012-09-14 Thread Bob Lapique
Hi, I implemented the async I/O on Linux without threads, and it is a killer feature over v0.1. Now, I want to port my C++ classes to Windows without threads if possible. But is it possible ? What I did on Windows : installed the WinUSB driver for my