*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ptcd | Section: 4 | Source: NetBSD | File: ptcd.4
PTCD(4) FreeBSD Kernel Interfaces Manual PTCD(4) NAME ptcd - support for the Protech PS3100 cash drawer port SYNOPSIS ptcd* at isa? port 0x48d gpio* at ptcd? DESCRIPTION The 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. SEE ALSO gpio(4), ibmcd(4), gpioctl(8) HISTORY The ptcd driver first appeared in NetBSD 6.1. AUTHORS The ptcd driver was written by Marc Balmer <[email protected]>. CAVEATS As it is not possible to detect the hardware at runtime, this driver, when enabled, will always attach. Only enable it in your kernel configuration if you have the proper hardware. FreeBSD 14.1-RELEASE-p8 December 17, 2012 FreeBSD 14.1-RELEASE-p8

Navigation Options