Documentation ¶
Overview ¶
Package usb is a minimal, device-specific library which uses Linux’s usbdevfs and /sys interfaces to communicate with a Fujitsu ScanSnap iX500 via USB.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device represents a USB device.
func FindDevice ¶
FindDevice returns a ready-to-use Device object for the Fujitsu ScanSnap iX500 or a non-nil error if the scanner is not connected.
func (*Device) Close ¶
Close releases all resources associated with the Device. The Device must not be used after calling Close.
Click to show internal directories.
Click to hide internal directories.