Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] xorg 1.9 does not read InputClass / InputDevice
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
divago
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2010
Posts: 84

PostPosted: Fri May 13, 2011 1:59 am    Post subject: [Solved] xorg 1.9 does not read InputClass / InputDevice Reply with quote

hi all
i upgraded xorg-server to 1.9; so, there is no more hal and i need to use xorg.conf
apart from being very happy for it :) i got a little problem with my trackball
i use a logitech marble mouse; apart from being very comfortable and also cool, got a very big problem: lack of mousewheel

it (was) pretty easy to configure one of the top button (button 8 and/or 9 according to xev) as middle mouse button, and the other one to emulate wheel: just click the button and use the big ball as a mousewheel

long time ago i configured xorg.conf by putting this section in it:
Code:

Section "InputDevice"
        Identifier      "MarbleMouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Name" "Logitech Marble Mouse USB"
        Option          "Protocol"              "auto"
        Option          "Device"                "/dev/input/mice"
        Option          "Buttons"               "5"
#       Option          "Buttons"               "9"
        Option          "Emulate3Buttons"       "true"
        Option          "EmulateWheel"          "true"
#       Option          "EmulateWheelTimeout"   "200"
        Option          "EmulateWheelButton"    "6"
#       Option          "EmulateWheelButton"    "8"
        Option          "XAxisMapping"          "6 7"
        Option          "YAxisMapping"          "4 5"
#       Option          "ZAxisMapping"          "4 5"
#       Option          "ButtonMapping"         "1 8 3 2 9"
        Option          "ButtonMapping"         "1 9 3 8 2"
EndSection


Then came hal, so i had to configure some .fdi in hal

now there is xorg 1.9 so i checked this guide http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml and deleted xorg.conf and created a xorg.conf.d directory where i put a file named 15-marblemouse.conf:
Code:

Section "InputDevice"
        Identifier      "MarbleMouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Name" "Logitech Marble Mouse USB"
        Option          "Protocol"              "auto"
        Option          "Device"                "/dev/input/mice"
        Option          "Buttons"               "5"
#       Option          "Buttons"               "9"
        Option          "Emulate3Buttons"       "true"
        Option          "EmulateWheel"          "true"
#       Option          "EmulateWheelTimeout"   "200"
        Option          "EmulateWheelButton"    "6"
#       Option          "EmulateWheelButton"    "8"
        Option          "XAxisMapping"          "6 7"
        Option          "YAxisMapping"          "4 5"
#       Option          "ZAxisMapping"          "4 5"
#       Option          "ButtonMapping"         "1 8 3 2 9"
        Option          "ButtonMapping"         "1 9 3 8 2"

       MatchIsPointer      "on"
EndSection


and i got this problems:
a) when i type startx, just don't start. it says me "MatchIsPointer is not a valid keywords in this section"
b) if i comment this section mouse is working BUT emulate mouse wheel does'nt
c) if i put back the old xorg.conf, is same thing than (b): it does'nt work (act as a normal mouse without mousewheel)

so at the moment i'm stuck with a trackball without mouse wheel;
i tried googling here and there but all i found is something really old, and using solutions similar to my old xorg.conf

does anyone has this mouse and found a way to use it properly?
this is work laptop so i really don't whant to buy an extra expensive trackball with mousewheel for it, and neither whant to come back to plain old mouse...

ty all for your help :)


Last edited by divago on Sat May 14, 2011 12:41 am; edited 1 time in total
Back to top
View user's profile Send private message
divago
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2010
Posts: 84

PostPosted: Sat May 14, 2011 12:40 am    Post subject: Re: MarbleMouse and upgrading to X 1.9 Reply with quote

Ok it seems i did some syntax error in Input Class file (first was labeling them "InputDevice" x.x)
i still got problems with xorg-trackball configuration but i will start a new topic then.
this is "solved"... u.u
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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