RE: ONYX2 Serial Port Question

New Message Reply Date view Thread view Subject view Author view

Gamble, Murray - Kan AV HFE (gamblem++at++kan.marconi.ca)
Wed, 29 Sep 1999 13:28:00 -0700 (PDT)


Hi Mark,

Thank you for your suggestions. I have checked the serial device manager
on both the ONYX2 and the Octane and there are no devices configured on
any of the ports. I am using the serial ports in the simplest manner
possible. That is I'm using "open, read, write and close" commands to
send/receive data from the serial ports. As I stated in my original
post, ports 1 & 2 on our ONYX2 work fine, ports 3 & 4 on the ONYX2 do
not. With that in mind, I don't think that it is a problem with the
termio structure.

Any other ideas?

Thanks again,

Murray.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Murray G. Gamble, B.Eng
Human Factors Engineering - Aerospace
Marconi Canada
Kanata, Ontario, CANADA

 -----Original Message-----
From: aubin [SMTP:aubin++at++mustang.engr.sgi.com]
Sent: 29-Sep-99 9:53 AM
To: Gamble, Murray - Kan AV HFE; info-performer
Subject: Re: ONYX2 Serial Port Question

Hi Murray,

You might want to check the System Manager/Serial Device Manager
and make sure that you don't have any devices added. If they are,
X will try to initialize them, send them events, and query them.
This is outside of the /etc/inittab control.

Also, how do you talk to the various ports? Do you have to re-compile
your software? If so, you might be using the wrong termio structure.
This has changed with IRIX 6.x. Older binaries still work, since they
use the original structure, but any new compile uses the new structure,
and your code will need to be updated to set it properly.
See the termio man page for more info.

 --Mark Aubin
  aubin++at++sgi.com

On Sep 29, 12:11pm, Gamble, Murray - Kan AV HFE wrote:
> Subject: ONYX2 Serial Port Question
>
> Hi All,
>
> I hate to send serial port questions to this group, but the scope of
> knowledge represented by the subscribers is just too darn attractive to
> ignore.
>
> Anyways, here's my problem. We have a nice new shiny ONYX2 box in our
> lab :-) and are trying to drive several serial devices from the four
> serial ports. We are using well known serial devices that have a
hsitory
> of behaving well but are experiencing an inconsistency between the four
> ports. The devices work properly when attached to /dev/ttyd1 and
> /dev/ttyd2 but display garbage when connected to /dev/ttyd3 or
> /dev/ttyd4. I have checked the "/etc/inittab" file and all four ports
> are configured identically (well, actually port 1 is configured as a
> console, but with respawn turned "off" - and it works, so I won't
> complain). In addition, we have tried connecting the same devices to
an
> Octane (which, upon examination of the "/etc/inittab" file has the same
> settings as the ONYX2) and they don't work there either! I get the
same
> gobbledy-gook on ports 1 & 2 on the Octane as I do on ports 3 &4 on the
> ONYX2.
>
> Ultimately, we would like to drive these devices from an Octane, but
have
> been using the ONYX2, since ports 1 & 2 seem to give us the only
workable
> option thus far.
>
> Any and all help is greatly appreciated,
>
> Thanks,
>
> Murray.
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Murray G. Gamble, B.Eng
> Human Factors Engineering - Aerospace
> Marconi Canada
> Kanata, Ontario, CANADA


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Sep 29 1999 - 10:34:30 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.