Page 46 of 46 FirstFirst ... 36444546
Results 451 to 458 of 458

Thread: HOWTO: setup all 12 buttons on your mx1000

  1. #451
    Join Date
    Jan 2008
    Beans
    8

    Re: HOWTO: setup all 12 buttons on your mx1000

    Hello everybody. I followed the guide on how to set up my MX1000, and got *almost* everything working. Almost because the middle thumb button doesn't seem to do anything. Nothing appears on xev when I press it. I know it's supposed to be button10 but it really seems completely dead.

    Got the other two thumb buttons working as back/forward in firefox, but I'd really like to have that button enabled to (if possible) bind it to button2 (pressing the wheel is very uncomfortable, it's hard and always scroll the wheel too while pressing it).

    Thanks for any help!

  2. #452
    Join Date
    Jan 2008
    Beans
    8

    Re: HOWTO: setup all 12 buttons on your mx1000

    Quote Originally Posted by Kemper Boyd View Post
    Hello everybody. I followed the guide on how to set up my MX1000, and got *almost* everything working. Almost because the middle thumb button doesn't seem to do anything. Nothing appears on xev when I press it. I know it's supposed to be button10 but it really seems completely dead.

    Got the other two thumb buttons working as back/forward in firefox, but I'd really like to have that button enabled to (if possible) bind it to button2 (pressing the wheel is very uncomfortable, it's hard and always scroll the wheel too while pressing it).

    Thanks for any help!
    Nevermind, turns out that restarting X wasn't enough (at least to make xev aware of the change). Needed a full system reboot.

  3. #453
    Join Date
    May 2007
    Beans
    20
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: setup all 12 buttons on your mx1000

    So that everyone knows, the middle thumb button will not work (according to the howto that I read), so there is little point mentioning that it doesn't work right now. Be glad that you have 11 functioning actions instead of 5.

  4. #454
    Join Date
    Sep 2005
    Location
    USA
    Beans
    777
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: setup all 12 buttons on your mx1000

    Quote Originally Posted by Braedley View Post
    So that everyone knows, the middle thumb button will not work (according to the howto that I read), so there is little point mentioning that it doesn't work right now. Be glad that you have 11 functioning actions instead of 5.
    I have all the buttons working for me with the following xorg.conf. I haven't placed this in the tutorial because I am experiencing a strange issue where I get no extra buttons when you first log in, but if I log out and then back in everything works. This happens everytime and I'm a bit baffled. Here's my xorg.conf in any case in case someone else would like to try:

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Mon Apr 16 20:39:15 PDT 2007
    
    # xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "ServerLayout"
    	Identifier  "Default Layout"
        screen      "Default Screen" 0 0
    	Inputdevice	"Generic Keyboard"
    	InputDevice "Logitech MX Revolution" "SendCoreEvents"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Module"
    	Load		"glx"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"CoreKeyboard"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"dvorak"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Logitech MX Revolution"
    	Driver		"evdev"
        Option      "Device"    "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"
        Option		"HWHEELRelativeAxisButtons"	"7 6"
    EndSection
    
    Section "Monitor"
    	Identifier	"DELL 1707FP"
    	Horizsync	30.0	-	70.0
    	Vertrefresh	50.0	-	160.0
    	Option		"DPMS"
    EndSection
    
    Section "Device"
    	Identifier	"nVidia Corporation G70 [GeForce 7600 GT]"
    	Driver		"nvidia"
    	Option		"AddARGBVisuals"	"True"
    	Option		"AddARGBGLXVisuals"	"True"
    	Option		"NoLogo"	        "True"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"nVidia Corporation G70 [GeForce 7600 GT]"
    	Monitor		"DELL 1707FP"
    	Defaultdepth	24
    	SubSection "Display"
    		Depth	24
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"640x480"
    	EndSubSection
    EndSection

  5. #455
    Join Date
    Sep 2005
    Location
    USA
    Beans
    777
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: setup all 12 buttons on your mx1000

    Quote Originally Posted by _jason View Post
    I have all the buttons working for me with the following xorg.conf. I haven't placed this in the tutorial because I am experiencing a strange issue where I get no extra buttons when you first log in, but if I log out and then back in everything works. This happens everytime and I'm a bit baffled. Here's my xorg.conf in any case in case someone else would like to try:

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Mon Apr 16 20:39:15 PDT 2007
    
    # xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "ServerLayout"
    	Identifier  "Default Layout"
        screen      "Default Screen" 0 0
    	Inputdevice	"Generic Keyboard"
    	InputDevice "Logitech MX Revolution" "SendCoreEvents"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Module"
    	Load		"glx"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"CoreKeyboard"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"dvorak"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Logitech MX Revolution"
    	Driver		"evdev"
        Option      "Device"    "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"
        Option		"HWHEELRelativeAxisButtons"	"7 6"
    EndSection
    
    Section "Monitor"
    	Identifier	"DELL 1707FP"
    	Horizsync	30.0	-	70.0
    	Vertrefresh	50.0	-	160.0
    	Option		"DPMS"
    EndSection
    
    Section "Device"
    	Identifier	"nVidia Corporation G70 [GeForce 7600 GT]"
    	Driver		"nvidia"
    	Option		"AddARGBVisuals"	"True"
    	Option		"AddARGBGLXVisuals"	"True"
    	Option		"NoLogo"	        "True"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"nVidia Corporation G70 [GeForce 7600 GT]"
    	Monitor		"DELL 1707FP"
    	Defaultdepth	24
    	SubSection "Display"
    		Depth	24
    		Modes		"1280x1024"	"1152x864"	"1024x768"	"800x600"	"640x480"
    	EndSubSection
    EndSection
    The strange issue was being caused by hotplug. If you connect your mouse after X has started, then it won't use your xorg.conf settings for it. In my case, this happened because my mouse is connected to a sub port on my monitor and it doesn't have power if the monitor is off.

  6. #456
    Join Date
    Sep 2007
    Location
    stockholm, sweden
    Beans
    15
    Distro
    Gutsy Gibbon Testing

    Re: HOWTO: setup all 12 buttons on your mx1000

    So noone knows how to use hal and the tip is to revert and use xorg.conf instead?

    can't the beardy person who thought ubuntu should use hal now in 8.10 just explain how hal should be configured.

    I want my mouse wheel to work as the middle button and I would also like to configure it using the correct system ie HAL now in 8.10.

    https://help.ubuntu.com/community/MX1000Mouse
    this guide seems to describe something else.

  7. #457
    Join Date
    Sep 2005
    Location
    USA
    Beans
    777
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: setup all 12 buttons on your mx1000

    Quote Originally Posted by eslin View Post
    So noone knows how to use hal and the tip is to revert and use xorg.conf instead?
    What tip says that?

    Quote Originally Posted by eslin View Post
    can't the beardy person who thought ubuntu should use hal now in 8.10 just explain how hal should be configured.
    https://wiki.ubuntu.com/X/Config

    Quote Originally Posted by eslin View Post
    I want my mouse wheel to work as the middle button and I would also like to configure it using the correct system ie HAL now in 8.10.

    https://help.ubuntu.com/community/MX1000Mouse
    this guide seems to describe something else.

    I updated the wiki for 8.10, but I no longer use the mx1000. I believe everything should just work, so please give feedback.

    (If you read my previous edit about revoco, ignore it as that only applies to the mx revolution)
    Last edited by jrib; November 4th, 2008 at 02:24 PM.

  8. #458
    Join Date
    Mar 2005
    Beans
    3
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: setup all 12 buttons on your mx1000

    Just thought I'd add my 2c to this thread, as it was one I referred to while fixing my problem. Also the wacom page on the Ubuntu wiki (note: I do not have a wacom, I just used the page as a reference.)

    What my problem was:

    I have a logitech mouse (V220 perhaps?). I hate clicking the scrollwheel as my middle mouse paste, so I used to use a "pointer=1 8 3 4 5 6 7 2 9 10" in a .Xmodmap file. This remapped my thumb button to be middle. This worked fine as long as I did not unplug and replug the mouse. The HAL would re-map the buttons. Since Intrepid now uses HAL only (not a bad thing, actually quite good once configured.) I had to find out how to make HAL write the correct button mapping.

    How I solved it (hopefully will work for you):

    Work out the correct button mapping for you using xmodmap, and xev. This is what you used to use in xorg.conf for the ButtonMapping parameter. If your buttons don't work, or you are not sure how to do the above, there are HEAPS of posts on the forums for xmodmap and xev.

    Once you have your button mapping, you need to write a HAL rules file.

    do the following:
    Code:
    sudo gedit /etc/hal/fdi/policy/cutsom_mouse.fdi
    Now add something similar to the following (this is mine):
    Code:
    <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
    
    <deviceinfo version="0.2">
    
      <device>
        <match key="info.capabilities" contains="input.mouse">
          <match key="info.product" contains="Logitech">
            <merge key="input.x11_driver" type="string">evdev</merge>
            <merge key="input.x11_options.ButtonMapping" type="string">1 8 3 4 5 6 7 2 9 10</merge>
            <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
            <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
          </match>
        </match>
      </device>
    
    </deviceinfo>
    You will notice most of it looks quite similar to the options you once had in xorg.conf (the same even!).

    Now I know lots of you won't have a Logitech mouse.
    Running the following command will show the devices for your system:
    Code:
    hal-device
    There may be a lot of output from the above, (I had 167 devices!) but don't despair.
    Pipe it into a text file
    Code:
    hal-device > devices.text
    and open it in your text editor of choice. Look for a section similar to the following:
    Code:
    13: udi = '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0_logicaldev_input'
      input.device = '/dev/input/event12'  (string)
      input.product = 'Logitech USB Receiver'  (string)
      linux.device_file = '/dev/input/event12'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-1/7-1.1/7-1.1.3/7-1.1.3:1.0/input/input18/event12'  (string)
      info.subsystem = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0'  (string)
      info.product = 'Logitech USB Receiver'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0_logicaldev_input'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0'  (string)
      info.category = 'input'  (string)
      linux.subsystem = 'input'  (string)
      info.capabilities = { 'input', 'input.mouse' } (string list)
      input.x11_driver = 'evdev'  (string)
    Note the input.x11_driver = evdev and the info.capabilities are input.mouse. Replace the line in your fdi file that describes your product(mouse) and see how you go.

    When testing, if nothing happens make sure you have re-started HAL after changing the .fdi (sudo /etc/init.d/hal restart)

Page 46 of 46 FirstFirst ... 36444546

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •