[combined responses for clarity] Corentin Chary wrote: > Wow :/ How long is an acpi_evaluate_integer call here ? Early on I benchmarked the per-axis ACPI calls about about 50us, which is shockingly high to me. But honestly that note there is just pedantry: the hi/lo race (and the fact that "errors" live in the same space with valid data values) is a real condition that lets me justify the "retry on large deltas" behavior, which most definitely improves data quality. > When is asus_platform_probe called exactly ? Because I'd say it's > called during asus_platform_probe(), and that doesn't fix your issue > right ? Admittedly this is voodoo. Moving the input_polldev device initialization to asus_laptop (originally in asus_acpi_add(), which is called out of the ACPI framwwork) caused reliable panics on boot. I moved it to asus_platform_probe() to restore the structure of the original pega_accel module, which did it in a platform probe. I don't know enough about the platform driver model to say exactly, but I strongly suspect that platform probe calls are not done synchronously underneath the platform_{device|driver}_register() calls. Dmitry Torokhov wrote: > This I do not quite understand... Do we bind acpi drivers to devices > before ACPI initialization is done? Then this should be fixed in > ACPI layer, but I doubt even early userspace is active at the time > ACPI core is being initialized. Also, input polling is done in a > separate thread so you not moving the poll out of ACPI binding > thread but delay poll execution by a few microseconds... See comments above. The current model in asus-laptop is to register its keyboard input device underneat the .add callback in the acpi driver. That was crashing with the accelerometer. And there's definitely a userspace interaction: disabling the sensor daemon (the distro in question is a MeeGo tablet image) at startup avoided the crash (and in fact worked fine when started up manually later). Andy -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html