Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 80

Thread: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

  1. #51
    Join Date
    Dec 2008
    Location
    California
    Beans
    438
    Distro
    Ubuntu

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    From lshal I get:

    udi = '/org/freedesktop/Hal/devices/usb_device_f62_1001_noserial_if0_logicaldev_input'
    info.capabilities = {'input', 'input.mouse'} (string list)
    info.category = 'input' (string)
    info.parent = '/org/freedesktop/Hal/devices/usb_device_f62_1001_noserial_if0' (string)
    info.product = 'Acrox USB & PS/2 Mouse' (string)
    info.subsystem = 'input' (string)
    info.udi = '/org/freedesktop/Hal/devices/usb_device_f62_1001_noserial_if0_logicaldev_input' (string)
    input.device = '/dev/input/event3' (string)
    input.originating_device = '/org/freedesktop/Hal/devices/usb_device_f62_1001_noserial_if0' (string)
    input.product = 'Acrox USB & PS/2 Mouse' (string)
    input.x11_driver = 'evdev' (string)
    linux.device_file = '/dev/input/event3' (string)
    linux.hotplug_type = 2 (0x2) (int)
    linux.subsystem = 'input' (string)
    linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb6/6-2/6-2:1.0/input/input3/event3' (string)

    So, I could have found the driver being used from the "input.xll_drive = 'evdev' (string) line.

    I have created a file in the /etc/hal/fdi/policy directory called CompaqMouse.fdi that contains the following:

    <?xml version="1.0" encoding="ISO-8859-1"?>

    <deviceinfo version="0.2">

    <device>
    <match key="info.product" string="Acrox USB & PS/2 Mouse">
    <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
    </match>
    </device>

    </deviceinfo>

    As far as I can tell, this is correct, but it does not do anything.
    xinput list-props "Acrox USB & PS/2 Mouse" still gets me this:

    Device 'Acrox USB & PS/2 Mouse':
    Device Enabled: 1
    Middle Button Emulation: 2
    Middle Button Timeout: 50
    Wheel Emulation Inertia: 10
    Wheel Emulation: 0
    Wheel Emulation X Axis: 0, 0
    Wheel Emulation Y Axis: 4, 5
    Wheel Emulation Timeout: 200
    Wheel Emulation Button: 4
    Drag Lock Buttons: 0

    Note the Wheel Emulation X Axis that I am trying to change to 6, 7 is still 0, 0.

  2. #52
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Beans
    22
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    REVOLUTIONARY!!! Well done!

    This is exactly the feature I needed in my windows install...

  3. #53
    Join Date
    Apr 2009
    Beans
    Hidden!

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    Thanks to all who've posted in this thread. It helped me a great deal. I'm easily an Ubuntu newbie having just installed this afternoon. I'm still getting used to the command line interface of the terminal, but I think I'm catching on. I'll admit it took some time to figure out that the code mentioned in previous posts needed to be saved in a file called mouse-wheel.fdi in the /etc/hal/fdi/policy folder, but I eventually got it. Of course not without some minor head thumping before I finally also realised I need a reboot to make it go. *bonk*

    Anyhoo, all is well now, and my trackball is scrolling vertically in Firefox just as god intended. I thank you all for that. Cheers!

  4. #54
    Join Date
    Aug 2006
    Location
    Pittsburgh, PA
    Beans
    424
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    Hi everyone,

    I just got a Logitech Marble mouce and am trying to get the scrolling to work with the small buttons.

    I have done the following to no avail.

    Created a file at /etc/hal/fdi/policy/mouse-wheel.fdi with these contents
    PHP Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
      <device>
        <match key="info.product" string="Logitech USB Trackball">
          <merge key="input.x11_options.ButtonMapping" type="string">1 8 3 9 2</merge>
          <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
          <merge key="input.x11_options.EmulateWheelButton" type="string">9</merge>
          <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
          <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
          <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
        </match>
      </device>
    </deviceinfo>
    I then rebooted the machine. Still doesn't work. The buttons are still mapped to forward and back in firefox and don't scroll.

  5. #55
    Join Date
    Nov 2008
    Beans
    1

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    Hi, I'm very new to Linux.
    I have the same mouse, but instead of scroll effect,
    I just want the buttons to be buttons.
    Is this possible.

    Thanks

    mysys:
    Kubuntu 9.04
    MSI K8T Neo2
    2x160gb WD
    Asus Geforce 6200
    Logitech Marble Mouse (4 button)
    Last edited by dyn0myt3; May 15th, 2009 at 10:37 PM.

  6. #56
    Join Date
    Aug 2006
    Location
    Pittsburgh, PA
    Beans
    424
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    Hey Everyone I got in working in Ubuntu 9.04

    The first thing I discovered is that it is showing up as a 32 button mouse, which is wrong. To see this I used:

    PHP Code:
    xinput list 
    Which showed:
    PHP Code:
    "Logitech USB Trackball"    id=5    [XExtensionPointer]
        
    Num_buttons is 32
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 
    :
            
    Min_value is -1
            Max_value is 
    -1
            Resolution is 1
        Axis 1 
    :
            
    Min_value is -1
            Max_value is 
    -1
            Resolution is 1 
    From here I copied the file I found here: https://help.ubuntu.com/community/Lo...arblemouse_USB to /etc/hal/fdi/policy/mouse-wheel.fdi

    After this, I ran the following command to remap the keys for just this mouse. If your mouse is showing up as something else change that string in the command.

    [php] xinput set-button-map "Logitech USB Trackball" 1 8 3 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32[php]

    This gave me the left big button as left click, the right big button as right click, the left small button as srcoll(vertical) and I think the right small button as middle click(can't figure out how to test this).

    Plying with the numbering will change the mapping using this you should be able to swap any keys and make it lefty or change which is scroll and middle click.

    I hope this helps someone.

  7. #57
    Join Date
    Aug 2006
    Location
    Pittsburgh, PA
    Beans
    424
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    It seems my changes weren't permanent. I have to re run the command

    PHP Code:
    xinput set-button-map "Logitech USB Trackball" 1 8 3 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
    everytime I start x which includes login. Anyone know how to make this permanent?

    Thanks.

  8. #58
    Join Date
    Jun 2006
    Beans
    77
    Distro
    Ubuntu 6.06

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    Quote Originally Posted by themusicwave View Post
    It seems my changes weren't permanent. I have to re run the command

    PHP Code:
    xinput set-button-map "Logitech USB Trackball" 1 8 3 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
    everytime I start x which includes login. Anyone know how to make this permanent?

    Thanks.
    In the gnome menus, go to "System -> Preferences -> Startup Applications" and select "Add".

    For "Name" enter "mouse scrolling" (or whatever you want, really) and under "Command" paste your xinput command. The system will run it when it starts, and it should scroll without you having to do anything.

  9. #59
    Join Date
    Aug 2006
    Location
    Pittsburgh, PA
    Beans
    424
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    The only problem with adding it as a startup script is that it only works if the trackball is plugged in when you start X or ubuntu.

    If the trackball isn't plugged in, then you still have to run the command. I just put it in a shell script on my desktop so I can click it when I plug in the mouse.

    Still not a perfect solution though.

  10. #60
    Join Date
    Jun 2006
    Beans
    77
    Distro
    Ubuntu 6.06

    Re: How-to Scrollwheel Effect on Logitech trackball (Marble Mouse)

    Quote Originally Posted by themusicwave View Post
    The only problem with adding it as a startup script is that it only works if the trackball is plugged in when you start X or ubuntu.

    If the trackball isn't plugged in, then you still have to run the command. I just put it in a shell script on my desktop so I can click it when I plug in the mouse.

    Still not a perfect solution though.
    I agree. I also seem to have lost another function - before, when I would click a link in firefox with that same button, it would open the link in a new tab. Now it doesn't.

    FYI, if you don't want to clutter up your desktop with the script icon, you can put it in your ~/.gnome2/nautilus-scripts folder and (if you've marked it as executable) it will show up in the scripts submenu if you right-click on the desktop or in a nautilus window.

Page 6 of 8 FirstFirst ... 45678 LastLast

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
  •