shutup Net.arcnet/Net.arc20

Hi there,

Using Net.arcnet and Net.arc20 drivers I worry how to get them quiet if the
ARCnet hardware doesn’t exist in the computer.

We are trying to keep consistent sysinit files, so we start e.g. Net.arcnet
and then test if the driver keeps alive. Works fine if ARCnet card is in
place, but if it’s not the driver tells few diag messages; unfortunately the
QSSL programmers loved the function qnx_display_msg (I guess) so I can’t get
the message stripped by sending it to >*/dev/null.

Anything runs fine, it’s just the error messages disturbing our aesthetics
very much.

Any ideas ? (except patching the driver’s error strings to blank)

Thanks
/martin

Previously, Martin Koehler wrote in qdn.public.qnx4:

Hi there,

Using Net.arcnet and Net.arc20 drivers I worry how to get them quiet if the
ARCnet hardware doesn’t exist in the computer.

We are trying to keep consistent sysinit files, so we start e.g. Net.arcnet
and then test if the driver keeps alive. Works fine if ARCnet card is in
place, but if it’s not the driver tells few diag messages; unfortunately the
QSSL programmers loved the function qnx_display_msg (I guess) so I can’t get
the message stripped by sending it to >*/dev/null.

Anything runs fine, it’s just the error messages disturbing our aesthetics
very much.

Any ideas ? (except patching the driver’s error strings to blank)

How about running nettrap to see if the cards are there? If the cards are
not there, the driver won’t be started.

Thanks
/martin
\

Hugh Brown (613) 591-0931 ext. 209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8

nettrap won’t care for Net.arc20 (we need before Net.arcnet) and will start
Net.ether557 with a= instead of p= (when we tried last in 4.25C).
for most ethernet drivers this runs fine.

/martin

Hugh Brown <hsbrown@qnx.com> schrieb in im Newsbeitrag:
Voyager.000915133730.16950B@qnx.com

Previously, Martin Koehler wrote in qdn.public.qnx4:
Hi there,

Using Net.arcnet and Net.arc20 drivers I worry how to get them quiet if
the
ARCnet hardware doesn’t exist in the computer.

We are trying to keep consistent sysinit files, so we start e.g.
Net.arcnet
and then test if the driver keeps alive. Works fine if ARCnet card is in
place, but if it’s not the driver tells few diag messages; unfortunately
the
QSSL programmers loved the function qnx_display_msg (I guess) so I can’t
get
the message stripped by sending it to >*/dev/null.

Anything runs fine, it’s just the error messages disturbing our
aesthetics
very much.

Any ideas ? (except patching the driver’s error strings to blank)


How about running nettrap to see if the cards are there? If the cards are
not there, the driver won’t be started.

Thanks
/martin



\

Hugh Brown (613) 591-0931 ext. 209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: > hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8