Re: [PATCH v7] input: tablet: add Pegasus Notetaker tablet driver

From: Oliver Neukum
Date: Fri Jun 10 2016 - 12:03:45 EST


On Fri, 2016-06-10 at 15:27 +0200, Martin Kepplinger wrote:
> >> + input_set_abs_params(input_dev, ABS_X, -1500, 1500, 8, 0);
> >> + input_set_abs_params(input_dev, ABS_Y, 1600, 3000, 8, 0);
> >> +
> >> + pegasus_set_mode(pegasus, PEN_MODE_XY, NOTETAKER_LED_MOUSE);
> >
> > If you need to do this here. It is also needed in reset_resume()
> >
>
> This is done in open() now.

You must do it conditionally in reset_resume() then.

Regards
Oliver