On 30-Jan-00 Linus Torvalds wrote:> - disable the keyboard before changing the controller mode in open_aux(),> and re-order the operations, ie make the init sequence look like this:> > kbd_write_command_w(KBD_CCMD_MOUSE_ENABLE); /* Enable mousecontroller */> > send_data(KBD_CMD_DISABLE); /* Disable keyboardduring mode set */> kbd_write_cmd(AUX_INTS_ON); /* Enable controllerints for both keyboard> and mouse */> send_data(KBD_CMD_ENABLE); /* Enable keyboardagain */> > aux_write_ack(AUX_ENABLE_DEV); /* Enable the mouseitself */> > which actually makes a lot more sense than the current one (makes the> mouse and keyboard controller and device "enabledness" be more regular:> both controllers are enabled during the mode set, but both devices are> disabled until after the mode-set is complete.

OK, this *immediately* locked the keyboard on mouse open, without having totouch the mouse like before. When I killed gpm and closed the mouse device,all the types characters poured out.

Sometimes it printed the "keyboard: Timeout - AT keyboard not present?"message, but other times it didn't.

/proc interrupts shows nothing was delivered to IRQ 12:

12: 0 XT-PIC usb-uhci, Ricoh Co Ltd RL5c475

J

-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.rutgers.eduPlease read the FAQ at http://www.tux.org/lkml/