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

Re: sarge: last night's "apt-get" overwrites/changes /etc/X11/XF86Config-4



John Fleming wrote:


----- Original Message ----- From: "Hannes Mayer" <debiandude@gmail.com>
To: "Roberto C. Sanchez" <roberto@familiasanchez.net>; <debian-user@lists.debian.org>
Sent: Sunday, June 05, 2005 10:05 AM
Subject: Re: sarge: last night's "apt-get" overwrites/changes /etc/X11/XF86Config-4


On 6/5/05, Roberto C. Sanchez <roberto@familiasanchez.net> wrote:

On Sun, Jun 05, 2005 at 11:53:19AM +0200, Hannes Mayer wrote:
> Hi all!
>
> An "apt-get upgrade" last night broke my mousewheel. Furthermore the
> mouse speed has decreased. (several (all?) XFree86 packages were
> updated)
>
> The problem is that "apt-get" seems to overwrite/change the X-config
> file: /etc/X11/XF86Config-4
> So if you "apt-get upgrade" now, make sure you have a backup of that
> config file.
>

Strange, if you have customized XF86Config-4 (every should, as there is
no default), it should (a) leave it alone, or (b) ask you what to do.
If it does neither, then it is bug that needs to be filed.


Hi Roberto!


Yes, there is definately something wrong, since it didn't ask aswell.
Bug filed: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312101
Let's see what the X folks say...


------------------------------------------------------------------------

I did the Sarge update/dist-upgrade last night as well - no questions. I'm remote from my servers today, so I can't test the mouse, but my mouse section of my XF86Config-4 appears unchanged, so I expect it to work.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Do others remember specific changes to this file?

- John


Here is the original InputDevice config on my system, as well as a diff between my old and my new XF86Config file.
(Shows the same problem as the original post.)

Section "InputDevice"
       Identifier      "Configured Mouse"
       Driver          "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/psaux"
       Option          "Protocol"              "PS/2"
       Option          "ZAxisMapping"          "4 5"
EndSection
Section "InputDevice"
       Identifier      "Generic Mouse"
       Driver          "mouse"
       Option          "SendCoreEvents"        "true"
       Option          "Device"                "/dev/input/mice"
       Option          "Protocol"              "ImPS/2"
       Option          "ZAxisMapping"          "4 5"
EndSection

----------------------------------------------------------------------
Diff-file output

~/Desktop/compare$ diff -bB XF86Config-4_old XF86Config-4_new
67,74d66
< Section "InputDevice"
<       Identifier      "Generic Mouse"
<       Driver          "mouse"
<       Option          "SendCoreEvents"        "true"
<       Option          "Device"                "/dev/input/mice"
<       Option          "Protocol"              "ImPS/2"
<       Option          "ZAxisMapping"          "4 5"
< EndSection
124d115
<       InputDevice     "Generic Mouse"
~/Desktop/compare$
--
Hope it helps
Andre




Reply to: