From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999AbbJELmM (ORCPT ); Mon, 5 Oct 2015 07:42:12 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33190 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbbJELmK (ORCPT ); Mon, 5 Oct 2015 07:42:10 -0400 Message-ID: <1444045323.24055.23.camel@debian.org> Subject: Re: [PATCH] Add quirk for Lenovo Yoga 2 with ITE Chips From: Ritesh Raj Sarraf Reply-To: rrs@debian.org To: Jiri Kosina Cc: linux-kernel@vger.kernel.org, Srinivas Pandruvada Date: Mon, 05 Oct 2015 17:12:03 +0530 In-Reply-To: References: <1444027044-15810-1-git-send-email-rrs@debian.org> Organization: Debian Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-qOMoMx6lgz73L1DJqB8b" X-Mailer: Evolution 3.18.0-2 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-qOMoMx6lgz73L1DJqB8b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2015-10-05 at 13:28 +0200, Jiri Kosina wrote: > On Mon, 5 Oct 2015, Ritesh Raj Sarraf wrote: >=20 > Please insert a little bit more verbose changelog here (what exactly > this=20 > device is, why does it need such quirk, etc). >=20 > > Signed-off-by: Ritesh Raj Sarraf >=20 > 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. rrs@learner:~/Community/UpstreamSources/linux-upstream_GIT (stable-42)$=20 monitor-sensor=20 ** Message: Accelerometer orientation changed: bottom-up ** Message: Light changed: 0.000000 (lux) =C2=B1** 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:=C2=A0=C2=A0=C2=A0Sat Jun 27 17:02:23 2015 +0200 =C2=A0=C2=A0=C2=A0=C2=A0HID: sensor-hub: Add in quirk for Lenovo Yogas with= ITE =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0Like yogas with TEXAS_INSTRUMENTS, yogas with ITE c= hips needs =C2=A0=C2=A0=C2=A0=C2=A0to be initialized with enumeration quirks. =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0Signed-off-by: Jiri Kosina --=20 Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System --=-qOMoMx6lgz73L1DJqB8b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJWEmILAAoJEKY6WKPy4XVpCK8P/Rfcp1bMvgQbUza5Th2RdUVH cVlpRYA3IJ5Whnxlo05dDJZASt/GgVFu+yynuoXm77vHeB76xCo8ACidyDcF83+Z SOVrkqI93lgUF2rMEB95QQiabHeWFeR0aB8AxNE74gRhx+b9XZ8AsjD1a4thiX4B 6jxB0uPEbLTa1rjU+5/tN39LavvpCQitdrQ+wCRGU8KS/V/zj7n2gMKi/wgheGHN 5EGeThhoV0KhvcbcYt/aQMetK/Rd7JuQEuhW9jolASLjOceOvncLgVs80dI9t/D2 lOOGI4Jdck0rPuFofRF4yw5B5TpsLcTZPXFMLcgN9U6YzglAbWPobffqllmFgHD4 TcmW0UMufSKvnD0EkpqDcTJjtZyBglrhaMuP+DO1rOZhoFPaCDiFJcdpT9lEN53P hDDULlxo09uJwzTRyTqdzsto7ES+c8xAGr49TqbdsXXMr0/bfqjy2tS6iktjbwz+ X1j73Bt4TXoUPxUNF+wi6c6j0zuPgtwSLTUJ5ybS+9/gatdjjPAmWDQk14UD9RZ1 0rF3nl4mdEmsvasm4th/0cWhJjR1VT4m1fBr3htdbBFE/BLXM1h38KrUbljVp5Z3 0U2HM40d0acKddtUQO+var/tiGri+98bVeE9wpVx5GMYTlE469Fd3Ev3MvDXLFTR EUrf17wVMVDLxlDsBbcZ =c+cT -----END PGP SIGNATURE----- --=-qOMoMx6lgz73L1DJqB8b--