linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev timeout for mma8450 unless the accelerometer is shaken
@ 2015-02-26 13:05 Stefan Sauer
  2015-02-26 14:02 ` Bastien Nocera
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Sauer @ 2015-02-26 13:05 UTC (permalink / raw)
  To: linux-input

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?

Stefan
--
Stefan Sauer | Software Engineer | ensonic@google.com

Google Germany GmbH | Maximilianstrasse 11-15 | 80539 München | Germany
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev timeout for mma8450 unless the accelerometer is shaken
  2015-02-26 13:05 udev timeout for mma8450 unless the accelerometer is shaken Stefan Sauer
@ 2015-02-26 14:02 ` Bastien Nocera
  2015-02-26 16:02   ` Stefan Sauer
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien Nocera @ 2015-02-26 14:02 UTC (permalink / raw)
  To: Stefan Sauer; +Cc: linux-input

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev timeout for mma8450 unless the accelerometer is shaken
  2015-02-26 14:02 ` Bastien Nocera
@ 2015-02-26 16:02   ` Stefan Sauer
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Sauer @ 2015-02-26 16:02 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-input

udev is 208-r4 - most likely not having the patch. Thanks for the
info, will see if I can bump the version.

On Thu, Feb 26, 2015 at 3:02 PM, Bastien Nocera <hadess@hadess.net> wrote:
> 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
>



-- 
Stefan Sauer | Software Engineer | ensonic@google.com

Google Germany GmbH | Maximilianstrasse 11-15 | 80539 München | Germany
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-26 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 13:05 udev timeout for mma8450 unless the accelerometer is shaken Stefan Sauer
2015-02-26 14:02 ` Bastien Nocera
2015-02-26 16:02   ` Stefan Sauer

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).