From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751237AbdGPHj1 (ORCPT ); Sun, 16 Jul 2017 03:39:27 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:34658 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750945AbdGPHjY (ORCPT ); Sun, 16 Jul 2017 03:39:24 -0400 Subject: Re: [PATCH] HID: Add quirk for Lenovo Yoga 910 with ITE Chips To: Patrick Pedersen , jikos@kernel.org Cc: benjamin.tissoires@redhat.com, jic23@kernel.org, srinivas.pandruvada@linux.intel.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org References: <20170715122721.6908-1-ctx.xda@gmail.com> From: Arek Burdach Message-ID: Date: Sun, 16 Jul 2017 09:39:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170715122721.6908-1-ctx.xda@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Patrick, On 15.07.2017 14:27, Patrick Pedersen wrote: > It shall additionally be noted that the i2c-hid 'sleep' bug (present since kernel ver. 4.3) > still affects the driver. This means that the sensor hub will not report any movement, until > the device is suspended and resumed. > Do you have workaround for that? In my case suspending and resuming doesn't help. Sensor reporting is backing to work in unpredictable way. What I've tested: - kernel v4.13-rc1 with your patch applied - watch -n1 cat /sys/bus/iio/devices/iio\:device*/*_raw <- value not changing - suspend - resume - watch -n1 cat /sys/bus/iio/devices/iio\:device*/*_raw <- still not changing If you have some workaround scenario please add it to bug reported be me: https://bugzilla.kernel.org/show_bug.cgi?id=195681 Cheers, Arek