From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753363AbbCJQwt (ORCPT ); Tue, 10 Mar 2015 12:52:49 -0400 Received: from mail-qc0-f178.google.com ([209.85.216.178]:38458 "EHLO mail-qc0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390AbbCJQwr (ORCPT ); Tue, 10 Mar 2015 12:52:47 -0400 Message-ID: <54FF215C.1080002@gmail.com> Date: Tue, 10 Mar 2015 12:52:44 -0400 From: Matthew Hiles User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Mika Westerberg CC: linux-kernel@vger.kernel.org Subject: Re: PROBLEM: lenovo yoga 11e touchscreen (baytrail SoC) does not work on 4.0.0 rc2 References: <54F788AA.3050005@gmail.com> <20150310142353.GP1563@lahna.fi.intel.com> In-Reply-To: <20150310142353.GP1563@lahna.fi.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/10/2015 10:23 AM, Mika Westerberg wrote: > On Wed, Mar 04, 2015 at 05:35:22PM -0500, Matthew Hiles wrote: >> [ 3.763182] i2c_hid i2c-ITE8386:00: Could not register for ITE8386:00 interrupt, irq = -1, ret = -22 >> [ 3.773742] i2c_hid: probe of i2c-ITE8386:00 failed with error -22 >> [ 3.788298] i2c_hid i2c-ATML1000:00: Could not register for ATML1000:00 interrupt, irq = -1, ret = -22 >> [ 3.806867] i2c_hid: probe of i2c-ATML1000:00 failed with error -22 > This says to me that the device uses GPIOs as interrupts as opposed to > IOAPIC. > > Can you try the following commit? > > https://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/commit/?h=for-4.1/i2c-hid&id=a485923efbb83056b7fb79e4fd2fee05c990ad5e Progress! Applied that patch to 4.0 rc3 and recompiled: uname -a Linux pontifex 4.0.0-1-ARCH #2 SMP PREEMPT Tue Mar 10 11:54:37 EDT 2015 x86_64 GNU/Linux dmesg|grep hid [ 3.850715] hidraw: raw HID events driver (C) Jiri Kosina [ 8.873837] i2c_hid i2c-ITE8386:00: failed to reset device. [ 14.895347] i2c_hid i2c-ITE8386:00: failed to reset device. [ 20.916806] i2c_hid i2c-ITE8386:00: failed to reset device. [ 26.938430] i2c_hid i2c-ITE8386:00: failed to reset device. [ 27.956009] i2c_hid i2c-ITE8386:00: can't add hid device: -61 [ 27.976242] i2c_hid: probe of i2c-ITE8386:00 failed with error -61 [ 28.028155] hid-multitouch 0018:03EB:8C1F.0001: input,hidraw0: HID v1.00 Device [ATML1000:00 03EB:8C1F] on xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)] ⎜ ↳ ATML1000:00 03EB:8C1F id=14 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Integrated Camera id=10 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)] ↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)] However, touching the screen does not cause the pointer to move and more empirically: (From /proc/bus/input/devices) I: Bus=0018 Vendor=03eb Product=8c1f Version=0100 N: Name="ATML1000:00 03EB:8C1F" P: Phys= S: Sysfs=/devices/platform/80860F41:01/i2c-9/i2c-ATML1000:00/0018:03EB:8C1F.0001/input/input15 U: Uniq= H: Handlers=event14 mouse1 B: PROP=2 B: EV=b B: KEY=400 0 0 0 0 0 B: ABS=260800000000003 Doing cat /dev/input/event14 or cat /dev/input/mouse1 and poking the screen gets me no output. ~Matthew