Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/06 20:20
Read: times


 
#118243 - problem pretty much resolved
Responding to: ???'s previous message
We traced the problem to the interrupt handler that handled data coming from the host. The first thing that ISR does is to validate the "dance" that the host does to indicate it has some data it would like to send us. The host tells us it wants to send some data by holding its clock line down for a while (supposedly around 100usec), then lowers its data line, then allows the clock line back up. This is called request-to-send.

Our ISR was apparently not doing a good job of validating that. We fixed it by increasing the amount of time (loops) that we made sure the host was holding down its clock line and increased the amount of time allows for the next two events to happen.

We had figured that the proxying was working correctly, so the PC must be doing something strange that wasn't a relayable command. But in fact, the relaying wasn't working right. The keyboard wasn't acknowledging the PC's commands because it simply wasn't seeing them.

Thanks to everyone for help and suggestions.

List of 21 messages in thread
TopicAuthorDate
what host does to PS/2 keyboard at boot?            01/01/70 00:00      
   what host does to PS/2 keyboard at boot?            01/01/70 00:00      
   different for different OS            01/01/70 00:00      
   I think it's more a case of the BIOS            01/01/70 00:00      
   further explanation            01/01/70 00:00      
      Codes at startup            01/01/70 00:00      
         startup codes            01/01/70 00:00      
            Codes at startup            01/01/70 00:00      
      Hold the lines low until KB startup            01/01/70 00:00      
   use half of this            01/01/70 00:00      
   Protocol and MORE            01/01/70 00:00      
      Answer all PC queries            01/01/70 00:00      
      yes            01/01/70 00:00      
   Answer all PC queries            01/01/70 00:00      
   Also check this link            01/01/70 00:00      
   POR???            01/01/70 00:00      
      Re: POR???            01/01/70 00:00      
      Two methods            01/01/70 00:00      
   ps2            01/01/70 00:00      
      eh?            01/01/70 00:00      
   problem pretty much resolved            01/01/70 00:00      

Back to Subject List