Re: iio/hid-sensor-accel-3d: no output from /dev/iio:device*?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2015-12-17 at 19:06 -0800, Nish Aravamudan wrote:
> On Thu, Dec 17, 2015 at 6:50 PM, Pandruvada, Srinivas
> <srinivas.pandruvada@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx> 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
Sent a patch, try and see if this works.

Thanks,
Srinivas

> 
> -Nish��.n��������+%������w��{.n�����{��)��^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux