xserver-multidpi/hw/xfree86/doc
Peter Hutterer 737b49199a xfree86: restore default off for DontZap
Zapping is triggered by xkb these days, so note in the man page that it's the
Terminate_Server action. Since it's XKB, personal preferences towards or
against zapping should be achieved through xkb rulesets.
If Terminate_Server is not in the xkb actions, then we can't zap anyway and we
don't need a default of DontZap "on".

This patch restores the old meaning of DontZap - disallow zapping altogether,
regardless of XKB's current keymap.
Ideally, this patch should be accompanied by b0f64bdab00db652e in
xkeyboard-config.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-28 16:17:16 +10:00
..
devel distcheck fixes 2008-07-20 16:30:24 +02:00
man xfree86: restore default off for DontZap 2009-04-28 16:17:16 +10:00
sgml get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE 2006-07-18 18:17:38 -04:00
Makefile.am Remove README.font, since it's just an old text copy of xorg-docs/sgml/fonts 2008-07-09 20:07:59 -07:00
README.DRI Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
README.modes Add hw/xfree86/docs/README.modes, documenting new mode setting APIs. 2007-03-06 23:21:05 -08:00
README.rapidaccess Encoding of numerous files changed to UTF-8 2004-12-04 00:43:13 +00:00

The IBM Rapid Access keyboard have some extra buttons
on it to launch programs, control a cd-player and so on.

These buttons is not functional when the computer is turned
on but have to be activated by sending the codes 0xea 0x71
to it.

I've written the following hack to send codes to the keyboard:

--------------------------------------------------------------
/* gcc -O2 -s -Wall -osend_to_keyboard send_to_keyboard.c */
#include <stdlib.h>
#include <unistd.h>
#include <sys/io.h>

int main( int argc, char *argv[] )
{
  int i;

  ioperm( 0x60, 3, 1 );

  for( i = 1; i < argc; i++ ) {
    int x = strtol( argv[i], 0, 16 );

    usleep( 300 );
    outb( x, 0x60 );
  }

  return 0;
}
--------------------------------------------------------------

As root you can then call this program (in your boot scripts)
as "send_to_keyboard ea 71" to turn on the extra buttons.

It's not a good idea to run several instances of this program
at the same time. It is a hack but it works. If you try to
send other codes to the keyboard it probably will lock up.
For other codes see:

http://www.win.tue.nl/~aeb/linux/kbd/scancodes-2.html#ss2.22

--
Dennis Björklund <db@zigo.dhs.org>



$XFree86$