diff options
author | marha <marha@users.sourceforge.net> | 2010-05-25 06:29:35 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-05-25 06:29:35 +0000 |
commit | 74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58 (patch) | |
tree | 048118dcd2890da83b03e7842885c29014b2a037 /xorg-server/hw/xfree86/doc/README.rapidaccess | |
parent | 23e2ddeb0f81d5ee9c6d01cf0b768eeb1c27555c (diff) | |
download | vcxsrv-74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58.tar.gz vcxsrv-74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58.tar.bz2 vcxsrv-74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58.zip |
xserver git update 25/5/2010
Diffstat (limited to 'xorg-server/hw/xfree86/doc/README.rapidaccess')
-rw-r--r-- | xorg-server/hw/xfree86/doc/README.rapidaccess | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/xorg-server/hw/xfree86/doc/README.rapidaccess b/xorg-server/hw/xfree86/doc/README.rapidaccess deleted file mode 100644 index 39f515ee2..000000000 --- a/xorg-server/hw/xfree86/doc/README.rapidaccess +++ /dev/null @@ -1,48 +0,0 @@ -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$ |