From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752227AbbJEQNa (ORCPT ); Mon, 5 Oct 2015 12:13:30 -0400 Received: from mga11.intel.com ([192.55.52.93]:9183 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbbJEQN3 (ORCPT ); Mon, 5 Oct 2015 12:13:29 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,639,1437462000"; d="scan'208";a="784889960" Message-ID: <1444061578.17895.37.camel@spandruv-desk3.jf.intel.com> Subject: Re: [PATCH] Add quirk for Lenovo Yoga 2 with ITE Chips From: Srinivas Pandruvada To: rrs@debian.org Cc: Jiri Kosina , linux-kernel@vger.kernel.org Date: Mon, 05 Oct 2015 09:12:58 -0700 In-Reply-To: <1444045323.24055.23.camel@debian.org> References: <1444027044-15810-1-git-send-email-rrs@debian.org> <1444045323.24055.23.camel@debian.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2015-10-05 at 17:12 +0530, Ritesh Raj Sarraf wrote: > On Mon, 2015-10-05 at 13:28 +0200, Jiri Kosina wrote: > > On Mon, 5 Oct 2015, Ritesh Raj Sarraf wrote: > > > > Please insert a little bit more verbose changelog here (what exactly > > this > > device is, why does it need such quirk, etc). > > > > > Signed-off-by: Ritesh Raj Sarraf > > > > Adding Srinivas to CC as well. > > Dropping stable > > This patch is a follow-up to the one below. The USB ID is different for > the Lenovo Yoga 2 13. What Guilhem sent you was verified against Yoga 2 > 11 and Yoga 3 14. I guess this product line comes with a couple of > variants. > > Without the quirk, no data is received from the accelerometer. I have > verified the patch, testing this on 4.3-rc4 (and 4.2 stable). With this > patch, proper orientation data is received. > Please add the above in the description including with the commit id for the previous Yoga quirk and resend. Thanks, Srinivas > rrs@learner:~/Community/UpstreamSources/linux-upstream_GIT (stable-42)$ > monitor-sensor > ** Message: Accelerometer orientation changed: bottom-up > ** Message: Light changed: 0.000000 (lux) > ±** Message: Accelerometer orientation changed: left-up > ** Message: Accelerometer orientation changed: bottom-up > ** Message: Accelerometer orientation changed: left-up > ** Message: Accelerometer orientation changed: normal > ** Message: Light changed: 29.999999 (lux) > > > monitor-sensor can be found in the iio-sensor-proxy tool. > > > commit 47eeca8a4838714e582c2a3058458408a328ed60 > Author: Guilhem Lettron > Date: Sat Jun 27 17:02:23 2015 +0200 > > HID: sensor-hub: Add in quirk for Lenovo Yogas with ITE > > Like yogas with TEXAS_INSTRUMENTS, yogas with ITE chips needs > to be initialized with enumeration quirks. > > Signed-off-by: Jiri Kosina > >