usb: Communicate with USB devices
This library allows you to communicate with USB devices from
userspace. It is implemented as a high-level wrapper around
bindings-libusb
which is a low-level binding to the C library:
libusb-1.*
.
This documentation assumes knowledge of how to operate USB devices from a software standpoint (descriptors, configurations, interfaces, endpoints, control/bulk/interrupt/isochronous transfers, etc). Full information can be found in the USB 2.0 Specification.
For an example how to use this library see the ls-usb
package
at:
http://hackage.haskell.org/package/ls-usb
Also see the usb-safe
package which wraps this package and
provides some strong safety guarantees for working with USB
devices:
http://hackage.haskell.org/package/usb-safe
Finally have a look at the usb-enumerator
package which
provides iteratee enumerators for enumerating bulk and interrupt
endpoints:
http://hackage.haskell.org/package/usb-enumerator
Besides this API documentation the following sources might be interesting:
The libusb 1.0 documentation at: http://libusb.sourceforge.net/api-1.0/
The USB 2.0 specification at: http://www.usb.org/developers/docs/
The
bindings-libusb
documentation at: http://hackage.haskell.org/package/bindings-libusb"USB in a NutShell" at: http://www.beyondlogic.org/usbnutshell/usb1.htm
Modules
[Index]
Downloads
- usb-0.6.0.6.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.0.1, 0.2, 0.2.0.1, 0.3, 0.3.0.1, 0.3.1, 0.4, 0.5, 0.5.0.1, 0.6, 0.6.0.1, 0.6.0.2, 0.6.0.3, 0.6.0.4, 0.6.0.5, 0.6.0.6, 0.6.0.7, 0.6.0.8, 0.7, 0.8, 1.0, 1.1, 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.1.0.4, 1.2, 1.2.0.1, 1.3.0.0, 1.3.0.1, 1.3.0.2, 1.3.0.3, 1.3.0.4, 1.3.0.5, 1.3.0.6 |
---|---|
Dependencies | base (>=4 && <4.4), base-unicode-symbols (>=0.1.1 && <0.3), bindings-libusb (>=1.3 && <1.5), bytestring (>=0.9 && <0.10), text (>=0.5 && <0.12) [details] |
License | BSD-3-Clause |
Copyright | 2009–2010 Bas van Dijk <v.dijk.bas@gmail.com> |
Author | Bas van Dijk <v.dijk.bas@gmail.com> |
Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
Category | System |
Source repo | head: darcs get http://code.haskell.org/~basvandijk/code/usb |
Uploaded | by BasVanDijk at 2010-12-26T12:00:30Z |
Distributions | |
Reverse Dependencies | 8 direct, 1 indirect [details] |
Downloads | 30418 total (1 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |