linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Bastien Nocera <hadess@hadess.net>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	linux-iio@vger.kernel.org, linux-input@vger.kernel.org,
	Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Richard Hughes <richard@hughsie.com>
Subject: Re: Why hid-sensor-hub's IIO doesn't work properly in >= 4.3 (possibly badly bisected)
Date: Wed, 01 Feb 2017 15:57:52 -0800	[thread overview]
Message-ID: <1485993472.18380.73.camel@linux.intel.com> (raw)
In-Reply-To: <4663686.yGs8knaWTY@aspire.rjw.lan>

On Thu, 2017-02-02 at 00:38 +0100, Rafael J. Wysocki wrote:
> + Srinivas
> 
> On Tuesday, January 31, 2017 02:37:43 PM Bastien Nocera wrote:
> > 
> > Hey Rafael,
> > 
> > On Fri, 2017-01-27 at 00:07 +0100, Rafael J. Wysocki wrote:
> > > 
> > > On Thu, Jan 26, 2017 at 4:15 PM, Bastien Nocera <hadess@hadess.ne
> > > t>
> > > wrote:
> > > > 
> > > > On Fri, 2017-01-20 at 16:52 +0100, Bastien Nocera wrote:
> > > > > 
> > > > > Hey,
> > > > > 
> > > > > TLDR:
> > > > > # first bad commit:
> > > > > [50ba22479c324c0d9dc8134d519dcba92d83a8a7]
> > > > > Merge
> > > > > back earlier ACPI PM material for v4.3.
> > > > > 
> > > > > hid-sensor-hub devices only start sending events through the
> > > > > IIO
> > > > > trigger after a suspend/resume cycle.


> Srinivas, does it sound like anything familiar to you?

I guess this is related to
https://github.com/hadess/iio-sensor-proxy/issues/82

There is some race between user space and iio. So the driver powerup
never gets called back to power a hub during system boot. So the
workaround was to add to systemd unit file for iio-sensor-proxy 
[Unit]
After=multi-user.target

Something changed timings in the kernel, which triggered this issue.
I never got chance to root cause this.

Thanks,
Srinivas



  reply	other threads:[~2017-02-01 23:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-20 15:52 Why hid-sensor-hub's IIO doesn't work properly in >= 4.3 (possibly badly bisected) Bastien Nocera
2017-01-26 15:15 ` Bastien Nocera
2017-01-26 23:07   ` Rafael J. Wysocki
     [not found]     ` <CAJZ5v0hYwyV+j+38rdqo81x0p5jWyLzHijYFY5RmnODzRUK0qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-31 13:37       ` Bastien Nocera
2017-02-01 23:38         ` Rafael J. Wysocki
2017-02-01 23:57           ` Srinivas Pandruvada [this message]
2017-02-02 10:35             ` Bastien Nocera
2017-02-02 11:33               ` Rafael J. Wysocki
2017-02-02 12:42                 ` Bastien Nocera
2017-02-02 23:21                   ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1485993472.18380.73.camel@linux.intel.com \
    --to=srinivas.pandruvada@linux.intel.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=hadess@hadess.net \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=rafael@kernel.org \
    --cc=richard@hughsie.com \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).