Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932170Ab0DPO1B (ORCPT ); Fri, 16 Apr 2010 10:27:01 -0400 Received: from ey-out-2122.google.com ([74.125.78.27]:34792 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752416Ab0DPO1A convert rfc822-to-8bit (ORCPT ); Fri, 16 Apr 2010 10:27:00 -0400 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: =?utf-8?Q?=C3=89ric_Piel?= 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> Date: Fri, 16 Apr 2010 16:26:52 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT From: "Marcin Derlukiewicz" Message-ID: In-Reply-To: <4BC86C9B.4010400@tremplin-utc.net> User-Agent: Opera Mail/10.10 (Linux) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1226 Lines: 36 Dnia 16-04-2010 o 15:56:43 Éric Piel napisał(a): > On 16/04/10 14:13, Marcin Derlukiewicz wrote: >> Dnia 16-04-2010 o 14:00:15 napisał(a): >> > : >>> >>> Could you check what is the polling period of the device. >>> something like: >>> cat /sys/devices/platform/lis3lv02d/input/input9/poll >>> >>> it is current polling period in milliseconds. 0 disables polling. >>> >>> -Samu >>> >> >> I think that on my system this is /sys/devices/platform/lis3lv02d/rate >> but i may be wrong. Anyway it contains 40 as a number. > This file is something else. Isn't there any file like > /sys/devices/platform/lis3lv02d/input/input*/poll ? > > 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 > > Eric nope, should i paste you list? my kernel is 2.6.31.12 -- 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/