Announcement

Collapse
No announcement yet.

Left/Right Tiltwheel Problem . . . [solved]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Left/Right Tiltwheel Problem . . . [solved]

    My mouse has the left and right scrolling tilt wheel technology; I've followed the instructions from this link - https://help.ubuntu.com/community/In...ForwardButtons - and set up my mouse's left and right thumb buttons, but how do I configure xorg to read the left and right scrolling buttons? Would the left and right axes be listed as "XAxisMapping" or what would the corresponding axes be?
    Asus G1S-X3:
    Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

    #2
    Re: Left/Right Tiltwheel Problem . . .

    Option "ButtonMapping" "1 2 3 6 7"

    Comment


      #3
      Re: Left/Right Tiltwheel Problem . . .

      This is my xorg.conf mouse configuration:

      Section "InputDevice"
      Identifier "Configured Mouse"
      Driver "mouse"
      Option "CorePointer"
      Option "Device" "/dev/input/mice"
      Option "Protocol" "ExplorerPS/2"
      Option "Emulate3Buttons" "false"
      Option "Buttons" "7"
      Option "ZAxisMapping" "4 5"
      Option "ButtonMapping" "1 2 3 6 7"
      Option "Resolution" "400"
      EndSection
      "ButtonMapping" only seems to work for vertical scrolling, not horizontal; there are apparently some apps that allow me to scroll left and right with the tiltwheel, but not many; I have since determined that, for the time being anyway, Kubuntu (xorg rather) doesn't support horizontal scrolling, that is, unless you have configured it to work.
      Asus G1S-X3:
      Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

      Comment


        #4
        Re: Left/Right Tiltwheel Problem . . .

        I messed up with that:
        http://gentoo-wiki.com/HOWTO_Advance...Configurations
        you should have something like this:
        Option "ZAxisMapping" "4 5 6 7"
        remove Option "ButtonMapping" "1 2 3 6 7"
        remove Option "Buttons" "7"

        Comment


          #5
          Re: Left/Right Tiltwheel Problem . . .

          The particular configuration you suggested doesn't work with my mouse, I have a Dynex DX-LM100. I would like to try a number of the other configurations listed on that wiki, but my system doesn't respond well to the "evdev" driver, in fact, X doesn't load at all. I tried messing around with similar configurations using the evdev driver about a month ago on Feisty (I'm currently using the Gutsy beta), and had the same result. Is there anything you can think of I can do to get the evdev driver to work?
          Asus G1S-X3:
          Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

          Comment


            #6
            Re: Left/Right Tiltwheel Problem . . .

            Originally posted by integr8e
            The particular configuration you suggested doesn't work with my mouse, I have a Dynex DX-LM100. I would like to try a number of the other configurations listed on that wiki, but my system doesn't respond well to the "evdev" driver, in fact, X doesn't load at all. I tried messing around with similar configurations using the evdev driver about a month ago on Feisty (I'm currently using the Gutsy beta), and had the same result. Is there anything you can think of I can do to get the evdev driver to work?
            you could use the help of
            Code:
            sudo Xorg -configure
            - this has to be run after you log out, press Ctrl-Alt-F1 and
            Code:
            sudo /etc/init.d/kdm stop

            Comment


              #7
              Re: Left/Right Tiltwheel Problem . . .

              What exactly will that do?
              Asus G1S-X3:
              Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

              Comment


                #8
                Re: Left/Right Tiltwheel Problem . . .

                Originally posted by integr8e
                What exactly will that do?
                it will create an example xorg.conf in your home directory, we need this to see if you are missing something important in your mouse xorg.conf section; after "sudo Xorg -configure" run "sudo /etc/init.d/kdm start"

                Comment


                  #9
                  Re: Left/Right Tiltwheel Problem . . .

                  Alright, here is the my xorg.conf.new:

                  Section "ServerLayout"
                  Identifier "X.org Configured"
                  Screen 0 "Screen0" 0 0
                  InputDevice "Mouse0" "CorePointer"
                  InputDevice "Keyboard0" "CoreKeyboard"
                  EndSection

                  Section "Files"
                  RgbPath "/etc/X11/rgb"
                  ModulePath "/usr/lib/xorg/modules"
                  FontPath "/usr/share/fonts/X11/misc"
                  FontPath "/usr/share/fonts/X11/cyrillic"
                  FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
                  FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
                  FontPath "/usr/share/fonts/X11/Type1"
                  FontPath "/usr/share/fonts/X11/100dpi"
                  FontPath "/usr/share/fonts/X11/75dpi"
                  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
                  EndSection

                  Section "Module"
                  Load "dri"
                  Load "extmod"
                  Load "glx"
                  Load "xtrap"
                  Load "record"
                  Load "dbe"
                  Load "GLcore"
                  EndSection

                  Section "InputDevice"
                  Identifier "Keyboard0"
                  Driver "kbd"
                  EndSection

                  Section "InputDevice"
                  Identifier "Mouse0"
                  Driver "mouse"
                  Option "Protocol" "auto"
                  Option "Device" "/dev/input/mice"
                  Option "ZAxisMapping" "4 5 6 7"
                  EndSection

                  Section "Monitor"
                  #DisplaySize 320 240 # mm
                  Identifier "Monitor0"
                  VendorName "CPQ"
                  ModelName "COMPAQ V700"
                  ### Comment all HorizSync and VertRefresh values to use DDC:
                  HorizSync 30.0 - 85.0
                  VertRefresh 50.0 - 160.0
                  Option "DPMS"
                  EndSection

                  Section "Device"
                  ### Available Driver options are:-
                  ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
                  ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
                  ### [arg]: arg optional
                  #Option "SWcursor" # [<bool>]
                  #Option "HWcursor" # [<bool>]
                  #Option "NoAccel" # [<bool>]
                  #Option "ShadowFB" # [<bool>]
                  #Option "UseFBDev" # [<bool>]
                  #Option "Rotate" # [<str>]
                  #Option "VideoKey" # <i>
                  #Option "FlatPanel" # [<bool>]
                  #Option "FPDither" # [<bool>]
                  #Option "CrtcNumber" # <i>
                  #Option "FPScale" # [<bool>]
                  #Option "FPTweak" # <i>
                  #Option "DualHead" # [<bool>]
                  Identifier "Card0"
                  Driver "nv"
                  VendorName "nVidia Corporation"
                  BoardName "GeForce 7300 GS"
                  BusID "PCI:5:0:0"
                  EndSection

                  Section "Screen"
                  Identifier "Screen0"
                  Device "Card0"
                  Monitor "Monitor0"
                  SubSection "Display"
                  Viewport 0 0
                  Depth 1
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 4
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 8
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 15
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 16
                  EndSubSection
                  SubSection "Display"
                  Viewport 0 0
                  Depth 24
                  EndSubSection
                  EndSection

                  And, here is my xorg.conf:

                  Section "ServerLayout"
                  Identifier "Default Layout"
                  screen 0 "Default Screen" 0 0
                  Inputdevice "Generic Keyboard"
                  Inputdevice "Configured Mouse"
                  EndSection

                  Section "Files"
                  EndSection

                  Section "Module"
                  Load "glx"
                  Load "v4l"
                  EndSection

                  Section "InputDevice"
                  Identifier "Generic Keyboard"
                  Driver "kbd"
                  Option "CoreKeyboard"
                  Option "XkbRules" "xorg"
                  Option "XkbModel" "pc105"
                  Option "XkbLayout" "us"
                  EndSection

                  Section "InputDevice"
                  Identifier "Configured Mouse"
                  Driver "mouse"
                  Option "CorePointer"
                  Option "Device" "/dev/input/mice"
                  Option "Protocol" "ExplorerPS/2"
                  Option "Emulate3Buttons" "false"
                  Option "Buttons" "7"
                  Option "ZAxisMapping" "4 5"
                  Option "ButtonMapping" "1 2 3 6 7"
                  Option "Resolution" "400"
                  EndSection

                  Section "Monitor"
                  Identifier "COMPAQ V700"
                  Vendorname "Compaq"
                  Modelname "Compaq V700 Color Monitor"
                  Horizsync 30.0 - 85.0
                  Vertrefresh 50.0 - 160.0
                  Gamma 1
                  modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
                  modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
                  modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
                  modeline "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
                  modeline "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
                  modeline "1400x1050@75" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
                  EndSection

                  Section "Device"
                  Identifier "nVidia Corporation G71 [GeForce 7300 GS]"
                  Driver "nvidia"
                  Vendorname "NVIDIA"
                  Boardname "NVIDIA GeForce 7 Series"
                  Busid "PCI:5:0:0"
                  Screen 0
                  Option "AddARGBVisuals" "True"
                  Option "AddARGBGLXVisuals" "True"
                  Option "NoLogo" "True"
                  EndSection

                  Section "Screen"
                  Identifier "Default Screen"
                  Device "nVidia Corporation G71 [GeForce 7300 GS]"
                  Monitor "COMPAQ V700"
                  Defaultdepth 24
                  Option "AddARGBGLXVisuals" "True"
                  SubSection "Display"
                  Depth 24
                  Modes "1400x1050@75" "1400x1050@60" "1280x960@75" "1280x1024@60" "1280x960@60" "1280x1024@75"
                  EndSubSection
                  EndSection

                  Section "Extensions"
                  Option "Composite" "Enable"
                  EndSection

                  What am I supposed to do with this information? Should I swap some of my xorg.conf with this? I am unfamiliar with that particular command.
                  Asus G1S-X3:
                  Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                  Comment


                    #10
                    Re: Left/Right Tiltwheel Problem . . .

                    Originally posted by integr8e
                    What am I supposed to do with this information? Should I swap some of my xorg.conf with this? I am unfamiliar with that particular command.
                    we are only interested in mouse section; backup your /etc/X11/xorg.conf and change Section "InputDevice" to:

                    Code:
                    Section "InputDevice"
                     Identifier "Configured Mouse"
                     Driver   "mouse"
                     Option   "CorePointer"
                     Option   "Device" "/dev/input/mice"
                     Option   "Protocol" "auto"
                     Option   "ZAxisMapping" "4 5 6 7"
                    EndSection
                    -offtopic 75Hz on CRT monitor?

                    Comment


                      #11
                      Re: Left/Right Tiltwheel Problem . . .

                      -offtopic 75Hz on CRT monitor?
                      I've heard that before

                      I'll try your suggestion and get right back to you.

                      Edit: Well, that didn't work so well; I could left and right click, and scroll up and down, but not side to side, and my thumb buttons didn't work. While scrolling up and down, somehow it would trigger the reload button in Firefox and that sort of stuff. I've reverted back to the old config. What next?
                      Asus G1S-X3:
                      Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                      Comment


                        #12
                        Re: Left/Right Tiltwheel Problem . . .

                        Originally posted by integr8e
                        -offtopic 75Hz on CRT monitor?
                        I've heard that before

                        I'll try your suggestion and get right back to you.

                        Edit: Well, that didn't work so well; I could left and right click, and scroll up and down, but not side to side, and my thumb buttons didn't work. While scrolling up and down, somehow it would trigger the reload button in Firefox and that sort of stuff. I've reverted back to the old config. What next?
                        run "xev" in konsole with config:
                        Code:
                        Section "InputDevice"
                         Identifier "Configured Mouse"
                         Driver    "mouse"
                         Option   "CorePointer"
                         Option   "Device" "/dev/input/mice"
                         Option   "Protocol" "auto"
                        EndSection
                        and write down mouse button numbers (left-click=button1, middle-click=button2, right-click=button3, scrollup=button4, ...)

                        Comment


                          #13
                          Re: Left/Right Tiltwheel Problem . . .

                          left-click=button1
                          right-click=button3
                          middle-click=button2
                          scrollup=button4
                          scrolldown=button5
                          thumb1=button8
                          thumb2=button9
                          left-tiltwheel=buttons2&8 (2 when pressed; 8 when released)
                          right-tiltwheel=buttons2&9 (2 when pressed; 9 when released)
                          Asus G1S-X3:
                          Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                          Comment


                            #14
                            Re: Left/Right Tiltwheel Problem . . .

                            Originally posted by integr8e
                            left-click=button1
                            right-click=button3
                            middle-click=button2
                            scrollup=button4
                            scrolldown=button5
                            thumb1=button8
                            thumb2=button9
                            left-tiltwheel=buttons2&8 (2 when pressed; 8 when released)
                            right-tiltwheel=buttons2&9 (2 when pressed; 9 when released)
                            interesting that left/right-tiltwheel doesn't show as button6/7 (not saying that it should)
                            try one of these:
                            Code:
                            Section "InputDevice"
                             Identifier "Configured Mouse"
                             Driver    "mouse"
                             Option   "CorePointer"
                             Option   "Device" "/dev/input/mice"
                             Option   "Protocol" "auto"
                             Option   "HWHEELRelativeAxisButtons" "6 7"
                            EndSection
                            or
                            Code:
                            Section "InputDevice"
                             Identifier "Configured Mouse"
                             Driver    "mouse"
                             Option   "CorePointer"
                             Option   "Device" "/dev/input/mice"
                             Option   "Protocol" "auto"
                             Option   "HWHEELRelativeAxisButtons" "6 7"
                             Option   "ButtonMapping" "1 2 3 8 9"
                            EndSection

                            Comment


                              #15
                              Re: Left/Right Tiltwheel Problem . . .

                              Still off target; the tiltwheel doesn't work at all, and neither do the thumb buttons. It's been a little while since I've played with the configuration, but it seems like the left/right tiltwheel buttons were recognized as 6 & 7 when I had xorg configured with Option "buttons" "9". I just settled with "7" because I could navigate back and forward through Firefox that way. Does this info make any kind of difference? (Don't worry, I'm very patient with these things, as long as my left and right buttons remain functional )
                              Asus G1S-X3:
                              Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                              Comment

                              Working...
                              X