[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOhV88MH4pyX1j8qutc47vjpwQcb9bEUFTyocLtNH5JnVve+6A@mail.gmail.com>
Date: Thu, 17 Dec 2015 19:06:23 -0800
From: Nish Aravamudan <nish.aravamudan@...il.com>
To: "Pandruvada, Srinivas" <srinivas.pandruvada@...el.com>
Cc: "lars@...afoo.de" <lars@...afoo.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"knaack.h@....de" <knaack.h@....de>,
"jic23@...nel.org" <jic23@...nel.org>,
"cmo@...exis.com" <cmo@...exis.com>,
"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
"pmeerw@...erw.net" <pmeerw@...erw.net>,
"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
"jikos@...nel.org" <jikos@...nel.org>,
"Shevchenko, Andriy" <andriy.shevchenko@...el.com>
Subject: Re: iio/hid-sensor-accel-3d: no output from /dev/iio:device*?
On Thu, Dec 17, 2015 at 6:50 PM, Pandruvada, Srinivas
<srinivas.pandruvada@...el.com> wrote:
> On Thu, 2015-12-17 at 18:33 -0800, Nish Aravamudan wrote:
>> On Thu, Dec 17, 2015 at 5:11 PM, Pandruvada, Srinivas
>> <srinivas.pandruvada@...el.com> wrote:
>> > On Thu, 2015-12-17 at 17:08 -0800, Nish Aravamudan wrote:
>> > > On Thu, Dec 17, 2015 at 5:00 PM, Pandruvada, Srinivas
>> > > <srinivas.pandruvada@...el.com> wrote:
>> > > > Hi Andy,
>> > > >
>> > > > As per Nish these patches are impacting sensors on Yoga.
>> > > > https://lkml.org/lkml/2015/11/30/441
>> > >
>> > > To be clear, without that series, the touchpad and touchscreen on
>> > > the
>> > > Yoga 900 don't work at all. So they are necessary for
>> > > functioning. I
>> > > don't know (I will test it now), if removing the series makes the
>> > > IIO
>> > > sensors work properly in /dev/.
>> > This is important to know before we take Andy's time.
>>
>> It seems like Andy's patches are not the problem. That is, with stock
>> 4.4-rc5, the accelerommeter /dev files still do not update.
>>
> Can you not use raw values by polling from user space? Send me
> report description. It should be in
> /sys/kernel/debug/hid/ "your device id" /redesc.
The underlying issue is that iio-sensor-proxy relies on values from
the corresponding /dev nodes to automatically rotate the screen, etc.
in the desktop environment.
Attached due to its size.
> Also device id ("your device id") above.
0018:048D:8396.0002
-Nish
Download attachment "rdesc" of type "application/octet-stream" (51603 bytes)
Powered by blists - more mailing lists