From owner-freebsd-small Mon May 22 9:50:36 2000 Delivered-To: freebsd-small@freebsd.org Received: from lepton.subatomix.com (okc-224-168.mmcable.com [24.94.224.168]) by hub.freebsd.org (Postfix) with ESMTP id C642037BABC; Mon, 22 May 2000 09:50:30 -0700 (PDT) (envelope-from jss@lepton.subatomix.com) Received: from localhost (jss@localhost) by lepton.subatomix.com (8.9.3/8.9.3) with ESMTP id LAA11937; Mon, 22 May 2000 11:54:36 -0500 (CDT) (envelope-from jss@lepton.subatomix.com) Date: Mon, 22 May 2000 11:54:36 -0500 (CDT) From: "Jeffrey S. Sharp" To: Mike Smith Cc: freebsd-small Subject: [PATCH] Re: (Probably a) dumb question In-Reply-To: <200005192027.NAA09688@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 May 2000, Mike Smith wrote: > > Please read my initial response to you on this topic, and note CAREFULLY > the syntax of this option. LINT is incorrect (and I'll fix that in a > second). Not only was LINT incorrect, but /usr/src/sys/kern/vfs_conf.c fails to include the header for option ROOTDEVNAME. ROOTDEVNAME is never getting #defined, so the code is always preprocessed out. Thus: --- vfs_conf.c Thu Feb 17 17:32:08 2000 +++ vfs_conf.c Mon May 22 11:07:37 2000 @@ -41,8 +41,10 @@ * to locate its physical store * */ +#include "opt_rootdevname.h" + #include #include #include #include =============================== Jeffrey S. Sharp (XorAxAx) jss@subatomix.com -----BEGIN GEEK CODE BLOCK----- Version 3.12 GCS/IT/MU d-@ s-:+ a21 C++(++++) UBL+(+++$)> P L+(+++$)> E+> W++ N+(++) o? K? w++$> !O M(-) !V PS+ PE Y PGP- t+ 5 X+ R(+) tv+ b+ DI++(+++) G++ e> h--- r+++ y+++ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed May 24 10:12:21 2000 Delivered-To: freebsd-small@freebsd.org Received: from mail.rdc2.bc.home.com (ha1.rdc2.bc.wave.home.com [24.2.10.68]) by hub.freebsd.org (Postfix) with ESMTP id 06DE637BD11 for ; Wed, 24 May 2000 10:12:19 -0700 (PDT) (envelope-from stephenevans@home.com) Received: from home.com ([24.113.1.65]) by mail.rdc2.bc.home.com (InterMail vM.4.01.02.17 201-229-119) with ESMTP id <20000524171218.BZY3925.mail.rdc2.bc.home.com@home.com> for ; Wed, 24 May 2000 10:12:18 -0700 Message-ID: <392C0D72.6A8B5FCC@home.com> Date: Wed, 24 May 2000 10:12:18 -0700 From: "Stephen J. Evans" X-Mailer: Mozilla 4.73 [en] (Win98; I) X-Accept-Language: en,ja MIME-Version: 1.0 To: freebsd-small@freebsd.org Subject: (no subject) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed May 24 12:20:43 2000 Delivered-To: freebsd-small@freebsd.org Received: from hindenburg.eboai.org (hindenburg.eboai.org [205.181.254.190]) by hub.freebsd.org (Postfix) with ESMTP id 5DF0037BD57 for ; Wed, 24 May 2000 12:20:39 -0700 (PDT) (envelope-from chip@chocobo.cx) Received: by hindenburg.eboai.org (Postfix, from userid 1000) id BBAE73D5C; Wed, 24 May 2000 15:20:36 -0400 (EDT) Date: Wed, 24 May 2000 15:20:36 -0400 From: Chip Marshall To: freebsd-small@freebsd.org Subject: Flipping RTS on a serial port Message-ID: <20000524152036.A40893@setzer.chocobo.cx> Reply-To: chip@chocobo.cx Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.4i X-URL: http://www.chocobo.cx/chip/ X-OS: FreeBSD 3.4-RELEASE i386 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, I finally figured out what was wrong with my RS-485 communications problem. As it turns out, when my program opens the serial port and send out some data, the RS-485 port gets stuck into send mode, which causes all the other devices on the port to wait until it stops before sending their responces. Anyway, apparently to correct this behavior I need to force the flip the RTS bit in the handshake control register of the serial port. The problem is that I have no clue how to go about doing this. I tried setting crtscts on the serial port, but this just causes my program to lock when it tries to write (I think the CTS bit never goes high). Anyone know how I can do this either from the command line or in perl? -- Chip Marshall http://www.chocobo.cx/chip/ Finger for PGP GCM/CS d+(-) s+:++ a18>? C++ UB++++$ P+++$ L- E--- W++ N+@ o K- w O M+ V-- PS PE Y? PGP++ t+@ 5 X R>+ tv+() b++>+++ DI++++ D(-) G++ e>++ h!>++ r-- y- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed May 24 12:29:27 2000 Delivered-To: freebsd-small@freebsd.org Received: from mcnet.marietta.edu (mcnet.marietta.edu [199.218.109.2]) by hub.freebsd.org (Postfix) with ESMTP id 9D31737BD75 for ; Wed, 24 May 2000 12:29:22 -0700 (PDT) (envelope-from browne@marietta.edu) Received: from thug ([199.218.109.237]) by mcnet.marietta.edu (8.9.1a/8.9.1) with SMTP id PAA22541 for ; Wed, 24 May 2000 15:29:21 -0400 (EDT) Message-ID: <000701bfc5cf$df096420$0207211f@thug> From: "Nick Brown" To: Subject: Date: Wed, 24 May 2000 15:31:56 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe freebsd-small To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri May 26 18:26:10 2000 Delivered-To: freebsd-small@freebsd.org Received: from lepton.subatomix.com (okc-94-224-168.mmcable.com [24.94.224.168]) by hub.freebsd.org (Postfix) with ESMTP id E486437B87E for ; Fri, 26 May 2000 18:26:05 -0700 (PDT) (envelope-from jss@lepton.subatomix.com) Received: from localhost (jss@localhost) by lepton.subatomix.com (8.9.3/8.9.3) with ESMTP id UAA04060 for ; Fri, 26 May 2000 20:25:21 -0500 (CDT) (envelope-from jss@lepton.subatomix.com) Date: Fri, 26 May 2000 20:25:15 -0500 (CDT) From: "Jeffrey S. Sharp" To: freebsd-small Subject: TinyBSD Development Kit 0.1 "released" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG All right, here goes... I've been working on the TinyBSD Development Kit for some time now, and it's time for a beta release, for better or worse. I haven't had enough time lately to make good documentation or enough examples, but I'm working on it. One config command has yet to be implemented and there isn't a lot of error-checking, but 99% of the core functionality is there. Included is a sample configuration that builds an 8MB DiskOnChip image that I have actually built successfully and booted from. I'm calling this 0.1. It's pretty rough, so don't get your hopes up too high. I hope this is enough for everyone to evaluate the ideas that I'm trying to promote and say "Yeah, keep going" or "It sucks, stop now". I have put up a quick-and-dirty download page at: http://faculty-staff.ou.edu/S/Jeffrey.S.Sharp-1/ Just in case it's really, really bad, try not to laugh at me too much; this is my first try at the releasing-open-source-software thing. As always, thanks to the entire list for all help given to me. =============================== Jeffrey S. Sharp (XorAxAx) jss@subatomix.com -----BEGIN GEEK CODE BLOCK----- Version 3.12 GCS/IT/MU d-@ s-:+ a21 C++(++++) UBL+(+++$)> P L+(+++$)> E+> W++ N+(++) o? K? w++$> !O M(-) !V PS+ PE Y PGP- t+ 5 X+ R(+) tv+ b+ DI++(+++) G++ e> h--- r+++ y+++ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message