JM> Hola Tim!
Howdy!
TH> I want to control the DSR and/or the CTS line of a serial port
> that a serial mouse is connected to. When I probed these pins, I
> found some unexpected things.
JM> What do you want to do with the mouse ?
Nothing. I want to use some of the output lines of the serial port the
mouse is connected to. Specifically, to power off the computer.
TH> I want to avoid direct register manipulation, but if someone
> knows the programming model of the 8250, I'll consider it. My
> concern is compatibility. It *must* work with all PCs.
JM> Direct manipulation is the only way :-( But this method is
> compatible enougth. All 8250, 16450 and 16550 supports the same
> control lines, and control protocol...
TH> PS - how does a serial mouse get its power. My guess is the
> toggling state on the TD line. But that's just a *guess*. :-) Do you want to detect a mouse attached ? :-)))
No. A mouse connected is assumed. I have since probed around a few
mice. It's not the same for all mice.
Thanks for your reply.
Merry Christmass!
___ Blue Wave/QWK v2.12
--- Maximus/2 3.00
---------------
* Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88)
|