From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH 0/1] input: keyboard: add qci keyboard driver Date: Mon, 30 Aug 2010 14:55:56 -0700 Message-ID: <20100830215556.GC28865@core.coreip.homeip.net> References: <4C7838DD.1020004@codeaurora.org> <201008271533.01542.dmitry.torokhov@gmail.com> <4C7BF6D2.5080501@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4C7BF6D2.5080501@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Neil Leeder Cc: "linux-input@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Horace Fu , Hsin.Wu@quantatw.com, mcuos.com@gmail.com List-Id: linux-input@vger.kernel.org On Mon, Aug 30, 2010 at 02:22:10PM -0400, Neil Leeder wrote: > On 8/27/2010 6:33 PM, Dmitry Torokhov wrote: > >No, this is crazy... This is a twin-brother of the touchpad driver and > >I really do not understand why chip claiming to have PS/2 interface > >(3 ports if I were to believe the diagram) would not allow us talk to > >the devices... > > I didn't provide a key bit of information, sorry. The keyboard is > not attached to the EC's PS/2 port. It is on a matrix of GPIOs. And still you are using only one GPIO in your driver? While WPCE775x does seem to have matrix keypad support I think that you are using one of the 3 PS/2 ports, like your touchpad does. > > I was trying to explain that even though the firmware on the EC uses > 0xF4 written over i2c to initialize it, it doesn't appear to support > other PS/2 commands directed to the keyboard on the GPIO matrix. > The device is initialized with 0xf4; the device is supposed to respond with 0xfa; I wonder what scancodes the device reports... It smells strongly of PS/2. Also, it is not controller that supports PS/2 commands but rather the device itself so I am still hopeful that we could make use of the standard drivers. Wan, you worked at Nuvoton, do you know if wpce775 fully supports PS/2 interface? -- Dmitry