Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758118Ab0HQSG3 (ORCPT ); Tue, 17 Aug 2010 14:06:29 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:35525 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755059Ab0HQSG2 (ORCPT ); Tue, 17 Aug 2010 14:06:28 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=mImzPQkGadjXvZW/j65Mwq7QcXA2fFq2kQrZVo6ogvSH8HGJ7Ot8kraJynSbbNnAWk Px0YiOlV3yOUTefNBmhUCE307ChVTecatXULYkhcvK1M+yuxikfXItSbjRPRdjpisbDJ XaSkqwdPQgrtAwmeYBIGGuPQpYTd8h/7m28x8= References: <1281631760-15589-1-git-send-email-nleeder@codeaurora.org> <20100813024912.GA2661@core.coreip.homeip.net> <4C65BF99.9030601@codeaurora.org> <201008131754.49488.dmitry.torokhov@gmail.com> <4C6AC393.8000109@codeaurora.org> Message-Id: From: Dmitry Torokhov To: Neil Leeder In-Reply-To: <4C6AC393.8000109@codeaurora.org> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7E18) Mime-Version: 1.0 (iPhone Mail 7E18) Subject: Re: [PATCH v2] input: mouse: add qci touchpad driver Date: Tue, 17 Aug 2010 11:05:48 -0700 Cc: Stepan Moskovchenko , "linux-input@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Horace Fu , Mandeep Singh Baines , Trilok Soni Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1799 Lines: 57 Hi Neil, On Aug 17, 2010, at 10:14 AM, Neil Leeder wrote: > On 8/13/2010 8:54 PM, Dmitry Torokhov wrote: >> Also it is not a simple coincidence that to enable device you send >> 0xf4 >> to it (which is PSMOUSE_CMD_ENABLE - standard PS/2 command). This >> tends >> to suggest that interface is not actually hidden and that the device >> (touchpad) could be replaced with other kinds of devices. >> >> Anyway, please try the driver (you may need to hardcode the IRQ >> trigger >> type for now) and see if psmouse is able to talk to the touchpad. >> If it >> is then serio is the proper solution. > > Dmitri, > I fixed one line in the wpce775x_serio driver which looked like a > typo - hope I got that right: > > for (i = 0; i < count; i++) > - serio_interrupt(ps2if->serio, ps2if->data_in[1], 0); > + serio_interrupt(ps2if->serio, ps2if->data_in[i], 0); > } > Yep, that was a typo. > I tried running with psmouse but it didn't work. The touchpad was > never detected as a synaptics touchpad. I looked at the dataflow > from the device and it wasn't responding to the commands that > synaptics_detect() was sending it. It eventually showed up as an > unknown logitech mouse. That suggests that the device responds to at least basic PS/2 queries. > I can see data being passed through the serio driver but the > logitech driver can't process it. > What about loading psmouse module with proto=bare? Could you also dump the data received from touchpad during probing? -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/