redirection of Proc32 to serial port

Hi,

I try to redirect Proc32 to serial port.
I use :

  1. Proc32 -o 3f8
  2. Dev.ser portspec 3f8,4
  3. tinit -t /dev/ser1


    When I put the standard I/O to /dev/con1 (reopen /dev/con1), it is working
    fine. I have a login prompt on the console, and the login prompt comes very
    quickly via the serial interface.

However, if I put the standard I/O to /dev/ser1 (reopen /dev/ser1), I have
a login prompt on the console, but the login prompt sometimes arrives after
a few time, sometimes never arrives via the serial interface (depending the
PC used)!

Of course, I would like to put the standard I/O to /dev/ser1 !

Has anybody got an idea what could be the problem??

Thank you for your help
Michele D

I have a couple of thoughts here.

MicheleD <Michele-d@ibelgique.com> wrote:
M > Hi,

M > I try to redirect Proc32 to serial port.
M > I use :

M > 1. Proc32 -o 3f8
M > 2. Dev.ser portspec 3f8,4
M > 3. tinit -t /dev/ser1

I don’t think you want to use Dev.ser if you are redirecting Proc32 to
0x3f8. I would think that they would interfere with each other.

M > When I put the standard I/O to /dev/con1 (reopen /dev/con1), it is working
M > fine. I have a login prompt on the console, and the login prompt comes very
M > quickly via the serial interface.

M > However, if I put the standard I/O to /dev/ser1 (reopen /dev/ser1), I have
M > a login prompt on the console, but the login prompt sometimes arrives after
M > a few time, sometimes never arrives via the serial interface (depending the
M > PC used)!

M > Of course, I would like to put the standard I/O to /dev/ser1 !

M > Has anybody got an idea what could be the problem??

In QNX4 the Login prompt usually comes from the ‘tinit’ line in the
sysinit file. When does that line get executed and what devices does
it control?

If your doing a reopen in sysinit and then launching ‘login’, there are
several downsides to that. Like as soon as login ends it won’t get
reloaded.

M > Thank you for your help
M > Michele D


Bill Caroselli – Q-TPS Consulting
qtps@earthlink.net