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

2012-07-24 Thread Kustaa Nyholm
On 7/25/12 02:07, "Luiz Andrade" wrote: > >Can you give me some advice to make this work on linux to? >Maybe I can make my application use some gps program like gpsd or >gpsbabel, making a frontend for the command line interface. Is that a >good solution? If you do not have a Linux API / library

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

2012-07-24 Thread Peter Stuge
Luiz Andrade wrote: > do you know if it's possible to use garmin sdk on linux? Unlikely. > Can you give me some advice to make this work on linux to? > > Maybe I can make my application use some gps program like gpsd or gpsbabel, > making a frontend for the command line interface. Is that a goo

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

2012-07-24 Thread Luiz Andrade
Thank you very much for your help. I'll reinstall the driver using WinUSB. Regarding you advice, do you know if it's possible to use garmin sdk on linux? I ask that because the USBSDK.c (provided by the Garmin SDK) file uses win32 includes such as #include #include #include #include So I t

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

2012-07-24 Thread Pete Batard
On 2012.07.24 19:40, Luiz Andrade wrote: > [ 0.937500] [0264] libusbx: debug [init_device] (bus: 6, addr: 1, > depth: 1,port: 2): '\\.\USB#VID_091E&PID_0003#5&1FD24BBD&0&2' (...) > [ 0.968750] [0264] libusbx: debug [get_api_type] driver(s): LIBUSB0 > [ 0.968750] [0264] libusbx: debug [w

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

2012-07-24 Thread Luiz Andrade
Can you give a help with that please? I'll really appreciate... But, let me ask you, can I make my code using iosdk work on linux to? Can you show me some sample codes to access the location of my gps? I already tryed to access the location but I didn't got any success. Thanks again... 2012/7/24 T

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

2012-07-24 Thread Tim Roberts
Luiz Andrade wrote: > The Garmin SDK is very hard to use in my point of view... I promise you that will be easier to use than going direct to USB. > I tryed to use it but i can't find almost anything on the web about it > so, Then you haven't been looking. I gave you the URL. > I don't wann

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

2012-07-24 Thread Luiz Andrade
Hi Pete, thanks for your answer. Here's the log I got running xusbx... Opening device... [timestamp] [threadID] facility level [function call] [ 0.00] [0264] libusbx: debug [libusb_get_device_list] [ 0.0

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

2012-07-24 Thread Luiz Andrade
The Garmin SDK is very hard to use in my point of view... I tryed to use it but i can't find almost anything on the web about it so, I started to work with libusbx. I don't wanna work with web applications, I need a desktop application in c++ (must work in linux and linux). I already have a GIS app

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

2012-07-24 Thread Tim Roberts
Luiz Andrade wrote: > Hi again, I just installed Zadig in my computer and I installed the > garmin driver 0x091E/0x0003 for my garmin Etrex Vista HCX. > But i still get the -12 error when i try to access my gps. I'm using > libusbx-1.0.12 now, I included the source files into a qt4 project. > My pr

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

2012-07-24 Thread Pete Batard
Hi Luiz, On 2012.07.24 18:43, Luiz Andrade wrote: > Hi again, I just installed Zadig in my computer and I installed the > garmin driver 0x091E/0x0003 for my garmin Etrex Vista HCX. > But i still get the -12 error when i try to access my gps. I'm using > libusbx-1.0.12 now, I included the source fi

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

2012-07-24 Thread Luiz Andrade
Hi again, I just installed Zadig in my computer and I installed the garmin driver 0x091E/0x0003 for my garmin Etrex Vista HCX. But i still get the -12 error when i try to access my gps. I'm using libusbx-1.0.12 now, I included the source files into a qt4 project. My project compiles and runs ok, wh

Re: [Libusbx-devel] Async API question:

2012-07-24 Thread Tim Roberts
Kevyn-Alexandre Paré wrote: > Here's the code and output of my test. I'm trying to understand what's going > wrong! I mean that I'm expecting the callback function "cb_xfr" from my bulk > transfer to be called after libusb_submit_transfer is called. I'm > communicating to a FPGA through a Cypres

Re: [Libusbx-devel] Async API question:

2012-07-24 Thread Kevyn-Alexandre Paré
> > I will try to run my test against both git source tree…. Will come back with > the result. > The same result as previously for both git tree (libusb & libusbx). Any advise? thx - KA -- Live Security Virtual Confe

Re: [Libusbx-devel] Async API question:

2012-07-24 Thread Kevyn-Alexandre Paré
Hi Peter, > I think the code looks fine. Try running against libusbx and/or > libusb git source. (It would be interesting to try both, in this > case.) I have tested on both library. The one we have here is libusb 1.0.9rc3 (f07a4a78533b44d124dfe06cbf42afa7fb267359) and libusbx 1.0.12 http://so

[Libusbx-devel] liamstask commented on issue 37 on libusbx/libusbx

2012-07-24 Thread libusbx issues
[liamstask][1] commented on [issue 37][2] on [libusbx/libusbx][3] July 24, 2012 > Thanks for the response. Just to be clear, the hotplug events themselves are not a concern here, as I manage the plug/unplug notifications elsewhere in my app with no trouble. The scenario that I'm having trouble wit

[Libusbx-devel] pbatard commented on issue 37 on libusbx/libusbx

2012-07-24 Thread libusbx issues
[pbatard][1] commented on [issue 37][2] on [libusbx/libusbx][3] July 24, 2012 > The Windows backend is not finalized with regards to the handling of hotplug events, as overall support for hotplug is a task that will be added to libusbx in the coming months, and we are waiting for global hotplug ev

Re: [Libusbx-devel] Compiling on a fresh installation on Mac OS X

2012-07-24 Thread Pete Batard
On 2012.07.23 16:03, Peter Stuge wrote: > Communication takes two people, and when messages are interpreted to > mean something else than what was intended, time after time and with > no interest for clarifications, then saying that the sender is > trolling seems an odd proposition. The problem is