From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 19 Jul 2010 14:59:49 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] kbd fail Topicbox-Message-UUID: 40b2da1c-ead6-11e9-9d60-3106f5b1d025 On Mon Jul 19 14:49:52 EDT 2010, 9fans@hamnavoe.com wrote: > > I'am sure geoff will roll it back > > If it's useful I don't mind helping with testing to get it right. > > Could the problem be something to do with not reading back the > acknowledge responses after sending the command and parameter to > the keyboard in setleds? the original code came from me, though i wasn't the original author. while steve is gratious to assume the blame, it's probablly my fault. the problem the code is trying to solve was that a fair number of compact keyboards, such as the one that steve has, need numlock in the proper state to be able to type many of the keys. but setting numlock must be done from the host. since setting the leds in a ps/2 keyboard has big side effects, it may be that your ledless keyboard takes exception to our tricks. or that somehow we are leaving the keyboard in a potentially bad state. is it possible that the keyboard is just sucking its thumb, rather than the machine being hung? i don't have my keyboard controller documentation handy, but i'll review the code and the documentation when i get home. - erik