The attached small driver adds support for the cash drawer port found on the PROTECH PS3100 point of sale terminal by providing a gpio(4) device with two pins. Pin 0 controls the drawer kickout, pin 1 is used to read the sense pin, i.e. whether the drawer is currently open or not (as reported by the till hardware). Note that there is no way to detect it the hardware is present or not, so this driver should only be used for custom kernel configurations. A similar device driver for the IBM SurePos series (now Toshiba Global Commerce Solutions) will follow. Tested on NetBSD 5.1. Comments welcome. - Marc Balmer PS: A picture of a PS3100 can be found here: http://www.arcapos.ch/ps3100, the datasheet here http://www.arcapos.ch/ps3100/PS3100.pdf.
Description: GNU Zip compressed data