Hi,
I’m trying to get phindows to connect to my QNX 4 ‘black box’ which has
been built from scratch by transfering ONLY the required files needed
for operation. My current ‘black box’ supports TCP/IP, ping, ftp, telenet,
PCMCIA network & flash, Disk-On-Chip, and serial PPP. Everything works
fine.
Now I need to hand transfer & setup photon to run on my ‘black box’ with
no video card or mouse or keyboard. I followed the guide found on qdn
at http://qdn.qnx.com/support/bok/solution.qnx?6453 but even though it
lists the supposed minimal files (I have added several more during
debugging) the ‘how’ is not layed out very well.
I have managed to get phrelay to respond to the phindows request but
phindows gives me:
Phindows - Accessing 192.168.0.103
Phindows - Waiting for phrelay on 192.168.0.103
Phindows - Rx Ready
Phindows - Rx Opened
Phindows - Preload Font Cache
Phindows - Preload Image Cache
Phindows - Send Connect
Phindows
Phindows - Connection Error 19
I think the problem is related to my crttrap file and the fact that it is
detecting
a:
vesabios.ms -i0x12;Pg.vga4 -HNqnx/crt -g640x480x4 -A0xA0000,0x10000 -WB80;#6
40,4
80,4,100,VGA 16 color
#!signature = D168E651
vesabios.ms -i0x12;Pg.vga4 -HNqnx/crt -g640x480x4 -A0xA0000,0x10000 -WB80;#6
40,4
80,4,100,VGA 16 color
even though it has no video card.
Shouldn’t there be a null type of setting I can use as my crttrap file?? I
would
think I could specify some ‘ghost’ super vga 1024x768x16 mode with normal
mouse
and keyboard without actually having the devices…
I can run ph by hand with debugging on and it gives me this:
ph -v -s
+ getopts n:svc opt -s -v
- test -z -a -z
- test ! -r /etc/config/trap/crt.1
- test ! /dev/photon -ef /dev/photon
- test root
- Photon
- test 0 -ne 0
- typeset -i i=0
- test ! /dev/photon -ef /dev/photon -a 0 -lt 5
- unset i
- test ! /dev/photon -ef /dev/photon
- test ! /dev/phfont -ef /dev/phfont
- phfont
- typeset -i i=0
- test ! /dev/phfont -ef /dev/phfont -a 0 -lt 5
- sleep 1
phfontphf: invalid font directory ‘//1/qnx4/photon/font’ - let i=i+1
- test ! /dev/phfont -ef /dev/phfont -a 1 -lt 5
- sleep 1
- let i=i+1
- test ! /dev/phfont -ef /dev/phfont -a 2 -lt 5
- sleep 1
- let i=i+1
- test ! /dev/phfont -ef /dev/phfont -a 3 -lt 5
- sleep 1
- let i=i+1
- test ! /dev/phfont -ef /dev/phfont -a 4 -lt 5
- sleep 1
- let i=i+1
- test ! /dev/phfont -ef /dev/phfont -a 5 -lt 5
- unset i
- test ! /dev/phfont -ef /dev/phfont
- print Unable to start font server
Unable to start font server - print Please confirm that Photon installed properly
Please confirm that Photon installed properly - unset USER_NAME
- exit 1
I created the /usr/photon/font like it said in the qdn but it
didn’t like it so I created the qnx4 folder and copied the
font files and this is what I get:
ph -v -s
-
getopts n:svc opt -v -s
-
let phsafe=1
-
PHWMSAFE=-n
-
getopts n:svc opt -v -s
-
test -z -a -z
-
test ! -r /etc/config/trap/crt.1
-
test ! /dev/photon -ef /dev/photon
-
test ! /dev/phfont -ef /dev/phfont
-
test
-
[ /dev/photon = /dev/photon ]
-
[ 1 = 0 ]
-
phin -TG -q
-
crttrap safe
-
phin -TK -q
-
test
-
test /dev/photon -ef /dev/photon
-
test root
-
export PHSTART=1
-
typeset+ -i phin i=0 -qPpwm
-
phin -TK -q
++ exec unset pwm i -n -
typeset -i i=0
-
phin -qPpwm
-
test 0 -lt 30
-
sleep 1
-
let i=i+1
-
phin -qPpwm
-
test 1 -lt 30
-
sleep 1
-
let i=i+1
-
phin -qPpwm
-
test 2 -lt 30
-
sleep 1
-
let i=i+1
-
phin -qPpwm
-
test 3 -lt 30
-
test 29 -lt 30
-
sleep 1
-
let i=i+1
-
phin -qPpdm
-
test 30 -lt 30
-
unset i
-
[ 0 != 0 ]
-
test -r /etc/config/trap/run.1
-
test -r /etc/config/trap/run.1
-
[ 1 = 0 ]
-
unset USER_NAME
-
exit 0+ sleep 1
My bottom line:
How do I install photon by HAND with no video/mouse/keyboard??
How do I get it to work with Phindows??
Thanks…
~ Lee R. Copp
~ Project Engineer (EE/ME)
~ Michigan Scientific Corp.
~ 321 East Huron St.
~ Milford, MI 48381
~ 248-685-3939 x109 (V), 248-684-5406 (Fx)
~ http://www.michiganscientific.com
~ mailto:<Lee.R.Copp@MichiganScientific.com>