Bug 30866 - Wrong mouse section in XF86Config file
Wrong mouse section in XF86Config file
Product: Red Hat Raw Hide
Classification: Retired
Component: Xconfigurator (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-03-06 16:17 EST by Sammy
Modified: 2007-04-18 12:32 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-15 20:46:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sammy 2001-03-06 16:17:33 EST
It seems like the new kudzu modifies my /etc/X11/XF86Config file
in a way to crash the X server....first of all any modifications
to this file should save a XF86Config.rpmsave file. Basically big
error is that a the file is missing a Section "InputDevice" statement
before the mouse definitions. Here is the diff between the "wrong"
and correct files:

$ diff XF86Config-4 XF86Config-4.wrong
< Section "InputDevice"
>     Device    "/dev/mouse"
<     Option "Protocol"    "PS/2"
<     Option "Device"      "/dev/psaux"
>     Protocol    "PS/2"
>     Device    "/dev/mouse"
<     InputDevice "Mouse1" "CorePointer"
<     InputDevice "Keyboard1" "CoreKeyboard"
>     Device    "/dev/mouse"
>     Device    "/dev/mouse"
Comment 1 Bill Nottingham 2001-03-06 16:20:59 EST
kudzu doesn't directly touch X configuration files; most likely it's
an Xconfigurator or mouseconfig problem.

Can you post the 'diff -u' format diff?
Comment 2 Sammy 2001-03-07 09:13:51 EST
# diff -u XF86Config-4.0 XF86Config-4.wrong
--- XF86Config-4.0      Tue Mar  6 14:32:35 2001
+++ XF86Config-4.wrong  Tue Mar  6 14:28:53 2001
@@ -203,14 +203,14 @@
 # Core Pointer's InputDevice section
 # **********************************************************************
-Section "InputDevice"
+    Device     "/dev/mouse"
 # Identifier and driver
     Identifier "Mouse1"
     Driver     "mouse"
-    Option "Protocol"    "PS/2"
-    Option "Device"      "/dev/psaux"
+    Protocol    "PS/2"
+    Device     "/dev/mouse"
     Option "Buttons"     "3"
     Option "ZAxisMapping"  "4 5"
@@ -327,8 +327,8 @@
 # used.  Those options include "CorePointer", "CoreKeyboard" and
 # "SendCoreEvents".
-    InputDevice "Mouse1" "CorePointer"
-    InputDevice "Keyboard1" "CoreKeyboard"
+    Device     "/dev/mouse"
+    Device     "/dev/mouse"
Comment 3 Preston Brown 2001-03-28 15:07:10 EST
we haven't been able to duplicate this, and I am not sure how it happened.  It 
looks like XFree86 3.3.6 instructions were written to your 4.0.x config file.  
Examining the code, I really can't see how this happened, unless you perhaps 
have the two files in /etc/X11 symlinked together.

Note You need to log in before you can comment on or make changes to this bug.