Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760628AbZATKRm (ORCPT ); Tue, 20 Jan 2009 05:17:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755809AbZATKRc (ORCPT ); Tue, 20 Jan 2009 05:17:32 -0500 Received: from smtp-out002.kontent.com ([81.88.40.216]:36376 "EHLO smtp-out002.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755698AbZATKRb convert rfc822-to-8bit (ORCPT ); Tue, 20 Jan 2009 05:17:31 -0500 From: Oliver Neukum Organization: Novell To: Pavel Machek Subject: Re: lis3: fix documentation to fit into 80 columns Date: Tue, 20 Jan 2009 11:18:03 +0100 User-Agent: KMail/1.9.10 Cc: Jiri Kosina , kernel list , Andrew Morton , Trivial patch monkey , eric.piel@tremplin-utc.net References: <20090114172013.GA25948@elf.ucw.cz> <20090120101348.GI2576@elf.ucw.cz> In-Reply-To: <20090120101348.GI2576@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200901201118.05165.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 18 Am Tuesday 20 January 2009 11:13:49 schrieb Pavel Machek: > > > ?Sysfs attributes under /sys/devices/platform/lis3lv02d/: > > > ?position - 3D position that the accelerometer reports. Format: "(x,y,z)" > > > -calibrate - read: values (x, y, z) that are used as the base for input class device operation. > > > - ? ? ? ? ? ?write: forces the base to be recalibrated with the current position. So you are computing a position according acceleration readings? Isn't that common code to all accelerometers and should be put into a higher level? Regards Oliver -- 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/