Page MenuHomeFreeBSD

D24370.id70753.diff
No OneTemporary

D24370.id70753.diff

Index: sys/dev/evdev/evdev.c
===================================================================
--- sys/dev/evdev/evdev.c
+++ sys/dev/evdev/evdev.c
@@ -66,7 +66,12 @@
MALLOC_DEFINE(M_EVDEV, "evdev", "evdev memory");
-int evdev_rcpt_mask = EVDEV_RCPT_SYSMOUSE | EVDEV_RCPT_KBDMUX;
+/* adb keyboard driver used on powerpc does not support evdev yet */
+#ifdef __powerpc__
+int evdev_rcpt_mask = EVDEV_RCPT_KBDMUX | EVDEV_RCPT_HW_MOUSE;
+#else
+int evdev_rcpt_mask = EVDEV_RCPT_HW_MOUSE | EVDEV_RCPT_HW_KBD;
+#endif
int evdev_sysmouse_t_axis = 0;
SYSCTL_NODE(_kern, OID_AUTO, evdev, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 1:04 AM (9 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16231089
Default Alt Text
D24370.id70753.diff (622 B)

Event Timeline