• AVR Freaks

libusb versus mpusbapi.dll library

Author
wala
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2009/03/17 08:21:41
  • Location: 0
  • Status: offline
2009/05/15 03:49:11 (permalink)
0

libusb versus mpusbapi.dll library

hi all
 
iwould like to know the differences between libusb and mpusbapi.dll library ,and which one is better for connecting usb applications with visual c++ and why?
#1

4 Replies Related Threads

    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: libusb versus mpusbapi.dll library 2009/05/15 04:30:54 (permalink)
    0
    Both are generic driver.
    1) If you use VC++, I think there are more examples with Microchip's custom driver and DLL.
    2) libusb-win32 device driver does not support Vista 64. Microchip's seems to support it well.
    3) libusb-win32 device driver supports isochronous transfer. I do not think Microchip's driver work well with isochronous transfer based on the testing last time.
    4) libusb-win32 is open source but has not been improved for a while. It may get some updates this year according to the author.
    5) libusb-win32 has the counterpart libusb for Linux, Mac OS X, BSDs and Solaris. So it has some advantages for cross-platform projects (mostly in gcc).
    6) libusb-win32 has also the filter driver, which is not working for Vista and may cause problems. But it seems to work under some situations so there are people using it.
    7) Take note the license restriction of Microchip driver, it is only for Microchip product. libusb-win32 is GPL/LGPL so some restrictions may also apply as well but it is not limited to Microchip product.
    post edited by xiaofan - 2009/05/15 04:32:32

      USB_Links and libusb
    #2
    wala
    New Member
    • Total Posts : 17
    • Reward points : 0
    • Joined: 2009/03/17 08:21:41
    • Location: 0
    • Status: offline
    RE: libusb versus mpusbapi.dll library 2009/05/15 08:15:00 (permalink)
    0
    thanks alot xiaofan for great information but what do u mean with  (libusb-win32 is GPL/LGPL so some restrictions may also apply as well but it is not limited to Microchip product). ??

    post edited by wala - 2009/05/15 08:21:35
    #3
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: libusb versus mpusbapi.dll library 2009/05/15 08:52:01 (permalink)
    0
    You can use libusb driver and DLL freely for any product, not only Microchip's product.
    But when you change libusb driver code itself, you need to publish your modification as per GPL.
    You can also dynamically link to the DLL with your own codes freely. But when you change the DLL itself, you need to publish your modification as per LGPL.

    http://libusb-win32.sourceforge.net/#license

       * The library (DLL) is distributed under the terms of the GNU Lesser General Public License (LGPL).
       * All other components (drivers, services, installer) are distributed under the terms of the GNU General Public License (GPL).
       * This license combination explicitly allows the use of this library in commercial, non Open Source applications. Read the licenses carefully and apply all of their requirements before including this library in a commercial application!

    post edited by xiaofan - 2009/05/15 08:53:11

      USB_Links and libusb
    #4
    wala
    New Member
    • Total Posts : 17
    • Reward points : 0
    • Joined: 2009/03/17 08:21:41
    • Location: 0
    • Status: offline
    RE: libusb versus mpusbapi.dll library 2009/05/15 09:17:59 (permalink)
    0
    ahaaaa ive get it ,i really appreciate your help thanks
    #5
    Jump to:
    © 2020 APG vNext Commercial Version 4.5