There can be more than one program with the desire to send control commands to the I/O subsystem at one time. As these commands must be serialized before being passed through the serial interface to the microcontroller board, there is a process doing just that.

A definition for the protocol used between the microcontroller board and the Game Control Computer exists as GCC.PB-B03

Functional description

The iocd is started at boot time and listens on loopback port 3236/tcp for connections from programs sending commands to the I/O subsystem. It also has the serial interface (/dev/cuaaN) opened for reading and writing. Commands that are received on the loopback ports are forwarded to the serial port in a serialized way. Logging capabilities for development and debugging purposes are included.

For incoming data from the I/O subsystem, iocd also listens on connections on port 3237/tcp. Incoming data will be read from the serial port and multiplexed to all connections to this port.

Usage information

/usr/local/pinball/iocd [-f] -d[debug-level]

-f
    Do not detach and become a daemon, run in foreground. Used for debugging.
    Default value: not set
-d [debug-level]
    Set the given debug level. Valid debug level range is 0 (least messages) to 7 (most messages).
    Default value: 0


CategoryComputer CategoryPinball


THIS DATA IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DATA, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

All product and brand names mentioned on there pages and in the source code are registered names and/or trademarks of the respective owner and are mentioned for identification purposes only.

For a full copyright notice, please see this link. For imprint and contact information, please see http://www.thiemo.net/.

PinBall/GameSoftware/iocd (last edited 2006-10-30 17:52:01 by ThiemoNordenholz)