Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108640133
D24370.id70753.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
622 B
Referenced Files
None
Subscribers
None
D24370.id70753.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D24370: Change kern.evdev.rcpt_mask to 12 by default, to be more evdev friendly
Attached
Detach File
Event Timeline
Log In to Comment