Git Product home page Git Product logo

libusbdotnet's Introduction

LibUsbDotNet

Build Status NuGet version LGPLv3 license

LibUsbDotNet is a .NET C# USB library for WinUsb, libusb-win32, and Linux libusb v1.x developers. All basic USB device functionality can be performed through common device classes allowing you to write OS and driver independent code.

  • LibUsbDotNet versions 2.2.4 and above support the Libusb-1.0 driver.
  • LibUsbDotNet 2.1.0 and above supports the genuine libusb-win32 driver package. However, access to basic device information via the windows registry is not available. See the LegacyUsbRegistry class for more information.

Features

  • Full support for WinUSB. All WinUSB interfaces are treated as separate devices; each interface can be used by a different application.
  • Extended kernel level support for libusb-win32.
  • Supports Unix-like operating systems using Mono .NET and libusb-1.0.
  • Common device classes allow for a single code base to support multiple drivers and platforms.
  • Includes a Usb InfWizard utility (Windows only) for generating usb installation packages, removing devices, and installing drivers.
  • Device discovery using any or all of the folowing criteria:
    • VendorID
    • ProductID
    • Revision Code
    • Serial Number
    • Device Interface GUID

Source package includes many small example applications.

Linux users

If you have installed libusb-1.0 and you still have an error about loading library, it may be needed to make a symlink to allow runtime load the library.

First, find the location of the library. For example : sudo find / -name "libusb-1.0*.so*" can give you :

/lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
/lib/x86_64-linux-gnu/libusb-1.0.so.0

Then go to the directory, and make the symlink. it should match the library name, with extension (.so) without version :

cd /lib/x86_64-linux-gnu
sudo ln -s libusb-1.0.so.0 libusb-1.0.so

libusbdotnet's People

Contributors

qmfrederik avatar sdijoseph avatar mcuee avatar andrasfuchs avatar stevie-o avatar nzsmith1 avatar melbournedeveloper avatar cristianst85 avatar maitredede avatar tagc avatar jaroban avatar joegilkey avatar azure-pipelines[bot] avatar erkkinen avatar exelix11 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.