Sponsored Content
Operating Systems Linux Slackware Replace PS/2 Trackball with USB optical mouse Post 302597735 by slak0 on Saturday 11th of February 2012 11:28:46 PM
Old 02-12-2012
Replace PS/2 Trackball with USB optical mouse

Running Slackware 13.37 original without updates.
Need to replace my trackball with optical mouse temporarily.
There is no xf86config file anylonger but xorg.conf file is produced automatically.
I see 2 "xorg.conf" files which can be and were modified on installation:
1) /etc/X11/xorg.conf-vesa and 2) /root/xorg.conf.new.
The descriptions for the mouse are:
1)
Code:
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"    "PS/2"
    Option      "Device"      "/dev/mouse"
EndSection

2)
Code:
Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
End Section

Found changes for USB optical mouse to be:
Code:
Section "InputDevice"
    Identifier  "Mouse9"
    Driver      "mouse"
    Option      "Device" "/dev/input/mice"
    Option      "Protocol"    "IMPS/2"
    Option      "ZAxisMapping" "4 5"
EndSection
InputDevice "Mouse9" "SendCoreEvents"

Would someone explain a) which file to is actually used and if it is the one to modify, b) why it should be Mouse9 not Mouse0, c) what is ZAxisMapping, d) why it changes from 4 5 6 7 to 4 5 and e) is that last line in #2 correctly place/necessary?

Last edited by Scott; 02-12-2012 at 03:36 PM.. Reason: Fixed code tags.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

USB mouse needs reinstalled every time???

Help! My mouse gave up the ghost, so I connected a USB wheel mouse, and chose it from the list in Suse's Yast2. Also installed it in Windows 98 on the same machine. It works fine in both linux and Windows 98, except for this fact: I have to reinstall it every time I boot into Linux.... (1 Reply)
Discussion started by: Sonshyne5
1 Replies

2. Slackware

how to activate USB mouse

:confused: I am using Linux for a while and now changed to slackware for my study and it is not as good as redhat everytime when you add this or that it needs either configure modules or recompile kernel Now I changed from PS/2 mouse to USB trouble starts it refuse to work I know I can... (3 Replies)
Discussion started by: slackware
3 Replies

3. Shell Programming and Scripting

Building a better mouse trap, or How many lines of code does it take to trap a mouse?

Hello all, I'm hoping to get a little insight from some of the wily veterans amongst you. I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies

4. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

5. SuSE

USB mouse stops working

I have 64bit 11.1 installed on a clone. The Logitech LX3 mouse stops working sometimes, forcing a reboot. The LED under the mouse goes dark when this happens. A normal ps/2 mouse works fine, and I am certain the LX3 mouse is not defective as I have an identical one on a XP system that I swapped to... (6 Replies)
Discussion started by: stansaraczewski
6 Replies

6. Red Hat

How to configure mini optical mouse ?

hello, someone gave me a set of electronic gadgets 'Brookstone' which has mini optical mouse. This mouse label doesn't have model or etc. Mouse does not work properly i.e. pointer is moving right but left/right buttons work opposite and not always could open or close controls. I suggest it might... (3 Replies)
Discussion started by: susja
3 Replies

7. UNIX for Beginners Questions & Answers

CONFIG_HID=y and logitech usb mouse B185 doesn't work in 5.3.0-RC2

trying to make the best for me with 5.3.0-RC2, everthing's fine, the dell vostro 3558 does what it should - but - and here's the question: how do I get a logitech m185 (wireless mouse) to work; I googled around but couldn't fiind anything usefull; the best I get when using solaar (depreciated?) is:... (2 Replies)
Discussion started by: vanbreukelingen
2 Replies
VMMOUSE(4)						     Kernel Interfaces Manual							VMMOUSE(4)

NAME
vmmouse - VMware Mouse input driver SYNOPSIS
Section "InputDevice" Identifier "idevname" Driver "vmmouse" ... EndSection DESCRIPTION
vmmouse is an XFree86 input driver for mice. The driver supports most available mouse types and interfaces. USB mice are only supported on some OSs, and the level of support for PS/2 mice depends on the OS. The vmmouse driver functions as a pointer input device, and may be used as the X server's core pointer. Multiple mice are supported by multiple instances of this driver. CONFIGURATION DETAILS
Please refer to xorg.conf(5) for general configuration details and for options that can be used with all input drivers. This section only covers configuration details specific to this driver. The driver will automatically detect if the vmmouse device is present and if it is not, it will load the regular mouse driver and attempt to fall back to it. There are no vmmouse specific options, but if you set mouse(4) options, they will be passed on. See the mouse(4) man page for details on these options. SEE ALSO
Xorg(1), xorg.conf(5), Xserver(1), X(7), mouse(4) AUTHORS
Copyright (c) 1999-2007 VMware, Inc. X Version 11 xf86-input-vmmouse 12.9.0 VMMOUSE(4)
All times are GMT -4. The time now is 07:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy