User`s guide
MegaRAC G3 User’s Guide
146
USB Mouse
There are two possible scenarios:
• If you first used a PS/2 mouse to install the Linux and you now want to add USB
mouse support, follow the steps in the table below.
• If you first use a USB mouse to install the Linux and you now want to add PS/2
mouse support, reboot the computer to allow Linux to configure and reallocate the
interrupt resources for both the USB mouse and PS/2 mouse. After that, follow the
steps in the table below.
Step Instructions
1
Run the following command to check what X server the system links to:
ls –l /etc/X11/X
2
If linking to XFree86…
If the X links to /usr/X11R6/bin/XFree86, edit the /etc/X11/XF86Config-4 file and
add the following text in the “ServerLayout” section:
InputDevice “mouse1” “SendCoreEvents”
Next, add a new “InputDevice” section after another “InputDevice” section as shown
below:
Section “InputDevice”
Identified “Mouse1”
Drive “mouse”
Option “Protocol” “IMPS/2”
Option “Device” “/dev/mouse”
Option “ZaxisMapping” “4 5”
EndSection
3
If linking to XF86_SVGA…
If the X links to /usr/X11R6/bin/Xwrapper or /usr/X11R6/bin/XF86_SVGA, edit the
/etc/X11/XF86Config and add a new section as shown below:
Section “Xinput”
SubSection “mouse”
DeviceName “USB mice”
Protocol “imps/2”
XAxisMapping 4 5
Port “/dev/input/mice”
AlwaysCore
EndSubSection
EndSection
4
Refresh the X server. After you make and save all the changes to the XF86Config (or
XF86Config-4) file, press the <CTRL>, <ALT> and <BkSp> keys to restart the X server and let
the new settings take effect. If this does not work, type “startx” in text mode or reboot the host
system.