Re: [PATCH 2/2] hid-ntrig: init settle and mode check

From: Jiri Kosina
Date: Mon Mar 14 2011 - 08:10:56 EST


On Fri, 11 Mar 2011, Peter Hutterer wrote:

> > Adding a wait before the wakeup signal.
> >
> > As a precautionary measure sanity check the current sensor mode. If
> > needed reset it to "dual".
> >
> > Signed-off-by: Rafi Rubin <rafi@xxxxxxxxxxxxxx>
> >
> > When the device is responding poorly and needs the wakeup call, it was
> > missing it. Giving it a chance to settle first improves the chances
> > that signal gets through.
> >
> > I was also seeing the device come up in strange modes where it did not
> > respond to physical stimulus. Hopefully the quirk will fix that, but
> > even so it seems like a good idea to check. It also makes me curious
> > what the "off" code is.
> > ---
> > drivers/hid/hid-ntrig.c | 45 +++++++++++++++++++++++++++++++++++++++++++--
> > 1 files changed, 43 insertions(+), 2 deletions(-)
>
> no negative effects
>
> Tested-by: Peter Hutterer <peter.hutterer@xxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/