For Sparc: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
m (Reverted edits by Return of the Return of the Return of Bluxo (Talk) to last version by Jessie wang)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== For Solaris10 ==
:*1. Enable the XKB extension of xsun server([[How to enable XKB extension of xsun server]]).
:'''A. For sparc:'''
:*1. Enable the XKB extension of xsun server([[How to]]).
:*2. Run "ls -l /dev/usb/hid*" to see what the existing device names are.
:*2. Run "ls -l /dev/usb/hid*" to see what the existing device names are.
:*3. Attach the additional input device(the second mouse, usb physical interface) to the machine.
:*3. Attach the additional input device(the second mouse, usb physical interface) to the machine.

Latest revision as of 08:44, 13 May 2009

  • 1. Enable the XKB extension of xsun server(How to enable XKB extension of xsun server).
  • 2. Run "ls -l /dev/usb/hid*" to see what the existing device names are.
  • 3. Attach the additional input device(the second mouse, usb physical interface) to the machine.
  • 4. Run "ls -l /dev/usb/hid*" to see what the newly attached device names are. Note at the end of each symlink line it will list whetherit is a keyboard or a mouse(here we attached the mouse).
  • 5. Backup the original file /usr/openwin/server/etc/OWconfig.
  • 6. Edit the file /usr/openwin/server/etc/OWconfig, add lines of the following form to OWconfig, one for each device, and each with aunique name beginning with "IMOUSE" or "IKBD":
   For Keyboard:
   # sun Keyboard module
   class="XINPUT" name="IKBD2"
               dev="/dev/usb/hid3" strmod="usbkbm"    #"hid*" here is as same as which you got from step3.
               ddxHandler="ddxSUNWkbd.so.1"
               ddxInitFunc="ddxSUNWkbdProc";
   For Mouse:
   # sun Mouse module
   class="XINPUT" name="IMOUSE2"                      #"IMOUSE*" is determined by the amount of mice which
                                                      have been attached to your machine.
               dev="/dev/usb/hid3" strmod="usbms"     #"hid*" here is as same as which you got from step3.
               ddxHandler="ddxSUNWmouse.so.1"
               ddxInitFunc="ddxSUNWmouseProc";
  • 6. Add "#" before each line of "Null Mouse module" section.
   # Null Mouse module
   #class="XINPUT" name="NMOUSE"
   #       ddxHandler="ddxSUNWmouse.so.1"
   #       ddxInitFunc="ddxnullmouseProc";
  • 7. Save changes and restart Xsession.