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.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6551e8ab1fe1fab7 X-Google-Attributes: gid103376,public From: Alfred Hilscher Subject: Re: how to access a (serial) device (linux) Date: 2000/01/27 Message-ID: <3890299C.15B7AEF1@icn.siemens.de>#1/1 X-Deja-AN: 578263904 Content-Transfer-Encoding: 7bit References: <86op66$lu9$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Siemens AG Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-01-27T00:00:00+00:00 List-Id: I could imagine that the problem raises due to the opening with "SHARE=NO". So if one has opened, the other will be inhibited to open too. Try an other share mode. tilmanglotzner@my-deja.com wrote: > > Hello, > > I wrote a program to access serial port via the device file. One > === Here the code ============================ > Open (ReadPtr,In_File,DeviceB,"SHARED=NO"); > Open (WritePtr,Out_File,DeviceA,"SHARE=NO");