Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 05-31-2004, 08:21 PM   #1
LQ Newbie
Registered: May 2004
Location: /mnt/us/bos
Posts: 2

Rep: Reputation: 0
vt100-compatible serial terminal

I am trying to set up a VT-100 compatible terminal to connect to a g2 host on /dev/ttyS0. The terminal can be set to several different baud rates and charcter formats (8-bit and 7-bit sizes, even, none, and odd parities for each). The cable I am using is a Belkin Serial Modem ( DB25 -> DB9) cable, and I tested the pins with an ohmmeter, and they seem to be correct. I've set up agetty in /etc/inittab as:

S0:23:respawn:/sbin/agetty -hL 9600 ttyS0 vt100
I've also tried:

S0:23:respawn:/sbin/agetty -L 9600 ttyS0 vt100
S0:23:respawn:/sbin/agetty -h 9600 ttyS0 vt100
S0:23:respawn:/sbin/agetty 9600 ttyS0 vt100
and none of these worked. By worked, what I mean is nothing showed up on the screen (pressing enter or other keys does nothing) unless I turned on local echo, in which case characters appeared when I typed them, but the linux box did nothing.

I've also tried

  cat /dev/ttyS0

with no effect, and
  echo "Hello World" > tmp.txt
  cp tmp.txt /dev/ttyS0      # nothing
  cat tmp.txt > /dev/ttyS0  # nothing
and nothing showed up on the screen.

I measured voltages on the terminal, and found:

pin | voltage
TxD  -
RxD  null
RTS  +
CTS  null
DSR  null
GND  null
DCD  null
DTR  +
RI   null
I tried minicom, with still no results, but found that if I attached TxD and Rxd (transmit and recieve) on either the terminal or the host it would echo.

I have both the terminal and the host set on 9600 baud 8-N-1. Any ideas?

- cbr
Old 05-31-2004, 09:55 PM   #2
LQ Newbie
Registered: May 2004
Location: /mnt/us/bos
Posts: 2

Original Poster
Rep: Reputation: 0

I just needed to flip tx and rx.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use minicom as serial terminal (no modem) jdupre Linux - Software 1 02-17-2012 10:23 PM
serial terminal console Alfexy Slackware 4 10-22-2004 07:15 PM
serial port terminal lectraplayer Linux - Newbie 15 02-21-2004 10:51 PM
vt100/vt400 Terminal Emulation WITH ssh toadmaster Linux - Software 3 10-07-2003 01:21 PM
Terminal on serial port sourceman Linux - General 0 08-06-2002 04:21 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration