Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] 4. Button Logitech MouseMan Dual Optical
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Ezekeel
Apprentice
Apprentice


Joined: 10 Apr 2004
Posts: 285
Location: SW Germany

PostPosted: Tue Oct 26, 2004 7:41 pm    Post subject: [solved] 4. Button Logitech MouseMan Dual Optical Reply with quote

Hallo,

auf die Gefahr hin, dass das schon mal gefragt wurde (scheint mir nicht so, da alle Lösungsansätze nix geholfen haben) . WIe bekomme ich meinen 4 Mousebutton der im Titel genannten Maus unter xorg zum laufen? Der entsprechende Eintrag in der xorg.conf sieht so aus:

Code:
 
    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Buttons" "5"
    Option "Device"     "/dev/mouse"


der eintrag aus der xorg log:
Code:

**) Option "Protocol" "ImPS/2"
(**) Mouse1: Device: "/dev/mouse"
(**) Mouse1: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Buttons" "5"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(**) Mouse1: SmartScroll: 1
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc102"
(**) Keyboard1: XkbModel: "pc102"
(**) Option "XkbLayout" "de"
(**) Keyboard1: XkbLayout: "de"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/local/, removing from list!
Could not init font path element /usr/share/fonts/Speedo/, removing from list!
SetClientVersion: 0 8
(II) 3rd Button detected: disabling emulate3Button


Und nun ist eben das Problem, dass er bei mir den 4. Mouse Button erkennt. Wenn ich das ganze mit xev abfrage dann kommt bei der mittleren Maustaste:
Code:

ButtonPress event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x2400002, time 382407, (39,46), root:(42,75),
    state 0x0, button 2, same_screen YES

EnterNotify event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x0, time 382407, (39,46), root:(42,75),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 512

KeymapNotify event, serial 30, synthetic NO, window 0x0,
    keys:  118 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

ButtonRelease event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x2400002, time 382559, (39,46), root:(42,75),
    state 0x200, button 2, same_screen YES

LeaveNotify event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x0, time 382559, (39,46), root:(42,75),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 0


und bei der 4. Maustaste:
Code:
ButtonPress event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x2400002, time 426124, (35,34), root:(38,63),
    state 0x0, button 2, same_screen YES

EnterNotify event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x0, time 426124, (35,34), root:(38,63),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 512

KeymapNotify event, serial 30, synthetic NO, window 0x0,
    keys:  118 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

ButtonRelease event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x2400002, time 426285, (35,34), root:(38,63),
    state 0x200, button 2, same_screen YES

LeaveNotify event, serial 30, synthetic NO, window 0x2400001,
    root 0x76, subw 0x0, time 426285, (35,34), root:(38,63),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 0


Man achte darauf, dass beide mal Button 2 da steht!

Die Maus hängt am PS/2 und funktioniert sonst einwandfrei, aber mich nervt es langsam schon, dass ich keinen 4. Mausbutton hab! :(

Danke schonmal im voraus
_________________
Das logische Denken ist das Muster einer vollständigen Fiktion.


Last edited by Ezekeel on Wed Oct 27, 2004 4:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Tue Oct 26, 2004 11:08 pm    Post subject: Reply with quote

Naja ohne das ich mir deinen post komplett durchgelesen hätte.
Code:

Option "Buttons" "5"

Ist ne ganz normal maus mit 2 tasten und nem rad wobei das rad 3 buttons sind (hoch, runter, drücken).
Also wenn deine maus 3 tasten und ein rad hat, dann solltest du einfach mal eine grössere zahl bei buttons eintragen(6). Die Z achse ist das hoch- und runterscrollen auf einer seite ( was man vom rad gewöhnt ist). Nimm einfach mal ne grössere buttons anzahl und gucke dann ob alle bei "xev" verschiedene signale auslösen. Dannach kannst du 2 von den (bei die wahrscheinlich 6) tasten als Z achse festlegen. Und die 6. kannst du über imwheel individeull belegen.
Back to top
View user's profile Send private message
ChrisM87
l33t
l33t


Joined: 07 Aug 2004
Posts: 728
Location: Rheinland-Pfalz (Germany)

PostPosted: Tue Oct 26, 2004 11:31 pm    Post subject: Reply with quote

Hi,

habe die gleiche Maus am USB-Anschluss und folgende Einstellungen:
Quote:
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"


Alle Tasten und Scrollrad funktionieren (lass dich nicht verwirren, Mausradscrolling geht nicht in jeder Anwendung, das liegt nicht an der Maus). ;)

