Hello!
xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c OpenKeyboard
routine has following code:
s = xf86SetStrOption(pInfo->options, "Device", NULL);
if (s == NULL) {
pInfo->fd = xf86Info.consoleFd;
pKbd->isConsole = TRUE;
} else {
pInfo->fd = open(s, O_RDONLY | O_NONBLOCK | O_EXCL);
if (pInfo->fd == -1) {
xf86Msg(X_ERROR, "%s: cannot open \"%s\"\n", pInfo->name, s);
xfree(s);
return FALSE;
}
pKbd->isConsole = FALSE;
xfree(s);
}
My XF86Config-4 snippet:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "Device" "/dev/keyboard"
EndSection
It seems XFree-4.3.0 ignores "Device" option within keyboard section,
instead uses keyboard from VT. How to make X open another keyboard device?
With best regards, Alexander Gordeyev. E-mail: [EMAIL PROTECTED]
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86