Re: [PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D ACPI driver

Yan Burman
2007-03-23T21:01:53Z

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.