Hi list, 
from a previous thread I got hints on how to add a Logitech Mouse with
a scrollerwheel to the xfree86 system by running 'dpkg-reconfigure
xserver-xfree86' or by manually editing /etc/X11/XF86config-4.

I've tried both, and either way the new mouse still doesn't work.
Using dpkg, I used these menu alternatives:
-psaux as the connection point
-ImPS/2 protocol
-With scrollerwheel

My original XF86config-4 file looks like this (with simple 2-button
mouse in /dev/ttyS0):

-----------------------XF86config-4--------start-------------------
hjem:/home/vegard# cat /etc/X11/XF86Config-4
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        # For \uffff endre tilbake til nvidia, kommenter ut
        # dri og GLcore, mens glx skal aktiveres.
        # For \uffff fjerne nvidia, aktiver GLcore og dri,
        # deaktiver glx.
        # Load  "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        # Load  "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "glx" #3D-grafikk
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "no"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/ttyS0"
        Option          "Protocol"              "Microsoft"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "no"
#
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        # For \uffff endre tilbake til nvidia skriv:
        # Driver        "nvidia"
        # I tilfelle nvidia streiker, bruk vesa
        Identifier      "Generic Video Card"
        Driver          "nvidia"
EndSection

Section "Monitor"
        Identifier      "COMPAL M557"
        HorizSync       28-50
        VertRefresh     43-75
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "COMPAL M557"
        DefaultDepth    16
        SubSection "Display"
                Depth           1
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Generic Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection
hjem:/home/vegard#
--------------------XF86Config-4-----------stop----------------------
I comment out the following section like this:

#Section "InputDevice"
#     Identifier      "Configured Mouse"
#     Driver          "mouse"
#     Option          "CorePointer"
#     Option          "Device"                "/dev/ttyS0"
#     Option          "Protocol"              "Microsoft"
#     Option          "Emulate3Buttons"       "true"
#     Option          "ZAxisMapping"          "4 5"
#EndSection

and comment out the line in  ' Section "ServerLayout" ' like this:

# InputDevice     "Generic Keyboard"

The result is that X- will not start, where startx gives this errormessage:

-----------startx errormessage---------start---------------------
hjem:~# startx

X: warning; process set to priority -11 instead of requested priority -10
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14 20050601051219
[EMAIL PROTECTED])
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.29-pre2 i686 [ELF]
Build Date: 01 June 2005

This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way.  Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting >.

We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.

Before filing a bug report, you may want to consult the Debian X FAQ:
       XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
  plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz

Module Loader present
OS Kernel: Linux version 2.4.27-2-686
([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian
1:3.3.5-12)) #1 Mon May 16 17:03:22 JST 2005 T
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jul 20 20:04:42 2005
(==) Using config file: "/etc/X11/XF86Config-4"
Data incomplete in file /etc/X11/XF86Config-4
        Undefined InputDevice "Configured Mouse" referenced by
ServerLayout "Default Layout".
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [EMAIL PROTECTED]

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
hjem:~#


-----------startx errormessage---------stop----------------------

In the previous thread, "Changing mouse (newbie question)", I was
given some hints on how to google more efficently, but I have not
found this problem other places. Please excuse me if I'm asking
somthing that has been asked before, it was not my intention.

Thanks for the help in advance, cheers Vegard.

Reply via email to