I’m a confused by the existence of two input.node files, one in /etc/config/bin and
one in …/trap/
I’ve modified both to contain only the microtch driver. The one in …/bin is invoked
explicitly from ph.node
which is …/bin. I am inserting each of the files here for your inspection.
The symptoms for the configuration shown are a boot to the ‘Gray’ screen with the QNX
button bar, with the system going effectivly dead. The touch screen doesn’t work,
and it doesn’t matter if the keyboard is plugged in or not. The pointer appears in
the upper left hand corner of the screen.
The PC running the test setup is a dual boot setup where the filesystem is contained
within a DOS partition (hd0.1t6…)
==============================================================
/etc/config/sysinit.3:
#Image: /boot/sys/boot -v
#Image: /boot/sys/Proc32 -l 3
#Image: /boot/sys/Slib32
#Image: /boot/sys/Slib16
#Image: /bin/Fsys
#Image: /bin/Fsys.eide fsys -Ndsk0 -n0=hd0. -n5=cd0. eide -a1f0 -i14
#Image: /bin/mount -p /dev/hd0.1 /dev/hd0.1t6.77 /
#Image: /bin/mountimg -t6.77 /dev/hd0.1t6:fsys1.qnx
#Image: /bin/sinit TERM=qnxm
#export NODE=3
export KBD=en_US_101.kbd
export ABLANG=en
export CON_KBD=USA
export TZ=est05edt04,M4.1.0/2,M10.5.0/2
export LOGNAME=root
/bin/rtc -l hw
Dev &
emu87 &
Pipe &
/bin/Dev.ser -N/dev/ser1 3f8,4 &
Dev.ansi -Q -n1 &
reopen /dev/con1
kbd $CON_KBD
prefix -A /dev/console=/dev/con1
Dev.par &
Dev.pty -n16 &
/bin/mount -p /dev/hd0.0
/bin/Fsys.eide fsys -Ndsk1 -n0=hd1. -n5=cd1. eide -a170 -i15
/bin/Fsys.floppy -a3f0 -i6
/bin/Iso9660fsys /cd1.0=/dev/cd1.0 &
Define the default CD Rom
/bin/prefix -A /cd=//0/cd1.0
/bin/Net &
/bin/Net.tulip -l1 -pfc80 -i10 &
netmap -f
nameloc &
chkfsys /
Dosfsys a=/dev/fd0 c=/dev/hd0.1t6 &
if test -f /etc/config/bin/tcpip.$NODE
then
… /etc/config/bin/tcpip.$NODE
fi
#ph
if test -f /etc/config/bin/ph.$NODE
then
… /etc/config/bin/ph.$NODE
else
tinit -t /dev/con1 &
fi
=========================================
/etc/config/bin/Input.3 (Note Captial I)
Input microtch fd -d/dev/ser1 &
=========================================
/etc/config/bin/ph.3
\
setup standard environment variables
export PHOTON=/dev/photon
export PHOTON_PATH=/qnx4/photon
export PATH=$PATH:/qnx4/photon/bin:/qnx4/bin/photon
export PHFONT=/dev/phfont
export ABLPATH=/qnx4/photon/translations
export PHEXIT_DISABLE=phshutdown
if test ! -r /etc/config/trap/crt.$NODE ; then
print “Running crttrap, please wait…”
crttrap trap
let didcrttrap=1
fi
Photon -l"phlogin -Uroot" -g -s &
phfont &
crttrap start
if test -f /etc/config/bin/Input.$NODE
then
… /etc/config/bin/Input.$NODE
else
inputtrap start
fi
typeset -i i=0
while test ! $PHOTON -ef $PHOTON -a $i -lt 5; do
sleep 1
let i=i+1
done
unset i
phlogin will start up on the desktop at boot time.
Once logged in, the system will automatically bring up
the rest of the system using the standard “ph” script
exit 0
=========================================================
/etc/config/trap/crt.3
s3bios.ms -i0x114 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3dc
-HNqnx/crt -g800x600x16 -A0xA0000,0x10000 -WB1600 -WM0x0009,5,0,7,0x00100000
-cSW;#800,600,16,200,1DVRB,s3dc - S3 Trio 64 (S3 Incorporated. Trio64)
s3bios.ms -i0x101 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3
-HNqnx/crt -g640x480x8 -A0xA0000,0x10000 -WB640
-WM0x0009,5,0,7,0x00100000;#640,480,8,200,1CDVRB,s3 - S3 Trio 64 (S3 Incorporated.
Trio64)
vesabios.ms -i0x6;Pg.mono -HNqnx/crt -g640x200x1 -WM0x2000,2 -A0xB8000,0x8000 -WB80
-WV100000;#640,200,1,100,1DV,mono - Monochrome graphics
vesabios.ms -i0xF;Pg.mono -HNqnx/crt -g640x350x1 -A0xA0000,0x10000 -WB80
-WV100000;#640,350,1,100,1DV,mono - Monochrome graphics
vesabios.ms -i0x11;Pg.mono -HNqnx/crt -g640x480x1 -A0xA0000,0x10000 -WB80
-WV100000;#640,480,1,100,1DV,mono - Monochrome graphics
vesabios.ms -i0x13;Pg.svga -HNqnx/crt -g320x200x8 -A0xA0000,0x10000 -WB320
-WV100000;#320,200,8,100,1DV,svga - SVGA 256 color
vesabios.ms -i0x101;Pg.svga -HNqnx/crt -g640x480x8 -A0xA0000,0x10000 -WB640 -WV100000
-WG0x10000;#640,480,8,25,1DV,svga - SVGA 256 color
vesabios.ms -i0x103;Pg.svga -HNqnx/crt -g800x600x8 -A0xA0000,0x10000 -WB800 -WV100000
-WG0x10000;#800,600,8,25,1DV,svga - SVGA 256 color
vesabios.ms -i0x105;Pg.svga -HNqnx/crt -g1024x768x8 -A0xA0000,0x10000 -WB1024
-WV100000 -WG0x10000;#1024,768,8,25,1DV,svga - SVGA 256 color
vesabios.ms -i0xD;Pg.vga4 -HNqnx/crt -g320x200x4 -A0xA0000,0x10000
-WB40;#320,200,4,100,1DV,vga4 - VGA 16 color
vesabios.ms -i0xF;Pg.mono -HNqnx/crt -g640x350x1 -A0xA0000,0x10000 -WB80
-WV100000;#640,350,1,100,1DV,mono - Monochrome graphics
vesabios.ms -i0x10;Pg.vga4 -HNqnx/crt -g640x350x4 -A0xA0000,0x10000
-WB80;#640,350,4,100,1DV,vga4 - VGA 16 color
vesabios.ms -i0x11;Pg.mono -HNqnx/crt -g640x480x1 -A0xA0000,0x10000 -WB80
-WV100000;#640,480,1,100,1DV,mono - Monochrome graphics
vesabios.ms -i0x12;Pg.vga4 -HNqnx/crt -g640x480x4 -A0xA0000,0x10000
-WB80;#640,480,4,100,1DV,vga4 - VGA 16 color
vesabios.ms -i0x13;Pg.svga -HNqnx/crt -g320x200x8 -A0xA0000,0x10000
-WB320;#320,200,8,100,1DV,svga - VGA 256 color
Card 1, Bus 0, Dev/Func 40
Hydra.ms -S -i0x101 -s0x0000,0x0040 -cnone -nnone -r;Pg.flat -g640x480x8
-A0xF8000000,0x100000 -WB640;#640,480,8,100,1,flat - SVGA 256 color
Hydra.ms -S -i0x103 -s0x0000,0x0040 -r;Pg.flat -HC0x00000040 -PX -HNqnx/crt
-g800x600x8 -A0xF8000000,0x100000 -WB800;#800,600,8,100,1,flat - SVGA 256 color
Hydra.ms -S -i0x105 -s0x0000,0x0040 -r;Pg.flat -HC0x00000040 -PX -HNqnx/crt
-g1024x768x8 -A0xF8000000,0x100000 -WB1024;#1024,768,8,100,1,flat - SVGA 256 color
Hydra.ms -S -i0x110 -s0x0000,0x0040 -r;Pg.flatdc -HC0x00000040 -PX -HNqnx/crt
-g640x480x15 -A0xF8000000,0x100000 -WB1280;#640,480,15,100,1,flatdc - VGA hi-color
Hydra.ms -S -i0x111 -s0x0000,0x0040 -r;Pg.flatdc -HC0x00000040 -PX -HNqnx/crt
-g640x480x16 -A0xF8000000,0x100000 -WB1280;#640,480,16,100,1,flatdc - VGA hi-color
Hydra.ms -S -i0x113 -s0x0000,0x0040 -r;Pg.flatdc -HC0x00000040 -PX -HNqnx/crt
-g800x600x15 -A0xF8000000,0x100000 -WB1600;#800,600,15,100,1,flatdc - VGA hi-color
Hydra.ms -S -i0x114 -s0x0000,0x0040 -r;Pg.flatdc -HC0x00000040 -PX -HNqnx/crt
-g800x600x16 -A0xF8000000,0x100000 -WB1600;#800,600,16,100,1,flatdc - VGA hi-color
s3bios.ms -i0x101 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3
-HNqnx/crt -g640x480x8 -A0xA0000,0x10000 -WB640
-WM0x0009,5,0,7,0x00100000;#640,480,8,200,1CDVRB,s3 - S3 Trio 64 (S3 Incorporated.
Trio64)
s3bios.ms -i0x103 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3
-HNqnx/crt -g800x600x8 -A0xA0000,0x10000 -WB800
-WM0x0009,5,0,7,0x00100000;#800,600,8,200,1CDVRB,s3 - S3 Trio 64 (S3 Incorporated.
Trio64)
s3bios.ms -i0x105 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3
-HNqnx/crt -g1024x768x8 -A0xA0000,0x10000 -WB1024
-WM0x0009,5,0,7,0x00100000;#1024,768,8,200,1CDVRB,s3 - S3 Trio 64 (S3 Incorporated.
Trio64)
s3bios.ms -i0x110 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3dc
-HNqnx/crt -g640x480x15 -A0xA0000,0x10000 -WB1280 -WM0x0009,5,0,7,0x00100000
-cSW;#640,480,15,200,1CDVRB,s3dc - S3 Trio 64 (S3 Incorporated. Trio64)
s3bios.ms -i0x111 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3dc
-HNqnx/crt -g640x480x16 -A0xA0000,0x10000 -WB1280 -WM0x0009,5,0,7,0x00100000
-cSW;#640,480,16,200,1DVRB,s3dc - S3 Trio 64 (S3 Incorporated. Trio64)
s3bios.ms -i0x113 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3dc
-HNqnx/crt -g800x600x15 -A0xA0000,0x10000 -WB1600 -WM0x0009,5,0,7,0x00100000
-cSW;#800,600,15,200,1CDVRB,s3dc - S3 Trio 64 (S3 Incorporated. Trio64)
s3bios.ms -i0x114 -A0x000A0000 -S0x00010000 -M0x0009,5,0,7,0x00100000 -RL;Pg.s3dc
-HNqnx/crt -g800x600x16 -A0xA0000,0x10000 -WB1600 -WM0x0009,5,0,7,0x00100000
-cSW;#800,600,16,200,1DVRB,s3dc - S3 Trio 64 (S3 Incorporated. Trio64)
#!signature = 6575BF41
=======================================================================
/etc/config/trap/input.3 (Note lowercase ‘i’)
microtch fd -d/dev/ser1
=======================================================================
Alex wrote:
“Walter R. Greene” wrote:
Actually, I meant blank as in no active video at all. The pointer cursor is
present but nothing else.
This occurred while I still had Keyboard and Mouse plugged in along with the
touch screen.
Ugh. Sounds like this is going backwards > 
Sounds like Input is running, the modeswitcher ran or is still running,
but the graphics driver is not running.
In the default sysinit.node file there was a test and invocation for the
ph.node file. I took this out and
put in the script reference: ‘ph’ as this was described in the help system
(Nothing about ph.node however :< ). The results I got seemed to work as
desired when the keyboard and mouse were installed, but when they were removed,
I got the gray screen with the QNX button bar. However, the touch screen
didn’t work in this configuration.
Just to keep an eye on the objective, I need to boot into Photon without a
login using a touchscreen as the only connected input device.
This would be normal mode. When servicing is required, a keyboard and mouse
may need to be connected.
I’m running in this exact configuration, so it is possible.
(touch screen, no keyboard).
It is beginning to sound like there’s a hardware clash,
or an inconsistency between the hardware and the params supplied
to Input.
Maybe you should post the sysinit.node file, and
/etc/config/trap/crt.node file and /etc/config
/trap/Input.node files.
I would remove the mouse first, but keep the keyboard,
then re-run inputtrap to create a new Input.node file.
Try it in that config with and without the keyboard.
Could be the mouse & touch params to Input are clashing.
You may have to compile your own Input.node file to
make the mouse & touch work together.
I would get a “sin” and “sin ar” (from a text console via a
serial port or telnet or QNX networking) while this is happening,
and in the various configurations you mentioned.
This will give a picture of what’s running and what’s not.