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

2012-07-26 Thread Tim Roberts
Luiz Andrade wrote: > > If you don't wanna help, you do not have to answer my questions. You are not being fair. I have been very helpful. I've looked up references, pointed out the appropriate documents, and suggested web pages. I didn't write your code for you, but I have certainly pointed

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

2012-07-25 Thread Luiz Andrade
Ok, i realize that you cannot help someone that never worked with this kind of task before. I never worked with that so, a start would be great... If you don't wanna help, you do not have to answer my questions. Keep to yourself your thoughts about people who don't know how to use libusbx. I was th

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

2012-07-25 Thread Tim Roberts
Luiz Andrade wrote: > > using WinUSB I was able to open my garmin gps device. Thanks for your > help!!! > Now let ask you one more thing, can you help me read informations from > my gps, give some sample code, some internet page to read, anything? I am generally a patient person, but I am finding

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

2012-07-25 Thread Luiz Andrade
Hi Pete, using WinUSB I was able to open my garmin gps device. Thanks for your help!!! Now let ask you one more thing, can you help me read informations from my gps, give some sample code, some internet page to read, anything? Thanks in advance. Best regards, Luiz. 2012/7/24 Luiz Andrade > Thank

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

2012-07-25 Thread Luiz Andrade
O already downloaded both and I das that both are based on libusb. Now I'm looking for the functions that get the position data from a gps receiver. Thanks for your help... Best regards, Luiz Claudio. Enviado via iPhone Em 25/07/2012, às 03:05, Kustaa Nyholm escreveu: > On 7/25/12 02:07, "Luiz

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

2012-07-25 Thread Luiz Andrade
Thanks again... Enviado via iPhone Em 24/07/2012, às 22:37, Peter Stuge escreveu: > 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

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] 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