Module Name: xsrc
Committed By: tsutsui
Date: Sat Jul 21 10:19:40 UTC 2012
Modified Files:
xsrc/external/mit/xf86-input-keyboard/dist/src: bsd_kbd.c
Log Message:
Don't return FALSE in OpenKeyboard() even if wskbd type is unknown
so that we can still setup keyboard map manually by xmodmap(1) etc.
on poor Tier II machines.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_kbd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_kbd.c
diff -u xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_kbd.c:1.15 xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_kbd.c:1.16
--- xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_kbd.c:1.15 Mon Jul 16 12:50:25 2012
+++ xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_kbd.c Sat Jul 21 10:19:40 2012
@@ -432,10 +432,10 @@ OpenKeyboard(InputInfoPtr pInfo)
break;
#endif
default:
- xf86Msg(X_ERROR, "%s: Unsupported wskbd type \"%d\"",
- pInfo->name, pKbd->wsKbdType);
- close(pInfo->fd);
- return FALSE;
+ xf86Msg(X_WARNING, "%s: Unsupported wskbd type \"%d\"\n",
+ pInfo->name, pKbd->wsKbdType);
+ printWsType("Unknown wskbd", pInfo->name);
+ break;
}
}
#endif