USB - DEVICE / HOST
USB Host
202 M
X
800 SERIES PROGRAMMERS GUIDE
USB Host
The M
x
800 series of terminals supports USB host functionality and can run
specific drivers for a multitude of different devices that can be plugged into the
M
x
800 series terminal. Currently, the M
x
800 series of terminals has been tested
with the following devices:
• USB Keyboard and Mice (HID Class)
• USB Memory Sticks and hard drives - Using MSDOS compatible FAT32/VFAT
format
Specific support for most USB devices requires the necessary drivers to be
manually loaded into the system and manually configured. Support for USB
memory and mass storage devices has been built into the M
x
800 series unit and
requires little or no manual intervention. This described in more detail in the next
section.
IBM AT keyboard and scanners that use the AT keyboard scan codes are also
supported under the M
x
800 series’ USB host. If a USB keyboard or a scanner is
plugged into the M
x
800 series USB host port, the necessary HID drivers to
support the device are automatically loaded. To open and read data from these
devices, the API function calls: inputOpen(), inputRead() and
inputClose() should be used. Detailed explanation of these functions are
described in more detail under their respective sections. USB HID device support
is described below.
USB Mass Storage
and Memory
Devices
The M
x
800 series of terminals has built-in automatic support for USB mass
storage and memory devices. The unit will support a single memory device
plugged into the USB host port on a M
x
800 series terminal cable or up to 4
memory devices at any one time plugged in via a USB hub. The M
x
800 series
terminal does not support more than 4 USB memory/mass storage devices at this
time, but they can be plugged into the unit in any configuration of single or multiple
hubs. The M
x
800 series of terminals will automatically detect any memory/mass
storage device plugged into the unit and will automatically mount the device on
one of the 4 directories located under the /mnt directory. The directory names for
the memory devices are:
• /mnt/usbstor1
• /mnt/usbstor2
• /mnt/usbstor3
• /mnt/usbstor4
NOTE
USB host is only supported on specific M
x
800 series cables. Currently, these
cables are the M
x
800 series of terminals:
- Red cable P/N 23739-02
- Green cable P/N 23740-02