PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : debian Xserver -> mouse!!!


Tarzipan
06.06.02, 13:57
hallo! ich habe mir prompt debian 3.0 draufgerotzt und jetzt auch den xserver am laufen. die maus funzt ohne probleme bis...
...er einen windowmanager lädt, egal ob kde oder gnome.
dann sprigt sie unkontrolliert über den screen und macht später gar nichts mehr....
ich habe ne ligitech ps/2 mouse. in xf86cfg habe ich die mause auf "dev/mouse" stehen und protokoll ps/2.
oder benutzt Xfree bei debian ne andere config datei?
ich bin ratlos...

Basti_litho
06.06.02, 15:52
villeicht läuft noch "gpm" ??!!

Falls du es nicht kennst : Damit hat man mausunterstützung auf der Konsole.

Hat bei meinen Windowmanager auch immer probleme gemacht.

Gruß

BeS
06.06.02, 16:13
Hi,
du wirst wahrscheinlich gpm laufen haben.
Schau dir mal die /etc/gpm.conf an.
Du hast wahrscheinlich bei
[i]responsiveness=[i]
was stehen, dann will gpm auch unter X deine Mouse steuern und kommt mit XFree in Konflikt. Es gibt zwei Möglichkeiten, entweder gpm in deine XF86Config-4 eintragen oder einfach für responsiveness keinen Wert setzen, dann überlässt gpm unter X Xfree die Steuerung der Maus.

Tarzipan
06.06.02, 16:47
ja und nein!
also das sind meine configs:

# /etc/gpm.conf - configuration file for gpm(1)
#
# If mouse response seems to be to slow, try using
# responsiveness=15. append can contain any random arguments to be
# appended to the commandline.
#
# If you edit this file by hand, please be aware it is sourced by
# /etc/init.d/gpm and thus all shell meta characters must be
# protected from evaluation (i.e. by quoting them).
#
# This file is used by /etc/init.d/gpm and can be modified by
# /usr/sbin/gpmconfig.
#
device=/dev/psaux
responsiveness=
repeat_type=ms3
type=autops2
append=""
sample_rate=

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) 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.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

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/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "false"
Option "ButtonNumber" "3"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Name" "Logitech Cordless"
Option "Protocol" "PS/2"
Option "ButtonNumber" "3"
# Option "Emulate3Buttons" "false"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "LGI:0109"
HorizSync 30-100
VertRefresh 50-160
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "LGI:0109"
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

### END DEBCONF SECTION

die normale XF86config brauch ich ja nicht anzuführen....
also bitte... liegt es daran, dass ich zwei mäuse eingetragen habe? reicht es eine zu löschen?

BeS
06.06.02, 16:52
Hi,
die zwei Mäuse können in deiner XF86Config-4 drin bleiben.
Ändere mal in deiner gpm.conf
repeat_type=ms3
in
repeat_type=

und startet gpm neu. Dann müsste es funktionieren.

Tarzipan
06.06.02, 17:16
ja danke!
hab ich grade durch rumprobieren selbst rausgefunden!
funzt jetzt.
kann mir denn mal jemand sagen, was dieser repeat modus bedeutet, un warum ich gpm brauche bzw. warum nicht?
schein ja ein mouse-server oder sowas zu sein. bei mandrake hatte ich den meines wissens nicht...?!

BeS
06.06.02, 17:34
Hi,
Wenn du für repeat einen Wert gesetzt hast reist gpm die Maus ganz an sich. Dann muss deine XF86Config-4 auf gpm verweissen und gpm steuert dann deine Maus auch unter X.

gpm ist dafür da das du auch in der console die Maus verwenden kannst. Wenn du in der console keine Maus brauchst kannst du gpm auch ganz deaktivieren.

Tarzipan
06.06.02, 18:19
könntest du mir dann sagen:
1) wie ich in der XF86config-4 auf gpm verweise
2) ich es ganz deaktiviere (falls es mit einem nicht-starten des services nicht getan ist...)

BeS
06.06.02, 18:29
Original geschrieben von Tarzipan
könntest du mir dann sagen:
1) wie ich in der XF86config-4 auf gpm verweise

Du musst unter "Device" nicht auf /dev/psaux verweisen sondern auf ich glaube /dev/gpmdata (bin mir jetzt nicht 100%ig sicher da ich es noch nie wirklich gemacht habe) .
Für mehr infos einfach mal www.google.org/linux befragen.


2) ich es ganz deaktiviere (falls es mit einem nicht-starten des services nicht getan ist...)

Einfach den service beim booten nicht starten oder gpm deinstallieren.