// SPDX-License-Identifier: GPL-2.0-only /* * Parallel port to Keyboard port adapter driver for Linux * * Copyright (c) 1999-2004 Vojtech Pavlik
*/
/* * To connect an AT or XT keyboard to the parallel port, a fairly simple adapter * can be made: * * Parallel port Keyboard port * * +5V --------------------- +5V (4) * * ______ * +5V -------|______|--. * | * ACK (10) ------------| * |--- KBD CLOCK (5) * STROBE (1) ---|<|----' * * ______ * +5V -------|______|--. * | * BUSY (11) -----------| * |--- KBD DATA (1) * AUTOFD (14) --|<|----' * * GND (18-25) ------------- GND (3) * * The diodes can be fairly any type, and the resistors should be somewhere * around 5 kOhm, but the adapter will likely work without the resistors, * too. * * The +5V source can be taken either from USB, from mouse or keyboard ports, * or from a joystick port. Unfortunately, the parallel port of a PC doesn't * have a +5V pin, and feeding the keyboard from signal pins is out of question * with 300 mA power reqirement of a typical AT keyboard.
*/
MODULE_AUTHOR("Vojtech Pavlik ");
MODULE_DESCRIPTION("Parallel port to Keyboard port adapter driver");
MODULE_LICENSE("GPL");
staticunsignedint parkbd_pp_no;
module_param_named(port, parkbd_pp_no, int, 0);
MODULE_PARM_DESC(port, "Parallel port the adapter is connected to (default is 0)");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.