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 was to access USB devices.

On linux the appropriate "udev" rule must exist for libusbx to access the device.  This is a linux system security issue, not libusbx.
On windows the current version of libusbx uses "WinUSB" to access the device.  WinUSB places restrictions on what libusbx can do in windows.  I believe there is an effort to remove WinUSB from the picture in future libusbx releases.  Pete gives the link below on what needs to be done.

Unless you are writing your custom device interface software, it is unlikely that libusbx is your concern.  The programmer should have done this for you.

Chuck
 

On 7/21/2012 9:00 AM, Luiz Andrade wrote:
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 installation (on both windows and linux)?

Thanks again!!!

2012/7/21 Pete Batard <p...@akeo.ie>
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_Installation

Regards,

/Pete

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to