>On 2001-07-24 06:06:09,
[email protected] wrote:
>Hello
>
>I've made some routines to use the serial port.
>I've managed to use my modem on COM2 but failed
>to init correctly the COM1 MS Mouse.
1. Do you enable IRQ 4 at the 8259
interrupt controller chip?
2. To get serial interrupts on my system,
I had to turn on the Out2 signal:
//Set DTR
//outportb(0x3F8+4, 7);
outportb(0x3F8+4, 0x0F);
3. If you have a 16c550 serial chip,
turn off the FIFO for the mouse:
outportb(0x3F8+2, 0);
4. Some mice send a string of PnP bytes
when they are powered -- you should
either read these or ignore them.
For information on serial PnP, get
PNPCOM.RTF from
http://www.microsoft.com/hwdev/respec/pnpspecs.htm