Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 09:50:26 GMT
From:      "Julien Gabel" <jpeg@thilelli.net>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/85355: [patch] Error in the pin numbers of the described  connector in the Handbook (serial).
Message-ID:  <200508300950.j7U9oQ2H002727@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/85355; it has been noted by GNATS.

From: "Julien Gabel" <jpeg@thilelli.net>
To: "Gary W. Swearingen" <garys@opusnet.com>
Cc: "Yar Tikhiy" <yar@comp.chem.msu.su>,
 bug-followup@FreeBSD.org
Subject: Re: docs/85355: [patch] Error in the pin numbers of the described 
     connector in the Handbook (serial).
Date: Tue, 30 Aug 2005 11:48:35 +0200 (CEST)

 ------=_20050830114835_68297
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit
 
 >> It might be reasonable to tell that in general, a null-modem cable
 >> is for connecting a DTE directly to another DTE.  AFAIK, null-modem
 >> cables can be constructed for synchronous comms, too.  Then, the
 >> topic can be narrowed down to async comms.
 
 > I doubt if Julien wants to do more rewrites on the section.  But I
 > can't resist replying anyway; maybe Yar wants to rewrite it later.
 
 In fact i don't really want to do a rewrite of this particular section,
 especially since i don't have a _good_ knowledge on this topic.  The
 purpose of the initial PR was to correct what seems to be an error in
 the proposed table (and eventually a pointer to more information), based
 on a very recent experience to get a trace after a panic via a serial
 console... and so a null-modem cable.
 
 > It probably should have some of the cable stuff from the "Serial
 > Ports" section which says that a null-modem is AKA DTE-to-DTE cable
 > and what DTE is, eg, a computer.  And terminals traditionally have
 > included teletypes and printers. (Once there were no CRTs or LCDs.)
 
 >> To me, www.hardwarebook.net doen't seem the definite resource.
 >> IMHO, if the topic is rather wide, the reader should better be
 >> hinted to do a (re)search on the Net instead of pointed to a single
 >> resource, which is likely to become incomplete, outdated, or down.
 
 > I was thinking the same things.
 
 Ok.  Is it worth to mention a specialized book ("RS-232 Made Easy",
 for example) or not?
 
 >> We may show two or three different designs in the handbook if we
 >> can tell the reader about their merits.  The problem with the design
 >> currently in the handbook is that it is erroneous *and* bogus.  I'd
 >> suggest adding another row to the table so that it becomes evident
 >> that DTR on this side is connected to DSR+DCD on the other side
 >> while DTR on the other side is connected to DSR+DCD on this side.
 
 > The Note below the pin-out is supposed to make it evident, and with
 > the Note the design is symmetric.
 
 I tend to think the note is ok here, too.
 
 
 Please find a new patch attached which resumes the recent comments
 about the different null-modem designs, mainly based on the first
 reply from Gary.  I think it was the most concise and do not require
 a large rewriting or reorganization of the serial chapter (which can
 always be made later).
 
 Note: there are two versions of the patch.  One with a reference to
 the "RS-232 Made Easy" reference book, one without it.
 
 --
 -jpeg.
 ------=_20050830114835_68297
 Content-Type: application/octet-stream; name="chapter.sgml.diff"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="chapter.sgml.diff"
 
 LS0tIGNoYXB0ZXIuc2dtbC5vcmlnCU1vbiBBdWcgMjkgMjM6MjA6NTkgMjAwNQorKysgY2hhcHRl
 ci5zZ21sCVR1ZSBBdWcgMzAgMTE6NDA6NDUgMjAwNQpAQCAtMTIyLDEwICsxMjIsMTggQEAKIAkg
 ICAgZXhhbXBsZSwgdGhlIDxxdW90ZT5zZW5kIGRhdGE8L3F1b3RlPiBwaW4gb24gb25lIGVuZCBn
 b2VzIHRvIHRoZQogCSAgICA8cXVvdGU+cmVjZWl2ZSBkYXRhPC9xdW90ZT4gcGluIG9uIHRoZSBv
 dGhlciBlbmQuPC9wYXJhPgogCSAgICAgIAotCSAgPHBhcmE+SWYgeW91IGxpa2UgbWFraW5nIHlv
 dXIgb3duIGNhYmxlcywgeW91IGNhbiBjb25zdHJ1Y3QKLQkgICAgYSBudWxsLW1vZGVtIGNhYmxl
 IGZvciB1c2Ugd2l0aAotCSAgICB0ZXJtaW5hbHMuICBUaGlzIHRhYmxlIHNob3dzIHRoZSBSUy0y
 MzJDIHNpZ25hbCBuYW1lcyBhbmQgdGhlIHBpbgotCSAgICBud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KIAkgIDxpbmZvcm1hbHRhYmxlIGZyYW1lPSJub25l
 IiBwZ3dpZGU9IjEiPgogCSAgICA8dGdyb3VwIGNvbHM9IjUiPgpAQCAtMTkyLDggKzIwMCw4IEBA
 CiAJCSAgPGVudHJ5PkRDRDwvZW50cnk+CiAJCSAgPGVudHJ5Pjg8L2VudHJ5PgogCQkgIDxlbnRy
 eT48L2VudHJ5PgotCQkgIDxlbnRyeT42PC9lbnRyeT4KLQkJICA8ZW50cnk+RFNSPC9lbnRyeT4K
 KwkJICA8ZW50cnk+ODwvZW50cnk+CisJCSAgPGVudHJ5PkRDRDwvZW50cnk+CiAJCTwvcm93Pgog
 CQkKIAkJPHJvdz4K
 ------=_20050830114835_68297
 Content-Type: application/octet-stream; name="chapter.sgml.wbook.diff"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="chapter.sgml.wbook.diff"
 
 LS0tIGNoYXB0ZXIuc2dtbC5vcmlnCU1vbiBBdWcgMjkgMjM6MjA6NTkgMjAwNQorKysgY2hhcHRl
 ci5zZ21sLndib29rCVR1ZSBBdWcgMzAgMTE6Mzg6NDcgMjAwNQpAQCAtMTIyLDEwICsxMjIsMjEg
 QEAKIAkgICAgZXhhbXBsZSwgdGhlIDxxdW90ZT5zZW5kIGRhdGE8L3F1b3RlPiBwaW4gb24gb25l
 IGVuZCBnb2VzIHRvIHRoZQogCSAgICA8cXVvdGU+cmVjZWl2ZSBkYXRhPC9xdW90ZT4gcGluIG9u
 IHRoZSBvdGhlciBlbmQuPC9wYXJhPgogCSAgICAgIAotCSAgPHBhcmE+SWYgeW91IGxpa2UgbWFr
 aW5nIHlvdXIgb3duIGNhYmxlcywgeW91IGNhbiBjb25zdHJ1Y3QKLQkgICAgYSBudWxsLW1vZGVt
 IGNhYmxlIGZvciB1c2Ugd2l0aAotCSAgICB0ZXJtaW5hbHMuICBUaGlzIHRhYmxlIHNob3dzIHRo
 ZSBSUy0yMzJDIHNpZ25hbCBuYW1lcyBhbmQgdGhl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YSwgYXMgZXhwbGFpbmVkIGluIHRoZSBib29rCisJICA8cXVv
 dGU+UlMtMjMyIE1hZGUgRWFzeTwvcXVvdGU+LCBwdWJsaXNoZWQgYnkKKwkgIDx1bGluayB1cmw9
 Imh0dHA6Ly93d3cucHJlbmhhbGwuY29tLyI+UHJlbnRpY2UgSGFsbDwvdWxpbms+LCAxOTkxLgor
 CSAgSVNCTjogMDEzNzQ5ODU0My48L3BhcmE+CiAKIAkgIDxpbmZvcm1hbHRhYmxlIGZyYW1lPSJu
 b25lIiBwZ3dpZGU9IjEiPgogCSAgICA8dGdyb3VwIGNvbHM9IjUiPgpAQCAtMTkyLDggKzIwMyw4
 IEBACiAJCSAgPGVudHJ5PkRDRDwvZW50cnk+CiAJCSAgPGVudHJ5Pjg8L2VudHJ5PgogCQkgIDxl
 bnRyeT48L2VudHJ5PgotCQkgIDxlbnRyeT42PC9lbnRyeT4KLQkJICA8ZW50cnk+RFNSPC9lbnRy
 eT4KKwkJICA8ZW50cnk+ODwvZW50cnk+CisJCSAgPGVudHJ5PkRDRDwvZW50cnk+CiAJCTwvcm93
 PgogCQkKIAkJPHJvdz4K
 ------=_20050830114835_68297--
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508300950.j7U9oQ2H002727>