[PATCH:xf86-input-keyboard 17/21] Make OpenKeyboard() warn instead of error out.
Thomas Klausner
wiz at NetBSD.org
Fri Jul 26 14:24:12 PDT 2013
This way we can still setup keyboard map manually by xmodmap(1)
etc. on less well supported ports.
>From Izumi Tsutsui <tsutsui at NetBSD.org>
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
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 441e2a5..70a3ff1 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
--
1.8.3.3
More information about the xorg-devel
mailing list