Re: [PATCH 2/2] hid-ntrig: calibration

From: Jiri Kosina
Date: Thu Mar 24 2011 - 10:32:10 EST


On Mon, 21 Mar 2011, Henrik Rydberg wrote:

> > Adding a function to tell the device to run its calibration routine.
> > A number written to the sysfs specifies the duration of the calibration
> > in milliseconds
> >
> > Signed-off-by: Rafi Rubin <rafi@xxxxxxxxxxxxxx>
> > ---
>
> This is great functionality, and from what it seems, it works. However,
> the poking at the usb layer makes me wonder if there is another way...
> Jiri? Dmitry? Awaiting answers from someone more knowledgeable, please
> find some comments inline.

Actually, let me put it another way -- is there any reason not to have
this as a functionality provided by HID core code (with driver registering
callbacks if they want to provide calibration functionality)?

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/