Re: [Libusbx-devel] Question about libusb_get_pollfds?

2012-07-21 Thread Kevyn-Alexandre Paré
Further progress, - I implement code that register libusb_get_pollfds to my event loop. - I send 6 bytes with libusb_fill_bulk_transfer/libusb_submit_transfer - I then get notify that libusb fd change - I call libusb_handle_events - But my callback is not called. The one that was registered to l

Re: [Libusbx-devel] libusb segfaults - causes pcscd to crash

2012-07-21 Thread Ludovic Rousseau
2012/7/20 : >> If we can't see anything obvious from the log, we should probably aim at >> trying to replicate this data flow, to see if this is a data-bound >> reproducible situation, or if it's a data independent issue, such as a >> an overflow of concurrency issue. > Do you want me to send addi

Re: [Libusbx-devel] Access garmin devices using libusb on linux and windows

2012-07-21 Thread Chuck
libusbx is only a interface library for programs that wish to access USB devices.  By itself libusbx doesn't access the device.  A program must be written which uses libusbx to access the device.  The program gpsbabel may or may not use libusbx.  There are other w

Re: [Libusbx-devel] Access garmin devices using libusb on linux and windows

2012-07-21 Thread Luiz Andrade
I'm sorry, but i still have doubts. First, how do i access my garmin on linux (you just told about WinUSB)? Second, i've installed my garmin drivers from the disc that came with it, why this driver don't work with libusbx? Third, how programs like gpsbabel install the drivers during it's installati

Re: [Libusbx-devel] Access garmin devices using libusb on linux and windows

2012-07-21 Thread Pete Batard
On 2012.07.21 01:54, Luiz Andrade wrote: > i get the -12 error (LIBUSB_ERROR_NOT_SUPPORTED). This usually means that you haven't installed the WinUSB driver, which is necessary to access your device with libusbx. Please see https://github.com/libusbx/libusbx/wiki/Windows-Backend#wiki-Driver_Ins

Re: [Libusbx-devel] Regarding hotplug on Linux

2012-07-21 Thread Pete Batard
On 2012.07.19 21:05, Greve Dan wrote: > Looking in the history for libusbx-pbatard branch, it appears at one > point there was a patch to add hotplug support to the linux OS. Has > this been removed, or am i looking in the wrong place... I have just moved this branch, along with the old libusb-p