Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 1999 13:51:15 +0400 (MSD)
From:      "Pavel V. Antipov" <pavel@ikar.elect.ru>
To:        Terence Chan <kachan@startv.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: where is /dev/ttyS0
Message-ID:  <Pine.BSF.3.96.990417135014.26784B-100000@ikar.elect.ru>
In-Reply-To: <37182886.6b41.0@startv.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 17 Apr 1999, Terence Chan wrote:

> Hi, 
> 
> I have a linux binary which will access to the serial port of the PC to collect
> data, and in the Red Hat linux box, I refer to the serial port as /dev/ttyS0.
> 
> 
> However, I am planning to implement the same system on FreeBSD, and I have managed
> to get the binary running. Unfortunately, I wasn't be able to locate the correct
> /dev file to access the serial ports.
> 
> I have tried the followings:
> /dev/ttyd0
> /dev/cuaa0
> 
> None of them work for me. 
> 
> What is the problem? Is that the binary wasn't be able to read the com port??
> or I have referred to the wrong device?
> 
> Pls Advise. 
> 
> Many Thanks.
> -=Terence=-
> http://www.startv.com
I think you have wrong permissions for files /dev/cuaa0 etc
please check them




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990417135014.26784B-100000>