8736d112af
Currently the config and InputClasses are merged together so that the options from the config backend have the highest priority. This is bad since it means options such as a default XKB layout set by the backend cannot be changed by the user. This patch changes order of precedence to be: 1. xorg.conf 2. xorg.conf.d (later files have higher priority) 3. config backend In order to allow this ordering, the config parsing has been changed to read the xorg.conf.d files before xorg.conf. This has the consequence that the core device picking which looks for the first InputDevice may not find it in xorg.conf. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
---|---|---|
.. | ||
devel | ||
man | ||
sgml | ||
Makefile.am | ||
README.DRI | ||
README.modes | ||
README.rapidaccess |
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$