*BSD News Article 26722


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!sol.ctr.columbia.edu!caen!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [FreeBSD] Can't get 2nd serial port to work (tty01)
Date: 31 Jan 1994 04:57:30 GMT
Organization: Montana State University - Bozeman MT
Lines: 24
Message-ID: <2ii33q$1so@pdq.coe.montana.edu>
References: <CKGo56.G2F@well.sf.ca.us>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <CKGo56.G2F@well.sf.ca.us>,
Robert Dodson <rdodson@well.sf.ca.us> wrote:
>
>
>	With FreeBSD 1.0.2 I can't get /dev/tty01 to open. Tip,
>cu, kermit can't do it. Just a simple C program with:
>
>	open("/dev/tty01",O_RDWR);
>
>hangs forever.

I believe this is in the FAQ.

Before running your program, try 

# stty -f /dev/tty01 clocal


Nate
-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       |  Graduating May '94 with a BS in EE 
home #: (406) 586-0579       |  - looking for work in CS/EE field.