xserver-multidpi/hw/xfree86/doc
Jeremy C. Reed 2102fdd0a5 RGB color database and XErrorDB install to "share" not "lib" by default (by
app/rgb and libX11).
TODO: They are customizable, so maybe cpprules.in should be extended.
2006-05-26 00:12:18 +00:00
..
changelogs Encoding of numerous files changed to UTF-8 2004-12-04 00:43:13 +00:00
devel Commit changes missed in last commit (mis-typed path and didn't notice): Do 2006-03-09 23:25:35 +00:00
man RGB color database and XErrorDB install to "share" not "lib" by default (by 2006-05-26 00:12:18 +00:00
sgml Fix sgml docs build. 2005-12-09 03:02:21 +00:00
Makefile.am Install Xorg & xorg.conf man pages even when not building docs 2005-10-14 22:01:46 +00:00
README.DRI Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
README.fonts Update build instructions. Add details about how the expat, fontconfig, 2005-07-16 09:00:44 +00: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$