alternate keyboard device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: me@xxxxxxxxxxxxxx

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux