*BSD News Article 75299


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!news.PBI.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!news.artisoft.com!usenet
From: Terry Lambert <terry@lambert.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Serial Speeds
Date: Fri, 02 Aug 1996 11:31:17 -0700
Organization: Me
Lines: 22
Message-ID: <32024975.72BC383F@lambert.org>
References: <4tsetb$1cf@esel.cosy.sbg.ac.at>
NNTP-Posting-Host: hecate.artisoft.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (X11; I; Linux 1.1.76 i486)

Peter Burgstaller wrote:
] does anybody know why I cannot set my 2nd serial device to
] 2400 bps speed?
] I used
] stty -f /dev/ttyd1 2400
] but it doesnt work

...
opens /dev/ttyd1
ioctls /dev/ttyd1
closes /dev/ttyd1 <--- port resets to /etc/rc.serial defaults


It works, you're just trying to do something that's impossible:
have the device not reset when no one has it open.


                                        Terry Lambert
                                        terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.