Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech Subject: Re: DTR and serial.device Keywords: serial, RS232, modem Message-ID: <15068@oberon.USC.EDU> Date: 31 Jan 89 22:17:55 GMT References: <10511@well.UUCP> <15000@oberon.USC.EDU> <443@madnix.UUCP> Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Distribution: usa Organization: Felsina Software, Los Angeles, CA Lines: 30 In article <443@madnix.UUCP> perry@madnix.UUCP (Perry Kivolowitz) writes: |Marco's suggestion to access the CIA registers directly for toggling |DTR is *not* a good idea for the following reason: No other serial |port besides the internal one uses the CIA. ... |Another suggestion: |In an earlier incantation of my serial device driver I added a command |which would allow access to all setable outputs. Something like: | |io_Command = CMD_SET_SERIAL_CTRL_LINES; |io_Length = MASK_OF_BITS_TO_BE_AFFECTED; |io_Actual = WHAT_TO_SET_THEM_TO; | |DoIO(IOB) | |If we all agree to make this a standard, well then, it will become a |standard. Perry, I just received word from Bryce that the "standard" way to drop DTR is to close and then reopen the device. This should work no matter what serial device and unit one is using. -- 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] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=