On Mon, May 09, 2011 at 07:58:02PM +0200, Anisse Astier wrote:
> diff --git a/drivers/platform/x86/asus-laptop.c
> b/drivers/platform/x86/asus-laptop.c
> index 2105b42..e23d555 100644
> --- a/drivers/platform/x86/asus-laptop.c
> +++ b/drivers/platform/x86/asus-laptop.c
> @@ -1337,6 +1337,13 @@ static void asus_acpi_notify(struct acpi_device
> *device, u32 event)
> }
> return ;
> }
> +
> + /* Accelerometer "coarse orientation change" event */
> + if (asus->pega_accel && event == 0xEA) {
> + kobject_uevent(&asus->pega_accel->dev.kobj, KOBJ_CHANGE);
> + return ;
> + }
> +
> asus_input_notify(asus, event);
> }
Precisely that.
--
Matthew Garrett | [email protected]
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html