From owner-freebsd-questions Tue Apr 3 4:23:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.realtime.co.uk [194.205.134.131]) by hub.freebsd.org (Postfix) with ESMTP id DAF7437B71B for ; Tue, 3 Apr 2001 04:23:51 -0700 (PDT) (envelope-from waynep@zaphod.realtime.co.uk) Received: from zaphod.realtime.co.uk ([194.205.134.208]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 14kOuX-0003tu-01; Tue, 03 Apr 2001 12:23:45 +0100 Received: from waynep by zaphod.realtime.co.uk with local (Exim 3.20 #1) id 14kOua-000BCn-00; Tue, 03 Apr 2001 12:23:48 +0100 From: Wayne Pascoe To: david@angra.uac.pt Cc: freebsd-questions@FreeBSD.org Subject: Re: working with the serial port References: <01040311155301.05598@david> Reply-To: wayne.pascoe@realtime.co.uk Date: 03 Apr 2001 12:23:48 +0100 In-Reply-To: <01040311155301.05598@david> Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David writes: > Hello! I was working with Mandrake but after finding some bugs in > the operating system, I decided to move to freeBSD. I'm programming > communications via RS-232 serial port. I'm using the same source > code (except the change ttyS0 <-> cuaa0) that I was using with > Mandrake but now I can't read from the serial port ... I can write, > though... Is ther any other change I have to the in my source in > order to be able to read from the port? I'm sending my source code > for the case someone can help ... Cheers David I don't know if this has anything to do with your problem, but there are several different devices with several different purposes. cuaa is the callout device. You might want to look at ttyd0 ? -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 Mobile: +44 (0) 788 431 1675 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message