Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754737AbbLPJoB (ORCPT ); Wed, 16 Dec 2015 04:44:01 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34691 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754523AbbLPJn5 (ORCPT ); Wed, 16 Dec 2015 04:43:57 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 16 Dec 2015 11:43:56 +0200 Message-ID: Subject: Re: Issues with Lenovo Yoga 900 IIO devices (accelerometer, etc.) From: Daniel Baluta To: Nish Aravamudan Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1274 Lines: 36 On Tue, Dec 15, 2015 at 9:19 PM, Nish Aravamudan wrote: > So, I apologize in advance for this relatively vague report, but I'm fairly sure > the Yoga 900 has an accelerometer amongst other sensors (ambient light?) > exported over IIO. > > But, these sensors seem to not be updating at all with a 4.4-rc5+ kernel (a > set of patches from https://lkml.org/lkml/2015/11/30/441 applied to Linus' > tree). > > The odd part is at some point in messing with this, I'm fairly sure it did work! > That is, > > `watch -n 0.1 cat '/sys/bus/iio/devices/iio:device'*/*raw*` Can you send us a sample of the output? Also, would be good to identify the exact driver for accel. Perhaps: cat /sys/bus/iio/devices/iio:device'*/name > > showed updating values as I moved the laptop around. > > I've not done any accelerometer debugging before, so any suggestion on > where to start would be greatly appreciated! Did you applied some patches and recompiled the kernel? Or when it did stopped working? thanks, Daniel. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/