To configure two mouse devices on a Solaris x86 system, perform the following steps:
Before you connect the second mouse to your system, enter the following command to list the existing devices:
ls -l /dev/usb/hid*
Connect the second mouse to your system.
Enter the following command again to list the new device:
ls -l /dev/usb/hid*
Open 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
Edit the InputDevice section as follows:
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "VUID" Option "Device" "/dev/mouse" EndSection
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.
Save the /etc/X11/xorg.conf file.
Restart the X Server.