ChrisM
Back to top
View user's profile Send private message
Ezekeel
Apprentice
Apprentice


Joined: 10 Apr 2004
Posts: 285
Location: SW Germany

PostPosted: Wed Oct 27, 2004 5:12 am    Post subject: Reply with quote

hab jetzt:
Code:
Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "IMPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Buttons" "6"
    Option "Device"     "/dev/input/mice"


mit selbem ergebnis - er erkennt den 4. Mousebutton immer noch als 3 Mousebutton bzw. umgekehrt, bei xev zeigt er jedesmal, dass beidesmal der Mousebutton 2 gedrückt wurde!!
_________________
Das logische Denken ist das Muster einer vollständigen Fiktion.
Back to top
View user's profile Send private message
J.M.I.T.
Guru
Guru


Joined: 15 Jan 2003
Posts: 481
Location: München, Germany

PostPosted: Wed Oct 27, 2004 8:52 am    Post subject: Reply with quote

ChrisM87 wrote:
Hi,

habe die gleiche Maus am USB-Anschluss und folgende Einstellungen:
Quote:
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"


Alle Tasten und Scrollrad funktionieren (lass dich nicht verwirren, Mausradscrolling geht nicht in jeder Anwendung, das liegt nicht an der Maus). ;)

ChrisM

Die Buttons funktionieren alle... das ist klar, aber der 4. Button wird als Klick auf das Mousewheel erkannt... das ist das Problem... da kann man doch bestimmt was mit xmodmap usw... machen?
_________________
Get a life...
Code:
:(){ :|:& };:
Use at own risk...
Back to top
View user's profile Send private message
.maverick
Apprentice
Apprentice


Joined: 29 Jan 2004
Posts: 159
Location: Bonn

PostPosted: Wed Oct 27, 2004 12:47 pm    Post subject: Reply with quote

http://www.selflinux.org/selflinux/html/wheelmouse.html

Ich habe dasselbe Problem am USB-Anschluss, das Tutorial ^ hab ich aber auch noch nicht ausprobiert, werds gleich heute mal testen. Ich hatte mich bisher damit abgefunden, dass es einfach nicht funktioniert.
Auf einigen Seiten (Google Groups) ist ausserdem davon die Rede, dass das Protokoll auf "ExplorerPS/2" stehen muss, das ist auch das, was mir X ausspuckt wenn ich
Code:
Option "Protocol" "auto"
da stehen hab.
Back to top
View user's profile Send private message
redflash
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 213
Location: Germany

PostPosted: Wed Oct 27, 2004 2:11 pm    Post subject: Reply with quote

Wenn nur die Reihenfolge der Tasten nicht stimmt, behebst du dass einfach durch folgenden Befehl.
Code:
xmodmap -e "pointer = 1 2 3 6 7 4 5"

oder wie die Reihenfolge sein soll.
Back to top
View user's profile Send private message
Ezekeel
Apprentice
Apprentice


Joined: 10 Apr 2004
Posts: 285
Location: SW Germany

PostPosted: Wed Oct 27, 2004 4:24 pm    Post subject: Reply with quote

Hallo,

hab nun alles möglich durchprobiert und bin nun auf folgenden Eintrag gestoßen der bei mir funktoniert:

Code:

# Identifier and driver

    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "auto"
    Option "ZAxisMapping"   "6 7"
    Option "Buttons" "7"
    Option "Device"     "/dev/input/mice"
    Option "Resolution" "1600"


ausserdem noch eine datei mit
Code:

xmodmap -e "pointer = 1 2 3 6 7 4 5"


in den Autostart ordner von KDE und das ganze funktioniert!


Danke mal für die Rege mithilfe [solved]
_________________
Das logische Denken ist das Muster einer vollständigen Fiktion.
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Wed Oct 27, 2004 4:54 pm    Post subject: Reply with quote

Probiert mal das tutorial, damit habe ich meine mx500 hinbekommen:

http://www.glaurung.demon.co.uk/info/linux.mx500.howto.html
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum