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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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-7-bit Path: g2news2.google.com!news2.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communications Date: Wed, 20 Apr 2011 10:17:02 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: 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> <1144e8e4-4193-4ffd-a8d2-145c38993eb2@p16g2000vbi.googlegroups.com> <6301289c-f450-4d7f-8391-01e17d2555b9@z27g2000prz.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 20 Apr 2011 10:17:02 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="mlmG41Hk0NvblPCVoy/sxg"; logging-data="20061"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zgaokn4L22FCzTQbjBBm/dXSOGzbpHT0=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:m/4quW4RSpvYvpKm3wNmCVNqYgs= Xref: g2news2.google.com comp.lang.ada:19882 Date: 2011-04-20T10:17:02+00:00 List-Id: On Tue, 19 Apr 2011 13:32:34 +0000, Simon Clubley wrote: > When I connect the devices to the Linux PC, I use the standard MAX232 > setup and since it's been a number of months since I last did this, s/months/decades/ and you'll understand why my advice was not more specific... Might be worth reading a little bit about the Linux sysfs interface ... if the serial ports appear there, it may be possible to (shell command version) echo 1 > /sys/something/ttyusb0/flow_ctrl_something in which case, opening it as a normal file and writing to it within your Ada program will also work. Again I can't be more specific as I know very little about sysfs, but it seems to be a fairly recent/developing area with neat possibilities. - Brian