Re: [PATCH v2] input: mouse: add qci touchpad driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neil Leeder
Date: Thursday, August 19, 2010 - 3:19 pm

Hi Dmitry,

On 8/19/2010 1:33 AM, Dmitry Torokhov wrote:

Thanks for the suggestions. Nothing I change seems able to get a 
consistent valid response to GETID. I think this is the first time 
anyone has written anything other than 0xF4 to the firmware in the EC 
and it's just not passing through the other PS/2 commands and responses 
reliably.


If I force my way past GETID and set the receive length to 3 based on 
seeing F4/F5 being written then the touchpad does work. However the 
serio driver is now a touchpad-specific driver rather than a generic 
PS/2 one.  I have a keyboard on the same device. I'm not sure if it will 
work with serio, but if so it will probably have its own requirements 
for the length of data sent on responses, probably not 3.

BTW, using 1 as the receive length for commands has its own problems as 
some commands require more than one byte response (GETID, GETINFO). I 
can work around it, but it's not particularly clean and getting further 
away from a generic driver.

At this point I'm thinking that the interface is close to being able to 
work with serio/psmouse, but just not close enough. The unreliability of 
responding to basic commands as well as the length of data problems 
indicates some custom driver is going to be needed. That could either be 
Quanta's original touchpad driver I posted, or a modification of your 
serio driver. I'd lean towards not having a serio driver which includes 
workarounds for a specific device, but I'd appreciate hearing your opinion.

Thanks.
--
Neil
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Thu Aug 12, 9:49 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Stepan Moskovchenko, (Thu Aug 12, 10:25 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Thu Aug 12, 10:58 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Dmitry Torokhov, (Thu Aug 12, 7:49 pm)
RE: [PATCH v2] input: mouse: add qci touchpad driver, Datta, Shubhrajyoti, (Fri Aug 13, 1:36 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Trilok Soni, (Fri Aug 13, 2:34 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Fri Aug 13, 2:56 pm)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Dmitry Torokhov, (Fri Aug 13, 5:54 pm)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Tue Aug 17, 10:14 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Dmitry Torokhov, (Tue Aug 17, 11:05 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Wed Aug 18, 2:38 pm)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Dmitry Torokhov, (Wed Aug 18, 10:33 pm)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Thu Aug 19, 3:19 pm)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Matthew Garrett, (Thu Aug 19, 4:35 pm)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Fri Aug 20, 12:16 pm)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Wed Aug 25, 11:26 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Dmitry Torokhov, (Thu Aug 26, 7:49 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Thu Aug 26, 11:45 am)
Re: [PATCH v2] input: mouse: add qci touchpad driver, Neil Leeder, (Thu Aug 26, 2:00 pm)