Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757757Ab0DPOae (ORCPT ); Fri, 16 Apr 2010 10:30:34 -0400 Received: from mailservice.tudelft.nl ([130.161.131.5]:54200 "EHLO mailservice.tudelft.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753529Ab0DPOad (ORCPT ); Fri, 16 Apr 2010 10:30:33 -0400 X-Spam-Flag: NO X-Spam-Score: -14.389 Message-ID: <4BC87481.2040000@tremplin-utc.net> Date: Fri, 16 Apr 2010 16:30:25 +0200 From: =?UTF-8?B?w4lyaWMgUGllbA==?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100331 Mandriva/3.0.4-1mdv2010.1 (2010.1) Thunderbird/3.0.4 MIME-Version: 1.0 To: Marcin Derlukiewicz CC: samu.p.onkalo@nokia.com, jkosina@suse.cz, akpm@linux-foundation.org, pavel@ucw.cz, lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] lis3lv02d: provide means to disable polled input interface References: <4BBF2BD1.5050107@tremplin-utc.net> <62697B07E9803846BC582181BD6FB6B826A8525E8A@NOK-EUMSG-02.mgdnok.nokia.com> <4BC86C9B.4010400@tremplin-utc.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 22 On 16/04/10 16:26, Marcin Derlukiewicz wrote: > Dnia 16-04-2010 o 15:56:43 Éric Piel > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/