From owner-freebsd-questions@FreeBSD.ORG Sun Sep 3 20:39:01 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 CD05A16A4DD for ; Sun, 3 Sep 2006 20:39:01 +0000 (UTC) (envelope-from backyard1454-bsd@yahoo.com) Received: from web83114.mail.mud.yahoo.com (web83114.mail.mud.yahoo.com [216.252.101.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 8FB4543D58 for ; Sun, 3 Sep 2006 20:39:00 +0000 (GMT) (envelope-from backyard1454-bsd@yahoo.com) Received: (qmail 98948 invoked by uid 60001); 3 Sep 2006 20:39:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uzOsB9ih5xVbCVQ6DMmViccah+JXfQbqSKWG9Wp6l/D8XJAPgaUbEpP6l6VO4F4JIITsWg7sXrEKpwjWhlDsEMW5vm2RBcOUNjeE1cJoR/kO8xL/lD2VxLaAGb9QWNUJ3m5FIFyEDFF7TK67KV9aMwjZhCgr9FfR7RZZmnySfow= ; Message-ID: <20060903203900.98946.qmail@web83114.mail.mud.yahoo.com> Received: from [75.17.32.58] by web83114.mail.mud.yahoo.com via HTTP; Sun, 03 Sep 2006 13:39:00 PDT Date: Sun, 3 Sep 2006 13:39:00 -0700 (PDT) From: backyard To: stan , ?????? ????? In-Reply-To: <20060903173516.GA27923@teddy.fas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Reply-To: backyard1454-bsd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 20:39:01 -0000 --- stan wrote: > 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) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > does your handmade device use RS-232? If its PIC or some such microcontroller based they claim to be RS-232 compliant but they do not always use +12V and -12V levels. MAX-232 chips can correct this. I assume if it worked in windows for you this might not the case, but you never know. -brian