LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 05-31-2004, 09:21 PM   #1
cbr
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:

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

Code:
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

Code:
  cat /dev/ttyS0

with no effect, and
Code:
  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:

Code:
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, 10:55 PM   #2
cbr
LQ Newbie
 
Registered: May 2004
Location: /mnt/us/bos
Posts: 2

Original Poster
Rep: Reputation: 0
resolved.

I just needed to flip tx and rx.

cbr
 
  


Reply


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 11:23 PM
serial terminal console Alfexy Slackware 4 10-22-2004 08:15 PM
serial port terminal lectraplayer Linux - Newbie 15 02-21-2004 11:51 PM
vt100/vt400 Terminal Emulation WITH ssh toadmaster Linux - Software 3 10-07-2003 02:21 PM
Terminal on serial port sourceman Linux - General 0 08-06-2002 05:21 AM


All times are GMT -5. The time now is 05:06 AM.

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