Re: PROBLEM: lenovo yoga 11e touchscreen (baytrail SoC) does not work on 4.0.0 rc2

From: Matthew Hiles
Date: Tue Mar 10 2015 - 12:52:52 EST




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: <UNKNOWN> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/