Indy serial port login?
#1
Indy serial port login?
I'm running IRIX 5.3 and trying to log in to the serial port on my SGI Indy but I can't get it working. I'm using the following in my /etc/inittab:

t1:23:respawn:/sbin/getty ttyd1 co_9600             # alt console
t2:23:respawn:/sbin/getty -N ttyd2 co_9600          # port 2

The getty is spawned and prints to the serial port:

indy login:

But then nothing. It doesn't echo back any characters that I type. I can't log in. I have tried both ports with various serial terminals and with various baud/parity settings. I've also tried modifying settings in /etc/gettydefs as suggested in the man pages, but I just can't get it working. I have tried different parameters to getty, including the vt100 option.

Is there any suggestions on what else I could try? Is there a known bug with IRIX 5.3 or hardware issues with the Indy RS-232 ports?

I've included a photo of the output on my protocol analyser, showing that the getty does print the login prompt:

[Image: RQsNx5g.jpeg]
esm
O2

Trade Count: (0)
Posts: 5
Threads: 2
Joined: Jun 2022
Location: Scotland
Find Reply
07-16-2022, 10:07 PM
#2
RE: Indy serial port login?
I suspect your serial cable is busted or your settings are wrong.

Provide the baud rate and other parts of the serial configuration.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
07-16-2022, 10:52 PM
#3
RE: Indy serial port login?
(07-16-2022, 10:52 PM)Raion Wrote:  I suspect your serial cable is busted or your settings are wrong.

Provide the baud rate and other parts of the serial configuration.

I can't believe that I didn't think of that! I'm using my own homemade 8 pin mini-din to DE-9 cable. I will re-check the pinouts and wiring tomorrow and get back to you.
esm
O2

Trade Count: (0)
Posts: 5
Threads: 2
Joined: Jun 2022
Location: Scotland
Find Reply
07-17-2022, 12:34 AM
#4
RE: Indy serial port login?
I got it working. It turns out that the pin numbers on the connector that I'm using are in reverse! It was just by coincidence that the TXD was wired properly but not the RXD.

My next step is to hopefully get it working with my TI 700 teletype.
esm
O2

Trade Count: (0)
Posts: 5
Threads: 2
Joined: Jun 2022
Location: Scotland
Find Reply
07-17-2022, 02:30 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)