Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932396AbdDEIog (ORCPT ); Wed, 5 Apr 2017 04:44:36 -0400 Received: from mail-os2jpn01on0087.outbound.protection.outlook.com ([104.47.92.87]:34017 "EHLO JPN01-OS2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754306AbdDEInp (ORCPT ); Wed, 5 Apr 2017 04:43:45 -0400 From: Masaki Ota To: Nikolaus Rath CC: linux-kernel , "linux-input@vger.kernel.org" Subject: RE: [PATCH 1/2] Alps HID I2C T4 device support Thread-Topic: [PATCH 1/2] Alps HID I2C T4 device support Thread-Index: AQHSqQDSYuE92x9OEEGSa6A9Af++uKG0j55GgAAjqdCAAMcEPYAAZ2fAgAAGoL+AAADoYIAABD40gACLghA= Date: Wed, 5 Apr 2017 08:43:43 +0000 Message-ID: References: <20170330025317.4093-2-masaki.ota@jp.alps.com> <87zifw7tti.fsf_-_@vostro.rath.org> <8760ik6qy1.fsf@thinkpad.rath.org> <87lgrfu4cv.fsf@vostro.rath.org> <87inmju3i4.fsf@vostro.rath.org> In-Reply-To: <87inmju3i4.fsf@vostro.rath.org> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: rath.org; dkim=none (message not signed) header.d=none;rath.org; dmarc=none action=none header.from=jp.alps.com; x-originating-ip: [106.184.109.136] x-microsoft-exchange-diagnostics: 1;KAWPR01MB1092;7:Q5tTrdAziya82ddvL3XM90Ijz8lbsCpcIwRRypZXgJtfx9L0107KHMZr62iFId5x+GNvDeVK8mm4Hm9wFH2aPWjYSWGA6iBLqQSJjAhg1v2Yw4Ma2MSwcdbAVUYFSKtgk/0WKdx9spD9BrX2gUgppnTfynol7A+PDDmJapf08IOsndDuoqaB5rGTt95ulBaS8jJdIOo4uQC12dSipiccEIY2O5xvjPnaQPT7s6clyRPCHAeRaR7PnQ9U9Tl4URuaIgfDDzxEuaHMLW/ujAOLRztrEWVAw2TyQOHNw1QCFiS0ExFhMHIHHoRXZA0ArddOxivf21pGU/9aao6xJkwUCA==;20:62NJ+vLZASYZX2N6c/2Ce7JibUHhKbJA4nwPvN3bKU8nSR4un1Zwn2xSPRKSFxuNhceplaqM8dkvH2FIs1R60Mzf4au41Nr5NiJV9aPIASdzNcLswBErVG86e8N9aGTryWPGtbcgEmmcI9NR+J0Gz96L9lFKV30YIGU4ChHh8ydjs6ARu/M/3y/jRZtdKf3KqgZ3S3R6eL3DPzY6kl+ITbIQ8mmf2HhnAEhklCxZvF12pYKSHfjfc2z660MxMmvh x-ms-office365-filtering-correlation-id: 5c47a7fe-2c0e-43ba-8e81-08d47bffddb2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:KAWPR01MB1092; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(75905662122701)(9931346810618); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123562025)(6072148);SRVR:KAWPR01MB1092;BCL:0;PCL:0;RULEID:;SRVR:KAWPR01MB1092; x-forefront-prvs: 0268246AE7 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39850400002)(39400400002)(39410400002)(39840400002)(39450400003)(39860400002)(13464003)(24454002)(377454003)(74316002)(33656002)(7736002)(66066001)(229853002)(6436002)(53936002)(6506006)(54356999)(189998001)(54906002)(8676002)(6116002)(77096006)(6306002)(110136004)(6246003)(99286003)(50986999)(76176999)(55016002)(9686003)(5890100001)(3280700002)(38730400002)(102836003)(305945005)(4326008)(3660700001)(93886004)(2906002)(3846002)(122556002)(5660300001)(81166006)(86362001)(2950100002)(85182001)(7696004)(6916009)(42882006)(8936002)(25786009)(53546009)(2900100001);DIR:OUT;SFP:1101;SCL:1;SRVR:KAWPR01MB1092;H:KAWPR01MB1092.jpnprd01.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: jp.alps.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2017 08:43:43.0634 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 57e76998-77bd-4b82-a424-198f46eb2254 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KAWPR01MB1092 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v358kGkT006435 Content-Length: 5328 Lines: 165 Hi, Nikolaus, If you have a time, please try below debug method. Download below file, copy it to your system and unpack. https://www.filesanywhere.com/fs/v.aspx?v=8b716a8e5b6773baa799 Procedure ex: #cd Desktop/LinuxModDebug #sudo chmod 755 linux_kr_rebuild_tool_hid.sh #sudo ./linux_kr_rebuild_tool_hid.sh /init linux-4.10.tar.gz #sudo ./linux_kr_rebuild_tool_hid.sh /build DebugSrc After that Touchpad all features should work. If Touchpad does not work, something error appears on dmesg. Best Regards, Masaki Ota -----Original Message----- From: Nikolaus Rath [mailto:Nikolaus@rath.org] Sent: Wednesday, April 05, 2017 9:01 AM To: 太田 真喜 Masaki Ota Cc: linux-kernel ; linux-input@vger.kernel.org Subject: Re: [PATCH 1/2] Alps HID I2C T4 device support Hi Masaki, Well, I'd be pleasently surprised if every bug always came together with an associated error message :-). No matter if there's a dmesg entry or not, at the moment this patch will make life much worse for at least some EliteBook owners. Is there anything I can do to help you debug this? Best, -Nikolaus On Apr 04 2017, Masaki Ota wrote: > Hi, Nikolaus, > > Um, but demesg log does not have any error of this Touchpad. > It's a strange. > > Best Regards, > Masaki Ota > -----Original Message----- > From: Nikolaus Rath [mailto:Nikolaus@rath.org] > Sent: Wednesday, April 05, 2017 8:43 AM > To: 太田 真喜 Masaki Ota > Cc: linux-kernel ; > linux-input@vger.kernel.org > Subject: Re: [PATCH 1/2] Alps HID I2C T4 device support > > Hi Masaki, > > Yes, without your patch the touchpad is mostly working - I just can't configure it. > > Please take a look at https://bugs.freedesktop.org/show_bug.cgi?id=100345. > > Best, > -Nikolaus > > On Apr 04 2017, Masaki Ota wrote: >> Hi, Nikolaus, >> >> There is no 044E:120C device, but it looks like Alps Touchpad is detected as PS/2 Touchpad. >> >> Actually, this Touchpad has two interfaces. One is I2C, the other is PS/2. >> Default setting is I2C, and if the system does not support I2C, Touchpad works as PS/2. >> >> However, both of interface should work properly on Linux. >> I tested it on Ubuntu +4.10 kernel. >> >> If you don't apply my patch, does device work as I2C? (044E:120C >> appears?) >> >> Best Regards, >> Masaki Ota >> -----Original Message----- >> From: Nikolaus Rath [mailto:Nikolaus@rath.org] >> Sent: Wednesday, April 05, 2017 2:09 AM >> To: 太田 真喜 Masaki Ota >> Cc: linux-kernel ; >> linux-input@vger.kernel.org >> Subject: Re: [PATCH 1/2] Alps HID I2C T4 device support >> >> Hi Masaki, >> >> Yes, I think I have a 044E:120C. Is there a way to find out for sure? >> It's not listed by e.g. lspci. >> >> The touchpad is definitely not reacting to anything. evemu-record does not show any events either. >> >> I have attached the dmesg output. >> >> Best, >> -Nikolaus >> >> >> On Apr 04 2017, Masaki Ota wrote: >>> Hi, Nikolaus, >>> >>> Your Touchpad is 044E:120C, right? >>> >>> PATCH 1/2 supports 044E:120C Touchpad device. >>> I think you can use all features of this Touchpad. >>> >>> PATCH 2/2 supports 044E:1215 Touchpad device. >>> You don't need to care about this. >>> >>> If Touchpad does not work completely, there is something an error. >>> What does dmesg show? >>> >>> Best Regards, >>> Masaki Ota >>> -----Original Message----- >>> From: Nikolaus Rath [mailto:Nikolaus@rath.org] >>> Sent: Tuesday, April 04, 2017 12:09 PM >>> To: 太田 真喜 Masaki Ota ; linux-kernel >>> ; linux-input@vger.kernel.org >>> Subject: Re: [PATCH 1/2] Alps HID I2C T4 device support >>> >>> Hi Ota, >>> >>>> -Support Alps HID I2C T4 Touchpad device. >>>> -Laptop names that use this Touchpad:HP Zbook Studio, Elitebook >>>> Folio G1, Elitebook 1030 G1, Elitebook 1040 G3 >>>> >>>> Signed-off-by: Masaki Ota >>>> --- >>>> drivers/hid/hid-alps.c | 500 +++++++++++++++++++++++++++++++++++++++---------- >>>> drivers/hid/hid-core.c | 3 +- >>>> drivers/hid/hid-ids.h | 1 + >>>> 3 files changed, 403 insertions(+), 101 deletions(-) >>> >>> I tried your patch on an HP Elitebook, but with rather limited >>> success. Before, I was able to use the touchpad in limited fashion >>> (https://bugs.freedesktop.org/show_bug.cgi?id=100345). With your >>> patch (applied on top of 4.10), the touchpad no longer reacts at all. >>> >>> That said, I didn't find a patch 2/2 anywhere.. is there something missing? >>> >>> Thanks, >>> -Nikolaus >>> >>> -- >>> GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F >>> >>> »Time flies like an arrow, fruit flies like a Banana.« >> >> >> -- >> GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F >> >> »Time flies like an arrow, fruit flies like a Banana.« > > > -- > GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F > > »Time flies like an arrow, fruit flies like a Banana.« -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«