Go to main content

Oracle® Solaris 11 Desktop Accessibility Guide

Exit Print View

Updated: March 2018
 
 

To Configure Two USB Mouse Devices on Oracle Solaris x86 Systems

  1. Before you connect the second mouse to your system, list the existing devices:
    # ls -l /dev/usb/hid*
  2. Connect the second mouse to your system.
  3. List the new device.
    # ls -l /dev/usb/hid*
  4. In the file /etc/X11/xorg.conf, edit the ServerLayout section as follows:
    Section "ServerLayout"
             Identifier     "X.org Configured"
             Screen      0  "Screen0" 0 0
             InputDevice    "Mouse0" "CorePointer"
             InputDevice    "Mouse1"
             InputDevice    "Keyboard0" "CoreKeyboard"
    					EndSection
  5. Edit the InputDevice section as follows:
    Section "InputDevice"
             Identifier  "Mouse0"
             Driver      "mouse"
             Option      "Protocol" "VUID"
             Option      "Device" "/dev/mouse"
    EndSection
  6. Insert a second InputDevice section as follows:
    Section "InputDevice"
             Identifier  "Mouse1"
             Driver      "mouse"
             Option      "Protocol" "VUID"
             Option      "StreamsModule" "usbms"
             Option      "Device" "/dev/usb/hidx"
    EndSection

    where:

    /dev/usb/hidx is the device name that you identified in Step 3.

  7. Save the /etc/X11/xorg.conf file.
  8. Restart the X Server.