From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cc65ab136f46904d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!p16g2000vbi.googlegroups.com!not-for-mail From: tonyg Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communications Date: Sat, 16 Apr 2011 05:03:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1144e8e4-4193-4ffd-a8d2-145c38993eb2@p16g2000vbi.googlegroups.com> References: <9af0087d-9637-40d9-8c30-2e06c2d1e4f4@o26g2000vby.googlegroups.com> <31dd80b2-3fd3-4078-8774-c396a52c94a0@r6g2000vbz.googlegroups.com> <0d509f1c-4ca7-4595-a026-65c108558d76@bl1g2000vbb.googlegroups.com> <35515c03-f565-4fc4-ac1c-e9b7268123b3@dn9g2000vbb.googlegroups.com> NNTP-Posting-Host: 82.46.232.121 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1302955393 17442 127.0.0.1 (16 Apr 2011 12:03:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 16 Apr 2011 12:03:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p16g2000vbi.googlegroups.com; posting-host=82.46.232.121; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:19787 Date: 2011-04-16T05:03:13-07:00 List-Id: On Apr 16, 12:15=A0pm, Brian Drummond wrote: > On Sat, 16 Apr 2011 03:33:39 -0700, tonyg wrote: > > Just found the stty -a setting which gives me all settings, I think tha= t > > was maybe the full out put you were talking about before > > > out put with minicom > > > cs8 hupcl -cstopb cread clocal -crtscts ignbrk -brkint -ignpar -parmrk > > Output with ada program > > > -parodd cs8 -hupcl -cstopb cread clocal crtscts -ignbrk -brkint -ignpar > > But here, Minicom has -crtscts, Gnat has crtscts > which is pointing at a difference in the handshaking. > > I bowed out of this thread earlier because I have no experience with USB > serial interfaces, or the specific Gnat library. > But this does look like you have to find a way to turn RTS/CTS > handshaking off. > > > Whoever thought a serial port did so much? > > heh, there are so many combinations it used to be the norm to hack serial > interfaces with a soldering iron. If all else fails, you can always short > pins 4 and 6 at t'other end (assuming a traditional 25 pin D connector) > to fake the handshaking. Not recommended with a USB port... > > - Brian Well spotted, I missed that after several trawls through. It also screams out as the problem I am having. Now I just got to figure the proper linux command to switch the handshaking off. Its interesting that minicom seems to detect all this and configure itself so well....