| PTCD(4) | Device Drivers Manual | PTCD(4) | 
ptcd —
ptcd* at isa? port 0x48d
gpio* at ptcd?
ptcd driver controls the cash drawer port of the
  Protech PS3100 point of sale terminal using the GPIO subsystem.
ptcd provides a GPIO device with two pins:
    pin 0 is used to control the cash drawer while pin 1 can be used to read the
    current state of the sense input pin. A logical 0 means the cash drawer is
    closed, a logical 1 means the cash drawer is open.
To open the cash drawer, set pin 0 to logical 1 for a short period of time (e.g. < 1 sec) and then reset the pin to logical 0.
ptcd driver first appeared in
  NetBSD 6.1.
ptcd driver was written by Marc
  Balmer
  <marc@msys.ch>.
| December 17, 2012 | NetBSD 10.1 |