From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremiah Mahler Subject: Re: [PATCH v13 09/12] input: cyapa: add gen5 trackpad device firmware update function support Date: Tue, 9 Dec 2014 19:33:03 -0800 Message-ID: <20141210033303.GA4173@hudson.localdomain> References: <1418116304-11392-1-git-send-email-dudley.dulixin@gmail.com> <1418116304-11392-10-git-send-email-dudley.dulixin@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pd0-f171.google.com ([209.85.192.171]:56837 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753789AbaLJDdM (ORCPT ); Tue, 9 Dec 2014 22:33:12 -0500 Content-Disposition: inline In-Reply-To: <1418116304-11392-10-git-send-email-dudley.dulixin@gmail.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dudley Du Cc: dmitry.torokhov@gmail.com, rydberg@euromail.se, bleung@google.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Dudley, On Tue, Dec 09, 2014 at 05:11:41PM +0800, Dudley Du wrote: > Add firmware image update function supported for gen5 trackpad device, > it can be used through sysfs update_fw interface. > TEST=test on Chromebooks. > > Signed-off-by: Dudley Du > --- > drivers/input/mouse/Kconfig | 2 +- > drivers/input/mouse/cyapa_gen5.c | 290 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 291 insertions(+), 1 deletion(-) > > diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig > index d8b46b0..63e8b40 100644 > --- a/drivers/input/mouse/Kconfig > +++ b/drivers/input/mouse/Kconfig > @@ -205,7 +205,7 @@ config MOUSE_BCM5974 > > config MOUSE_CYAPA > tristate "Cypress APA I2C Trackpad support" > - depends on I2C > + depends on I2C && CRC_ITU_T > help > This driver adds support for Cypress All Points Addressable (APA) > I2C Trackpads, including the ones used in 2012 Samsung Chromebooks. > diff --git a/drivers/input/mouse/cyapa_gen5.c b/drivers/input/mouse/cyapa_gen5.c My initial config had MOUSE_CYAPA=m and CRC_ITU_T=n. I did a 'make oldconfig', no questions were asked, but it removed MOUSE_CYAPA since CRC_ITU_T wasn't enabled. Since the cyapa modules were removed the touchpad no longer works. Not a very good upgrade path :-( To fix this I have to manually enable MOUSE_CYAPA and CRC_ITU_T to get it working again. [...] -- - Jeremiah Mahler