GOK: Difference between revisions

Jump to navigation Jump to search
1,676 bytes removed ,  21 June 2007
Line 5: Line 5:
'''[[For Linux]]'''
'''[[For Linux]]'''


== For Solaris10 ==
:'''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.
:*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.


:'''B. For X86:'''
:'''B. For X86:'''
38

edits

Navigation menu