From d61dcfd5c297f405a4c200131e88e5dfc95bfa95 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Mon, 29 Jul 2013 23:23:43 +0200 Subject: [PATCH] Make OpenKeyboard() warn instead of error out. This way we can still setup keyboard map manually by xmodmap(1) etc. on less well supported ports. >From Izumi Tsutsui Signed-off-by: Thomas Klausner Reviewed-by: Alan Coopersmith Reviewed-by: Matthieu Herrb Signed-off-by: Gaetan Nadon --- src/bsd_kbd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 083d84d..1048a13 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -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