Find the answer to your Linux question:
Results 1 to 5 of 5
Dear Forum, I have a scroll mouse that I'm trying to get to work with X. I did a search and found that I had to have the zmapping line ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2003
    Location
    East Coast USA
    Posts
    15

    Mouse Scrolling While Using GPM


    Dear Forum,

    I have a scroll mouse that I'm trying to get to work with X. I did a search and found that I had to have the zmapping line set in XF86Config file. After making the necessary adjustments, I still can't scroll. A friend at school told me that if I'm using gpm, which I am, that I might have to set the repeater option for gpm to send input to the X server's fifo. What do I have to do? I have a memorex laser scroll mouse, the mouse works fine except the scrolling ability. GPM is installed and running b/c when I press ctrl + alt + F1 and move the mouse, I get a little block that represents the mouse cursor. Any help is greatly appreciated.

    -Primary Canary

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    You don't have to do anything with GPM at least. However, could you post how you configured your mouse, ie. post that entire InputDevice section of your XF86Config?

  3. #3
    Just Joined!
    Join Date
    Jan 2003
    Location
    East Coast USA
    Posts
    15

    No InputDevice

    I have both the XF86Config and XF86Config-4 files
    in XF86Config there is no section labeled InputDevice so I pasted the section that is labeled Pointer

    Section "Pointer"
    Protocol "PS/2"
    Device "/dev/psaux"

    # For wheel support - can not be used with Emulate3Buttons
    #
    ZAxisMapping "4 5"

    # When using XQUEUE, comment out the above two lines, and uncomment
    # the following line.
    # Protocol "Xqueue"

    # Baudrate and SampleRate are only for some Logitech mice
    # BaudRate 9600
    # SampleRate 150

    # Emulate3Buttons is an option for 2-button Microsoft mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
    # Emulate3Buttons
    Emulate3Timeout 50

    # ChordMiddle is an option for some 3-button Logitech mice
    # ChordMiddle

    EndSection

    in the XF86Config-4 file there is a section named InputDevice and it is as follows:

    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "no"
    EndSection

    From what I read, I believe that I have done this correctly, but I am more than capable of screwing it up. Did I do anything wrong?

    Thanks for your help Dolda2000. You truly are a linux guru.

    -Primary Canary

  4. #4
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    What kind of mouse do you have? You can try changing "Protocol" to "IMPS/2"

  5. #5
    Just Joined!
    Join Date
    Jan 2003
    Location
    East Coast USA
    Posts
    15
    Yes, thank you! I changed the protocol to IMPS/2 in both XF86Config and XF86Config-4 and upon restarting X, the scrolling worked. Thank you so very much for your wisdom and patience.

Posting Permissions

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