Re: [PATCH] hid-core: Configurable USB HID Mouse Interrupt Polling Interval

From: Greg KH
Date: Sat Dec 18 2004 - 12:02:31 EST


On Sat, Dec 18, 2004 at 05:39:25PM +0000, Mikkel Krautz wrote:
> On Fri, 17 Dec 2004 18:59:48 -0800, Greg KH <greg@xxxxxxxxx> wrote:
> > What about makeing it a module paramater then, that is exported to
> > sysfs? That makes it easier to adjust on the fly (before the mouse is
> > inserted), and doesn't require the kernel to be rebuilt.
>
> I really like the idea. I'm start to think that this is the ideal way to
> accomplish this.
>
> Here's a new patch. Let's hope it doesn't wrap!

It was eaten :(

> module_init(hid_init);
> module_exit(hid_exit);
> +module_param(hid_mouse_polling_interval, int, 644);

0644, or use the proper #defines instead.

thanks,

greg k-h
-
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/