Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!orion.cf.uci.edu!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech Subject: Re: DTR and serial.device Keywords: DTR serial Message-ID: <15303@oberon.USC.EDU> Date: 11 Feb 89 07:51:01 GMT References: <11543@gryphon.COM> <5882@cbmvax.UUCP> <852@myrias.UUCP> Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 25 In article <852@myrias.UUCP> cg@myrias.UUCP (Chris Gray) writes: |In article <5882@cbmvax.UUCP| bryce@cbmvax.UUCP (Bryce Nesbitt) writes: ||Close the device, then reopen it. (include error checking!) ||This will drop then raise DTR. ||Eventually there will be a better way... but this one works for all versions ||of the serial.device back to V1.0!! ||It will also work for extended units. | |I first tried this for Amiga Empire on my A1000. The light on my modem did |NOT go off. I had to go directly to the hardware and toggle the bit - that |DID work. The problem went away when I got an A2000. On other machines, the |open/close combo did work. I don't at all understand how this was happening, |but it was quite repeatable. Also, a friend's A1000 has the same problem. Try this: CloseDevice(...); Delay(50L); /* wait 1 sec. */ OpenDevice(...); -- Marco Papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=