Microsoft Intellimouse Optical & Redhat Linux

Discussion in 'Linux & BSD' started by jonifen, Oct 3, 2003.

  1. jonifen

    jonifen pffff...

    Messages:
    705
    Ain't posted here in a while... been quite busy, but here goes :)

    I woulda thought this was an OS issue due to it working fine in WinXP.
    I've just recently installed Redhat 9 and XP in a dual boot (using NT bootloader, not LILO/GRUB) and the only thing I'm finding an issue is the side buttons on my mouse aren't working. I was wondering if there was some sort of app/kernel addition which I could get to make the extra buttons work? I'm lost without the Back/Forward functions they gave me on the Internet browsers.

    Thanks in advance
     
  2. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    Its not easy, but can be done. Download and install IMWHEEL; then

    XF86CONFIG file:

    Code:
    # Identifier and driver
    
    Identifier "Mouse1"
    Driver "mouse"
    
    # On platforms where PnP mouse detection is supported the following
    # protocol setting can be used when using a newer PnP mouse:
    
    # Option "Protocol" "Auto"
    
    # The available mouse protocols types that you can set below are:
    # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
    # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
    # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
    # ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol" "ExplorerPS/2"
    Option "Buttons" "7"
    Option "ZAxisMapping" "6 7"
    Now you have to add a startup script to /etc/profile.d/:

    Code:
    #!/bin/sh
    xmodmap -e "pointer = 1 2 3 6 7 4 5" 
    and (I can only get this to work with KDE's autostart, on fluxbox I have a shortcut to this script and execute it after logging in, if you include the line in the startup script bad things happen) add a script to the KDE autostart folder (if you are using KDE)

    Code:
    #!/bin/sh
    imwheel -k -p -b "67" 
    Last, you have to add a .imwheelrc file to the home directories:

    Code:
    ".*"
    None, Up, Alt_L|Left
    None, Down, Alt_L|Right 
     
  3. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    Yeah, I had to go through some similar editing of the XF86Config file to get virtual scrolling and touch-zones enabled for my touchpad.