bindings-libusb: Low level bindings to libusb.

[ bsd3, ffi, library ] [ Propose Tags ]

Low level bindings to libusb-1.*:

http://libusb.sourceforge.net/api-1.0/

This package uses bindings-DSL and conforms to its naming convention.

For a higher-level and more Haskell friendly binding (which uses this package) see the usb package:

http://hackage.haskell.org/package/usb


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 1.0, 1.1, 1.2, 1.3, 1.4, 1.4.2, 1.4.4, 1.4.4.1, 1.4.5.0
Dependencies base (>=3 && <5), bindings-DSL (>=1.0.15 && <1.1) [details]
License BSD-3-Clause
Author Maurício C. Antunes <mauricio.antunes@gmail.com>
Maintainer Bas van Dijk <v.dijk.bas@gmail.com>
Category FFI
Home page https://github.com/basvandijk/bindings-libusb
Bug tracker https://github.com/basvandijk/bindings-libusb/issues
Source repo head: git clone git://github.com/basvandijk/bindings-libusb.git
Uploaded by BasVanDijk at 2014-10-29T20:39:57Z
Distributions
Reverse Dependencies 6 direct, 4 indirect [details]
Downloads 17732 total (36 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for bindings-libusb-1.4.5.0

[back to package description]

Low level bindings to libusb-1.*

This package uses bindings-DSL and conforms to its naming convention.

For a higher-level and more Haskell friendly binding (which uses this package) see the usb package.

Installing

Make sure the libusb C library is installed:

  • Ubuntu Linux: sudo apt-get install libusb-1.0-0-dev

  • Gentoo Linux: sudo emerge libusb

  • MS Windows: Download libusb for MS Windows and extract it somewhere e.g. C:\Program Files\libusb\libusb1.

    Important build-time files: libusb-1.0\include\libusb.h and MinGW32\dll\libusb-1.0.dll.a

    Important run-time files: MinGW32\dll\libusb-1.0.dll

    Make sure to use the following cabal options:

      --extra-include-dirs="C:\Program Files\libusb\libusb1\include\libusb-1.0"
    
      --extra-lib-dirs="C:\Program Files\libusb\libusb1\MinGW32\dll"