From owner-freebsd-questions@FreeBSD.ORG Sun Sep 3 17:35:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D048616A5A0 for ; Sun, 3 Sep 2006 17:35:21 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5295E43D45 for ; Sun, 3 Sep 2006 17:35:21 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail1.panix.com (Postfix) with ESMTP id 9921158823; Sun, 3 Sep 2006 13:35:16 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id DB5A11083BC5; Sun, 3 Sep 2006 13:35:16 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GJvsK-0007JP-00; Sun, 03 Sep 2006 13:35:16 -0400 Date: Sun, 3 Sep 2006 13:35:16 -0400 From: stan To: ?????? ????? Message-ID: <20060903173516.GA27923@teddy.fas.com> Mail-Followup-To: ?????? ????? , freebsd-questions@freebsd.org References: <200609032326.05071.bug2bug@bug2bug.tk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609032326.05071.bug2bug@bug2bug.tk> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 13:29:38 up 139 days, 14:34, 1 user, load average: 0.01, 0.05, 0.02 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: A question about programming RS-232 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 17:35:21 -0000 On Sun, Sep 03, 2006 at 11:26:04PM +0600, ?????? ????? wrote: > Hello. > I have a question I can't deal myself. > And nobody can help me in resolving my problem. > > Problem: > I have a hand-made device, I want to control from FreeBSD 6.1 > (I am porting this application from Windows equivalent). > But I don't know, in what device /dev/ I should write to get reults. > I tryed to write bytes into /dev/ttyd0, /dev/cuad0, but got nothing. :( > Start off by using minicom (or cu) to talk to the device. By doing this you can sort through baud rate/parity,hardware issues. Once you have that working, then move on to code. -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)