Messages in this thread | | | Date | Fri, 23 Mar 2007 22:55:19 +0200 | From | Yan Burman <> | Subject | Re: [PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D ACPI driver |
| |
Dmitry Torokhov wrote: > Hi Yan, > > On 3/23/07, Yan Burman <burman.yan@gmail.com> wrote: >> + >> +static unsigned int input_3d; >> +module_param(input_3d, bool, S_IRUGO); >> +MODULE_PARM_DESC(input_3d, "Operate as a 3D joystick instead of 2D"); > > Why do you need that? Just have the driver always report all 3 events > and have applications decide if they want to use ABS_Z events... > Getting the coordinates goes through ACPI, so it eats up CPU. I think I remember seeing up to 15-16% CPU usage with all 3 events. That is why you probably want to disable it in most cases. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |