Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: hackage: usb
This library enables you to communicate with USB devices from
userspace. It is implemented as a high-level wrapper around
bindings-libusb
(http://hackage.haskell.org/package/bindings-libusb)
which is a low-level binding to the C library:
libusb-1.* (http://libusb.org/).
The USB transfer functions in this library have a simple synchronous
interface (they block) but are implemented using the libusb
asynchronous interface. They integrate with the GHC event manager
making them efficient (no busy-loops) and interruptible (throwing an
exception to the thread executing a transfer immediately cancels the
transfer).
If the GHC event manager is not available (because you're either not
using GHC or because you're on Windows) the library degrades
gracefully to the libusb synchronous implementation.
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 (http://www.usb.org/developers/docs/).
For an example how to use this library see the
usb-example package (https://github.com/basvandijk/usb-example)
or the ls-usb package (http://hackage.haskell.org/package/ls-usb).
Besides this API documentation the following sources might be
interesting:
The libusb 1.0 documentation (http://libusb.sourceforge.net/api-1.0/).
The USB 2.0 specification (http://www.usb.org/developers/docs/).
The bindings-libusb documentation (http://hackage.haskell.org/package/bindings-libusb).
"USB in a NutShell" (http://www.beyondlogic.org/usbnutshell/usb1.htm).
36 versions
Latest release: about 6 years ago
29,152 downloads total
View more package details: https://packages.ecosyste.ms/registries/hackage.haskell.org/packages/usb
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/basvandijk%2Fusb
Dependent Repos 12
obbele/usb-video-class
A simple Haskell driver for USB Video Class devices.- >=1.0 usb-video-class.cabal
Size: 199 KB - Last synced: about 1 year ago - Pushed: about 13 years ago
nomeata/led-display
Markup language for the 7×21 USB LED Display from Dream Cheeky/get-digital.de- ==1.2.* led-display.cabal
Size: 17.6 KB - Last synced: 12 months ago - Pushed: 12 months ago
orclev/crazyflie-haskell
Implementation of (part) of the Crazyflie library in Haskell.- >=1.2 crazyflie.cabal
Size: 148 KB - Last synced: about 1 month ago - Pushed: about 11 years ago
roelvandijk/ftdi
A thin layer over USB to communicate with FTDI chips- ==0.3.* ftdi.cabal
Size: 141 KB - Last synced: about 1 year ago - Pushed: about 13 years ago
Merlin_Nox/rc
Bash, Fish, Vim & Emacs RC. It's messy but I love it.- >=1.3.0.2 Apex/ApexCtl/ApexCtl.cabal
Last synced: over 1 year ago
Gekkio/frame-ctrl 📦
Haskell application for controlling certain Samsung photo frames- >=1.2 frame-ctrl.cabal
Size: 121 KB - Last synced: about 1 year ago - Pushed: over 11 years ago
tuxmark5/ApexCtl
An utility to enable extra macro keys on Steelseries Apex keyboards- >=1.3.0.2 ApexCtl.cabal
Size: 44.9 KB - Last synced: about 1 month ago - Pushed: over 7 years ago
basvandijk/usb-example
Example how to use the usb library- ==1.3.* usb-example.cabal
Size: 145 KB - Last synced: 20 days ago - Pushed: about 9 years ago
roelvandijk/ls-usb
A small utility that lists USB devices connected to your system- ==1.2.* ls-usb.cabal
Size: 178 KB - Last synced: about 1 month ago - Pushed: over 10 years ago
bneijt/temper
Simple Haskell script to read temper data- >=1.3 temper.cabal
Size: 238 KB - Last synced: about 1 year ago - Pushed: about 9 years ago
anonymous.prodject/ApexCtl
An utility to enable extra macro keys on Steelseries Apex keyboards- >=1.3.0.2 ApexCtl.cabal
Last synced: over 1 year ago
bgamari/tracker-host
Host software for mDAQ-based particle tracker- >=1.2 tracker-host/tracker-host.cabal
Size: 1.37 MB - Last synced: about 1 year ago - Pushed: about 9 years ago
basvandijk/usb-safe-examples
Examples that demonstrate how to use the usb-safe library- ==1.0.* usb-safe-examples.cabal
Size: 102 KB - Last synced: 20 days ago - Pushed: over 12 years ago
basvandijk/usb-enumerator
Iteratee enumerators for the usb package- >=0.5 && <0.9 usb-enumerator.cabal
Size: 113 KB - Last synced: 20 days ago - Pushed: about 13 years ago
dylex/blink
blink(1) daemon for control and system monitoring- >=1.3 hs/blink1.cabal
Size: 139 KB - Last synced: about 1 year ago - Pushed: over 1 year ago
UBCOrbit/hstlink
Haskell library for debugging STM32s through STLINKv2 dongles- * hstlink.cabal
Size: 77.1 KB - Last synced: about 1 year ago - Pushed: over 5 years ago
tuxmark5/EnableRazer
Allows to capture M1-M5 and FN keys from Razer BlackWindow Stealth Ultimate- * EnableRazer.cabal
Size: 140 KB - Last synced: about 1 year ago - Pushed: over 10 years ago
reactive-systems/icedude
A programming tool for the iCE40 FPGA evaluation boards.- ==1.3.* iCEDude.cabal
Size: 32.2 KB - Last synced: about 2 months ago - Pushed: about 2 months ago
standardsemiconductor/mane
VELDT Programmer- ==1.3.* mane.cabal
- * mane.cabal
Size: 105 KB - Last synced: 6 months ago - Pushed: 6 months ago