[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force XFree86 SVN commit: r2245 - trunk/debian/local



Author: branden
Date: 2005-05-06 01:45:14 -0500 (Fri, 06 May 2005)
New Revision: 2245

Modified:
   trunk/debian/local/dexconf
Log:
Merge r1855 from the debconf-overhaul branch.


Modified: trunk/debian/local/dexconf
===================================================================
--- trunk/debian/local/dexconf	2005-05-06 06:40:38 UTC (rev 2244)
+++ trunk/debian/local/dexconf	2005-05-06 06:45:14 UTC (rev 2245)
@@ -294,14 +294,27 @@
 fi
 printf "EndSection\n" >&4
 
-# Only write this stanza -- designed for USB pointers -- if the Configured
-# Mouse isn't USB.  This isn't a problem even on systems without
-# CONFIG_INPUT_MOUSEDEV, because this is not the core pointer, and failure to
-# open it is not harmful.
+# Set up an additional mouse device which points at the Linux kernel's
+# multiplexed input subsystem node.
 #
-# Also don't write this stanza if the Configured Mouse is the GPM repeater.
-# We have no way of knowing what device GPM is repeating for, and it might be
-# a USB mouse.
+# We only write this stanza if the Configured Mouse is *not*:
+#   Linux 2.4: USB
+#   Linux 2.6: USB, PS/2, serial
+#
+# Configuring a mouse device on /dev/input/mice isn't a problem even on systems
+# without CONFIG_INPUT_MOUSEDEV (i.e., without that device node), because this
+# is not the core pointer, and failure to open it is not harmful.
+#
+# We also don't write this stanza if the Configured Mouse is the GPM repeater.
+# We have no way of knowing what device GPM is repeating for, and it might be a
+# device multiplexed into /dev/input/mice.
+#
+# Finally, we don't write this stanza if this is not Linux.
+#
+# TODO: Change this if statement to reflect the 2.4 vs. 2.6 logic above; sadly,
+# we probably also need an init script to rewrite XF86Config-4 on system boot
+# for people who switch back and forth between these kernels, or some people
+# will get "doubled" mouse events.  Sigh.
 if [ "$MOUSE_PORT" != "/dev/input/mice" ] \
   && [ "$MOUSE_PORT" != "/dev/gpmdata" ]; then
   cat >&4 <<SECTION



Reply to: