Update: WE DID IT !! and we did it well.
ok.. end of story.. with complete success and fun.
I'm preparing right now my tech page about how to archieve this result, with pictures and detailed steps, but meanwhile here's a summary report on how we did it.
Object: Making a Origin2000 having a graphic Head, Keyboard and Mouse, without the Origin2000 SI VIZ Sgi kit. (without the IOG6).
Steps:
-1- Board modding (see above, pictures to come soon)
-2- Prom settings
-3- Irix Tricks
-4- vine/beer drinking
for the first step.. as stated.. see above. i'm already working at the pictures for it.
second step, prom setting.
Watching at the Onyx2 Prom and after many guesses, tries, and fails the resulting printenv of the Prom should be something like the following.
Code:
Select all
AutoLoad=Yes
dbgtty=/dev/tty/ioc30
root=dks0d1s0
nonstop=0
rbaud=19200
SystemPartition=dksc(0,1,8)
OSLoadPartition=dksc(0,1,0)
OSLoader=sash
OSLoadFilename=unix
TimeZone=PST8PDT
console=g
oldConsolePath=/hw/module/1/slot/io1
gConsoleIn=/hw/module/1/slot/ioc5
gConsoleOut=/hw/module/1/slot/io3
diskless=0
nogfxkbd=1
scsihostid=00
ProbeAllScsi=n
RestorePartEnv=y
dbaud=9600
volume=80
sgilogo=y
netaddr=192.168.1.6
cpufreq=250
ConsolePath=/hw/module/1/slot/io1
ConsoleOut=/dev/tty/ioc30
ConsoleIn=/dev/tty/ioc30
the above reflect the following XIO configuration:
Code:
Select all
- SI Board in slot 3 (io3)
- Xtalk + CadDuo Pci in slot 5 (io5)
- whatever else installed on other slots
Notes about variable:
the variable that made all the success possible.. has been the "nogfxkbd 1" setting. yeah, crazy but true. we tried many settings.. many changes.. but nothing went out of the SI until we set that variable.
BE AWARE that since now you'll loose the serial (console) port since its going out on the graphics port (like when you boot a Octane, O2 or every workstation, the purple screen with the booting messages).
Note. to be able to access the Prom menu again you need to remove the SI board, then the following message will appear:
Code:
Select all
Installing Graphics Console...
Ignoring invalid gConsoleOut value: /hw/module/1/slot/io3
graphics install: searching for pipe 0
klgraphics: System has no GFX
no worries, this will go away when you'll re insert the SI Board, but now you have, as usual, the console port available with the regular Prom menu.
another note, since you dont have anymore access to the Prom menu (board installed again), you HAVE to set the Autoload variable, else you'll just have a nice looking airduster with a nice graphical menu that waits you to click or press the '1' button to start the system, but you wont be able to do that yet, the Cadduo doesnt work yet.
(note: even the Aux console doesnt work)
that said, we're ready to go on step 3 "Irix Tricks".. but, again, you must have the bove environments properly set, specially autoload, nogfxkbd and gconsole.
Irix part:
since ther's no system keyboard nor mouse, the system simply doesnt recognize any input devices and wont start xdm and the windoemenager.. but now.. you'll have the serial working again and the network (if prior configured), so just login on console (better, since we need to run setmon).
first thing we need to find our ports from the Cadduo board, for mouse and keyboard. those are listed with the command
and in my case they were:
Code:
Select all
/hw/module/1/slot/io5/xtalk_pci/pci/1/pckb
/hw/module/1/slot/io5/xtalk_pci/pci/1/pcms
so we need to link the /dev/input/mouse and keyboard properly.
note: I guess because this is now a "onyx2" like.. we got TWO /dev/input directories, /dev/input1 and /dev/input2 (correct me if I'm wrong on this), since the IOG6 of the Onyx2 have two keyb/mouse inputs.
so the commands to links our ports to the devices IRIX needs are:
Code:
Select all
ln -sf /hw/module/1/slot/io5/xtalk_pci/pci/1/pckb /dev/input1/keyboard
ln -sf /hw/module/1/slot/io5/xtalk_pci/pci/1/pcms /dev/input1/mouse
ln -sf /hw/module/1/slot/io5/xtalk_pci/pci/1/pckb /dev/input2/keyboard
ln -sf /hw/module/1/slot/io5/xtalk_pci/pci/1/pcms /dev/input2/mouse
it might work with /dev/input as well.. didnt tried yet.
then we need to tell the Xserver which inputs devices to use then.. since it cant find anything makes it happy.
/var/X11/xdm/Xservers should be looking like the following
Code:
Select all
:0 secure /usr/bin/X11/X -bs -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG red -cursorBG white -devdir /dev/input1
the bold text is what we need.
now we're ready to shake..
Code:
Select all
/usr/gfx/setmon -x 1280x1024_60; (/usr/gfx/stopgfx ; /usr/gfx/startgfx )&
watch the clogin panel appears.. the mouse moves and the keyboard types!
That's it.
many special Thanks goes to Dexter for starting this "project" with me and for keeping me encouraged during the tests, and to Grobarium for the latest, savefully tips about Irix, and everyone were in the channel posting tips, guesses or ideas. without those guys this would never been possibile
step 4 ... you dont need any howto :p
Cheers!