Re: Onyx2 dual keyboards...

New Message Reply Date view Thread view Subject view Author view

Javier Castellar (javier++at++sixty)
Wed, 10 Dec 1997 13:26:12 -0800


Hi Jan,

        I am sorry to heard that you could not get the right answer through the
normal channels. We do have MANY MANY customers using multipipe/multikeyboard
layouts, most of with 4 to 8 pipes.

        Following please find the step by step instructions that I followed to
configure multiseat enviroment on my monster. I followed it to get
4pipe/4seats, although the example is for 3 pipes (TripleKeyboard= TKO). We
also call this layout as NKO (N-Keyboard-Option). In your case, having two
pipes you already have all the needed hardware.

        Besides the following steps, it will be good if you have the latest
graphics and OS patches and be sure that you make a copy of any modified files.
NKO operation does not require anything, the standar OS and X support it.
 However the following configuration steps are needed.

        Keep in mind your numbers: N=2 and you have a single IO6G.

------------------------------- Example ---------------------------------

Configuring a NKO Onyx2

     By default Onyx2 racks with multiple goes out of the factory with one
Xserver configured for all the for all the pipes. Irrespective of how many
pipes and keyboards you have, you need to do the following:

     1. Edit /var/sysgen/master.d/shmiq and change

     #define NSHMIQS 4
     to
     #define NSHMIQS 9

     2. In /dev directory, do the folowing

     mknod qcntl3 c 55 3
     mknod qcntl4 c 55 4
     mknod qcntl5 c 55 5
     mknod qcntl6 c 55 6
     mknod qcntl7 c 55 7

     3. Edit /usr/lib/X11/xdm/xdm-config and add the following lines

     And add:

     DisplayManager._4.startup: /var/X11/xdm/Xstartup
     DisplayManager._5.startup: /var/X11/xdm/Xstartup
     DisplayManager._6.startup: /var/X11/xdm/Xstartup

     DisplayManager._4.session: /var/X11/xdm/Xsession
     DisplayManager._5.session: /var/X11/xdm/Xsession
     DisplayManager._6.session: /var/X11/xdm/Xsession

     DisplayManager._4.authFile: /var/X11/xdm/xdm-auth-4
     DisplayManager._5.authFile: /var/X11/xdm/xdm-auth-5
     DisplayManager._6.authFile: /var/X11/xdm/xdm-auth-6

     DisplayManager._4.loginProgram: /var/X11/xdm/Xlogin
     DisplayManager._5.loginProgram: /var/X11/xdm/Xlogin
     DisplayManager._6.loginProgram: /var/X11/xdm/Xlogin

     DisplayManager._4.terminateServer: False
     DisplayManager._5.terminateServer: False
     DisplayManager._6.terminateServer: False

     4. Do an autoconfig -fv and make sure a new kernel is created and reboot
the system.

     Now to configure the Xserver in a NKO:

     Here we will have N keyboards and mouse for N Pipes. First of all you need
to have N/2 IO6G to do this. Each IO6G has 2 keyboard and mouse input ports. On
the first IO6G the right most pair of Keboard and mouse ports are Pipe 0 and
the left most pair of keyboard and mouse ports are Pipe1. On the second IO6G
the leftmost keyboard and mouse ports are Pipe2 and the rightmost keyboard and
mouse ports are Pipe3 (NOTE: The reverse order in terms of location of keyboard
and mouse ports to graphics pipe). If you have a 3rd IO6G, then the order of
correspondence is similar to the first IO6G and so on.

     In /usr/lib/X11/xdm directory, there will a file named Xservers.3key that
looks like:

     :0 secure /usr/bin/X11/X :0 -boards 0 -devdir /dev/input -bs
     -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG
     red -cursorBG white
     :1 secure /usr/bin/X11/X :1 -boards 1 -devdir /dev/input1 -bs
     -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG
     red -cursorBG white
     :2 secure /usr/bin/X11/X :2 -boards 2 -devdir /dev/input2 -bs
     -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG
     red -cursorBG white

     If you are configuring a TKO system then, copy Xservers.3key to Xservers
and do the following

     cd /dev
     ./MAKEDEV
     (/usr/gfx/stopgfx;/etc/init.d/xdm stop;/usr/gfx/startgfx) &

     NOTE: This can be done from the graphics monitor and from Unix. Do not
forget the ( ) and the &.

     If you have more pipes (say N), then make sure Xservers has N entries
where the display goes from 0 to N-1 and make sure that the entries for boards
and input reflect that.

Regards.

-Javier

On Dec 10, 9:24am, Jan Barglowski wrote:
> Subject: Onyx2 dual keyboards...
> Fellow Performers:
>
> While this isn't a Performer question, this is a question those with
> the SGI top-of-the-line computers might be able to answer.
>
> We have a 2 pipe Onyx2 with all the proper hardware to have 2 consoles.
> The trouble is, we can't seem to get both consoles working at the
> same time! xdm doesn't seem to want to work for both console logins,
> and one console remains blank.
>
> Could someone who's done the 2-console setup please send us some
> hints/tips as to how to config it correctly, please?
>
> [On the side note, SGI help has been working with us, too, but they
> just seem to pass us off to customers who have the same setup.]
>
> Thanks!
>
> jan
>
> --
> Jan Anthony Barglowski jan++at++chinalake.navy.mil
> Real-time Computer Graphics http://www1.ridgecrest.ca.us/~jan
> Naval Air Warfare Center, China Lake (619) 927-1057
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Jan Barglowski

-- 
*****************************************************************
* Javier Castellar Arribas          * Email:     javier++at++sgi.com *                 
*                                   * Vmail:           933-1589 *            
* Member of Technical Staff         * Phone: NEW!  650-933-1589 *
* Core Design - Applied Engineering * Fax:         415-964-8671 *     
* Advanced Graphics Division        * MailStop:          8L-525 *
***************************************************************** 
* Silicon Graphics Inc.                                         *
* 2011 N. Shoreline Boulevard,                                  *                        
* Mountain View, California 94043-1386, USA                     *
*****************************************************************
"Violence is the last refuge of the incompetent"
						Hardin Seldon
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:21 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.