Probem on QNX4.25

Hi,
I had installed QNX4.25 on my PC104, the PC104 has 2 serial ports and 1
parralle port. I have set the corresponding commands like these:
Dev.ser -N/dev/ser1 …
Dev.ser -N/dev/ser2…
in /etc/config/sysinit.1 file.
But just ser1 is OK, it refuse set ser2. Why?
Additionally,How can I set a mouse driver under this case?

Help me . Thank you!!

Fang.

Do you have the interrupt number and address, i.e.,
Dev.ser -N/dev/ser2 2f8,3 &

Is the second serial port enabled (including interrupts) on your PC104 card?
Some of these cards require jumpers to be set.

“X.D. Fang” <xdfang@public.cc.jl.cn> wrote in message
news:9d0ccd$464$1@inn.qnx.com

Hi,
I had installed QNX4.25 on my PC104, the PC104 has 2 serial ports and 1
parralle port. I have set the corresponding commands like these:
Dev.ser -N/dev/ser1 …
Dev.ser -N/dev/ser2…
in /etc/config/sysinit.1 file.
But just ser1 is OK, it refuse set ser2. Why?
Additionally,How can I set a mouse driver under this case?

Help me . Thank you!!

Fang.

“X.D. Fang” wrote:

I had installed QNX4.25 on my PC104, the PC104 has 2 serial ports and 1
parralle port. I have set the corresponding commands like these:
Dev.ser -N/dev/ser1 …
Dev.ser -N/dev/ser2…

I’m not sure, what youe really want, but if you want all
serial devices to share the same stem name, just start
the Dev.ser once, e.g.

Dev.ser -Nser 3f8,4 2f8,3 &

If you want them to have different names, use something like

Dev.ser -Nser 3f8,4 &
Dev.ser -Nmouse 2f8,3 &

Your real device names will be /dev/ser1 and /dev/mouse1
in this case.

The Dev.par only handles one device and the name has to
be unique as well, but – as far as I remember – it doesn’t
automatically append a number to the name like Dev.ser

HTH,

Karsten.


| / | __ ) | Karsten.Hoffmann@mbs-software.de MBS-GmbH
| |/| | _ _
\ Phone : +49-2151-7294-38 Karsten Hoffmann
| | | | |
) |__) | Fax : +49-2151-7294-50 Roemerstrasse 15
|| ||// Mobile: +49-172-3812373 D-47809 Krefeld

This seems like a strange way to do things. Why not just
run Dev.ser as intended, as in:

Dev.ser Port1,Port1-IRQ Port2,Port2-IRQ

Dev.ser will automatically name these /dev/ser1 and /dev/ser2


Previously, X.D. Fang wrote in comp.os.qnx:

Hi,
I had installed QNX4.25 on my PC104, the PC104 has 2 serial ports and 1
parralle port. I have set the corresponding commands like these:
Dev.ser -N/dev/ser1 …
Dev.ser -N/dev/ser2…
in /etc/config/sysinit.1 file.
But just ser1 is OK, it refuse set ser2. Why?
Additionally,How can I set a mouse driver under this case?

Help me . Thank you!!

Fang.
\


Mitchell Schoenbrun --------- maschoen@pobox.com