Re: [PATCH v2] acer-wmi: setup accelerometer when machine has appropriate notify event

From: joeyli
Date: Mon Jan 02 2017 - 19:18:04 EST


On Tue, Dec 27, 2016 at 02:00:01PM +0200, Andy Shevchenko wrote:
> On Thu, Nov 3, 2016 at 2:18 AM, Lee, Chun-Yi <joeyli.kernel@xxxxxxxxx> wrote:
> > The accelerometer event relies on on the ACERWMID_EVENT_GUID notify.
> > So, this patch changes the codes to setup accelerometer input device
> > when detected ACERWMID_EVENT_GUID. It avoids that the accel input
> > device created on every acer machines.
> >
> > In addition, patch adds a clearly parsing logic of accelerometer hid
> > to acer_wmi_get_handle_cb callback function. It is positive matching
> > the "SENR" name with "BST0001" device to avoid non-supported hardware.
> >
>
> Pushed to testing with slightly massaged commit message.
> Thanks.
>

Thanks a lot!
Joey Lee