• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Mausrad geht nicht

Hallo,

ich habe hier zwei optische USB-Mäuse von Hama (AM-2000 und AM-6000), bei denen ich es leider nicht schaffe, das Mausrad an Laufen zu bekommen.
In Yast bzw. SaX2 ist das Rad selbstverständlich aktiviert. Ich habe auch schon alle Treibereinstellungen für USB-Mäuse durchprobiert. Hat leider nichts positives bewirkt. Im schlimmsten Fall spiele der Mauszeiger völlig verrückt. Z. Z. ist "Generic" eingestellt.

xorg.conf:
Code:
# /.../
# SaX generated X11 config file
# Created on: 2008-09-23T12:08:38+0200.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "AutoSoft" "on"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Generic"
  Option       "Protocol" "Auto"
  Option       "Vendor" "Auto"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  305 230
  HorizSync    50-70
  Identifier   "Monitor[0]"
  ModelName    "1440X900@60HZ"
  Option       "PreferredMode" "1440x900"
  VendorName   "--> LCD"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1440x900" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce 8600M GT"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "NVidia"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection

Es handelt sich hierbei auch um sehr einfache Mäuse. Zwei Tasten und ein Rädchen; mehr Zauber steckt da nicht hinter.
Im Moment habe ich openSuse 11.0 auf dem Rechner. Allerdings hatte ich dieses Problem auch schon bei vorherigen Versionen. So langsam stört es mich jedoch ein wenig, dass das olle Rad nicht will.

Wäre schön, wenn jemand ne Idee hat, mit welchem Profil man hier weiterkommen könnte.
 
Ja, mittlerweile habe ich auch mal auf was anderes gesetzt.
Neben "4 5" habe ich jetzt "6 7" "8 9" und "10 11" durchprobiert. Scheint aber keinen Unterschied zu machen.
Die Werte habe ich mir aus diversen Beispieldateien im Netz abgeguckt. Weiß allerdings selbst nicht so genau, was ich da überhaupt tue. Die manpage von xorg.conf macht hierzu leider keine Angaben. Welche Werte sind denn sonst noch möglich?
 
konsole auf,
xev
einhacken, in dem Kästchen das Mausrad bewegen, Konsole beobachten.
Dann sollte sowas in der Art ausgegeben werden:
Code:
ButtonPress event, serial 34, synthetic NO, window 0x1e00001,
    root 0x3c, subw 0x0, time 6117324, (126,72), root:(130,618),
    state 0x0, button 4, same_screen YES
In dem Fall ist also 'Mausrad rauf' gleich 'Button 4', was wiederum die 4 in dem ZAxxismapping bedeutet. Musst mal schauen, was da bei dir erscheint. Gleiches dann halt auch für 'Mausrad runter'.
 
Danke für den Tipp. Das Programm kannte ich noch gar nicht.

Code:
MotionNotify event, serial 35, synthetic NO, window 0xa00001,
root 0x13b, subw 0x0, time 44652430, (142,172), root:(820,194),
state 0x0, is_hint 0, same_screen YES

Tja, ein Button sehe ich da leider (bei beiden Mäusen) nicht.

Noch mal der Vollständigkeit halber: Die AM-6000 ist ja eine Funkmaus. Der USB-Empfänger am Rechner blinkt auch ganz fleißig, wenn ich das Rad bewege. Ein Hardwaredefekt dürfte damit auszuschließen sein. Ich kann das Rad auch drücken und z. B. für den autom. Bildlauf in Firefox verwenden.

Hm, das sieht ja nicht so gut aus :-/
 
Du darfst die Maus in dem "xev-Feld" nicht bewegen, sonst kommt so eine Meldung. Also, Cursor in das Feld, dann die Maus nicht mehr bewegen und nur noch am Mausrad drehen.

Edit:
Und dann schau dir die Meldung vor dem motion-event an, das sollte dann ein button-release-event sein. Und das ist ausschlaggebend.

Edgar
 
Code:
Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "AutoSoft" "on"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Generic"
  Option       "Protocol" "Auto"
  Option       "Vendor" "Auto"
  Option       "ZAxisMapping" "4 5"
EndSection
Ich würde statt dessen mal
Code:
Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Generic"
  Option       "Protocol" "imps/2"
  Option       "Vendor" "Auto"
  Option       "ZAxisMapping" "4 5"
EndSection
damit laufen die meisten PS/2 oder USB Mäuse problemlos.
 
Juhu, jetzt geht's! Die Einstellung des imps/2-Protokolls hat es gebracht. Nun werden bei xev auch die Buttons 4 und 5 ausgegeben, wenn ich dort das Rädchen bewege.

Vielen Dank an alle und gute Nacht!



PS @ panamajo: Und viel Erfolg bei der Wohnungssuche!
 
Super !
Ich habe das selbe Problem. Da ich hier relativ neu bin, weiss ich nicht, wo ich solche Änderungen vornehmen kann.
Wer kann helfen, damit das Mausrad wieder läuft.
Danke im voraus
Fritz
 
Oben