linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: Stefan Sauer <ensonic@google.com>
Cc: linux-input@vger.kernel.org
Subject: Re: udev timeout for mma8450 unless the accelerometer is shaken
Date: Thu, 26 Feb 2015 15:02:54 +0100	[thread overview]
Message-ID: <1424959374.2459.17.camel@hadess.net> (raw)
In-Reply-To: <CAGX7z0yi5JbTUsDEZRO1EffDBi4Co6YX=NyOZ9m2uJfyPh8o_w@mail.gmail.com>

On Thu, 2015-02-26 at 14:05 +0100, Stefan Sauer wrote:
> hi,
> 
> on my beaglebone-black I get these lines during bootup
> 
> [   71.745951] udevd[105]: worker [113]
> /devices/ocp.2/4819c000.i2c/i2c-2/2-001d/input/input2/event1 timeout;
> kill it
> [   71.771991] udevd[105]: seq 1243
> '/devices/ocp.2/4819c000.i2c/i2c-2/2-001d/input/input2/event1' killed
> [   71.799611] udevd[105]: worker [113] terminated by signal 9 (Killed)
> 
> The device is an accelerometer connected via i2c. When I shake it
> during bootup I don't get these warnings. Alternative repro:
> udevadm trigger --action=add --subsystem-match="input" --subsystem-match="misc"
> udevadm settle
> 
> The 'udevadm settle' will block until the device is moved. Is that expected?

This is likely due to the accelerometer support in udev. Which version
of udev/systemd is it? You might want to pick this patch if it isn't
already in your tree:
http://cgit.freedesktop.org/systemd/systemd/commit/src/udev/accelerometer/accelerometer.c?id=a545c6e1aa31b4d7e80c9d3609d9fc4fc9921498

Cheers


  reply	other threads:[~2015-02-26 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26 13:05 udev timeout for mma8450 unless the accelerometer is shaken Stefan Sauer
2015-02-26 14:02 ` Bastien Nocera [this message]
2015-02-26 16:02   ` Stefan Sauer

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=1424959374.2459.17.camel@hadess.net \
    --to=hadess@hadess.net \
    --cc=ensonic@google.com \
    --cc=linux-input@vger.kernel.org \
    /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).