Re: [PATCH] lis3lv02d: provide means to disable polled input interface

From: Ãric Piel
Date: Fri Apr 16 2010 - 10:30:37 EST


On 16/04/10 16:26, Marcin Derlukiewicz wrote:
> Dnia 16-04-2010 o 15:56:43 Ãric Piel <eric.piel@xxxxxxxxxxxxxxxx>
> napisaÅ(a):
:
>>
>> Maybe your kernel is too old to have this functionality (I don't know
>> when it was introduced). Samu is right, here to disable the joystick, I
>> can indeed do a:
>> echo 0 > /sys/devices/platform/lis3lv02d/input/input*/poll
:
> nope, should i paste you list?
> my kernel is 2.6.31.12
It's not necessary. For your kernel, I'd recommend the trick with the
mplayer configuration file. And as Samu explained, on newer kernels the
ability to disable totally the polling is already there.

Eric
--
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/