Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg ignoriert einstellung zu den Maustasten
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
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Sat Feb 18, 2006 8:54 pm    Post subject: Xorg ignoriert einstellung zu den Maustasten Reply with quote

Hallo zusammen,

in meiner xorg.conf steht folgendes zur Maus drin:
Code:

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "CorePointer"
#    Option "Protocol"    "ExplorerPS/2"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mouse0"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "9"
    Option "SendCoreEvents" "true"


Wie ihr seht ist die Anzahl Buttons auf 9 eingestellt. Seit dem Update auf xorg-7.0 wird die Einstellung aber ignoriert.
xmodmap -pp liefert:
Code:

There are 13 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
        2              2
        3              3
        4              4
        5              5
        6              6
        7              7
        8              8
        9              9
       10             10
       11             11
       12             12
       13             13
There are 13 pointer buttons defined.


Aus diesem Grund funktionieren meine zusätzlichen Maustasten nicht mehr richtig.

Was läuft hier falsch? In der Xorg.log steht:
Quote:

(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Device: "/dev/input/mouse0"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "SendCoreEvents" "true"
(**) Mouse1: always reports core events
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/input/mouse0"
(**) Option "Buttons" "9"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 13
(**) Option "Resolution" "1600"
(**) Mouse1: Resolution: 1600


Ist mit unerklärlich und wie gehts euch? :D
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


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

PostPosted: Sat Feb 18, 2006 11:09 pm    Post subject: Reply with quote

Die Treiber von xorg sind bei gentoo gepatcht. Normal müsste man für soviele Tasten den evdev Treiber nutzen, bei dem man dann 32 Tasten bekommt. Mehr Tasten bei xmodmap sind kein Problem, auch wenn die Mouse nicht soviele hat. Du musste eventuell nur deine imwheel config anpassen oder mit xmodmap Tasten vertauschen. Am besten du debugs das mit "imwheel -d" und "xev". Ist sicher nur ne kleine Änderung in den configs.
Ich nutze zZ evdev nach diesem Howto http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Mouse+Buttons&back=HOWTO+INDEX+Hardware. Ich habe mal irgendwo gelesen das die gentoo Treiber gepatcht sind aber weil ich keine ordentlich Dokumentation dazu gefunden habe benutze ich jetzt eben das. Wird hoffentlich noch dokumentiert bevor xorg stable wird.
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Sat Feb 18, 2006 11:59 pm    Post subject: Reply with quote

Quote:
Ich nutze zZ evdev nach diesem Howto


Kannst du mir dann mal bitte deine config posten? Wenn ich diesen evdev Treiber nämlich verwende, dann friert direkt nach dem Start von X mein Pc ein. :roll:
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


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

PostPosted: Sun Feb 19, 2006 12:08 pm    Post subject: Reply with quote

Ich habe damit nicht gemeint das du auch evdev nutzen sollst. Wenn du xorg7 nutzt dann kannst du vielleicht auch eher x11-drivers/xf86-input-evdev nutzen als das HowTo. Ich wollte eigentlich nur sagen das es nicht schlimm ist mehr Tasten bei xmodmap zu haben als die Mouse wirklich hat. Nimm xev und gucke ob alle deine Tasten funktionieren. Dannach musst du nurnoch deine .Xmodmaprc bzw .imwheelrc anpassen.
Aber das hatte ich ja schonmal gesagt, und weil du gefragt hast gebe ich dir die config. Auch wenn ich denke das du das nicht brauchst.

xorg.conf
Code:

Section "InputDevice"
    Driver       "evdev"
    Identifier   "Mouse[0]"
    Option       "Device" "/dev/input/event2"
    Option       "Name" "Explorer 4.0"
EndSection


.Xmodmaprc
Code:

pointer = 1 3 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Sun Feb 19, 2006 4:35 pm    Post subject: Reply with quote

Quote:
Nimm xev und gucke ob alle deine Tasten funktionieren


Nein leider tuen sie das mit dem Standardtreiber "mouse" nicht. Er registriert zwar alle Keypresses, aber er kann die Tasten nicht voneinander unterscheiden:

Wenn ich die linke Maustaste drücke sagt xev z.B. "Button 1". Wenn ich nun eine der Daumentasten drücke sagt er ebenfalls "Button 1".

Mit dem evdev-Treiber (hatte vergessen den evdev support im kernel zu aktivieren, daher der Absturz vorhin) klappt es einwandfrei, aber der Treiber lässt meinen X beim beenden abstürzen, weswegen er nicht wirklich brauchbar ist (ich kann mich ja nicht neu einloggen und herunterfahren ist auch nicht :cry: )
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


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

PostPosted: Sun Feb 19, 2006 5:30 pm    Post subject: Reply with quote

Hast du schonmal den "mouse" Treiber mit nem evdev Kernel probiert? Vielleicht bringt das ja was.
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