Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752656Ab1CMG1K (ORCPT ); Sun, 13 Mar 2011 01:27:10 -0500 Received: from mail-pw0-f46.google.com ([209.85.160.46]:50410 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751303Ab1CMG1H (ORCPT ); Sun, 13 Mar 2011 01:27:07 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=FzrvLmY7oq44rBAv3LdBKB35Y5JXC/X5qicCVpjJRbC6LlmAlSCtj4OvZNRgcMNZRe aR4UR3lMOzNT6I2LExwCSDjSUFRE5TbJxgLgDBwQCsjybW97Vxg8i7s7tA5xuLdNi+zR 2dnRhcngRWacOG7Paf3atd6RBjpV4Efbx5mvw= Date: Sat, 12 Mar 2011 22:27:00 -0800 From: Dmitry Torokhov To: Rafi Rubin Cc: jkosina@suse.cz, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, micki@n-trig.com, rydberg@euromail.se, chatty@enac.fr Subject: Re: [PATCH 1/2] hid-ntrig: sysfs nodes for modes Message-ID: <20110313062700.GC31566@core.coreip.homeip.net> References: <1299829072-19489-1-git-send-email-rafi@seas.upenn.edu> <20110311081843.GE10807@core.coreip.homeip.net> <4D79F1DD.10009@seas.upenn.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D79F1DD.10009@seas.upenn.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1500 Lines: 36 On Fri, Mar 11, 2011 at 04:56:45AM -0500, Rafi Rubin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > User desires aren't exactly my specialty. I just know the ntrig windows control > panel gives the user that control with cute little radio buttons. > > Would it be cleaner to expose the control with an ioctrl or some other mechanism? > > I do have user space tools for mode and calibration, but that requires unbinding > the device, and just seems sloppier. But if this really is inappropriate to add > the sysfs nodes, at least there's still some solution. No, this is not inappropriate, I was just musing how useful they are. Do we foresee users really using them or if is it more "we export because we can". I.e. in which cases the default mode is not suitable? > > Since you brought it up, I am thinking of removing some of the other nodes soon. > I've learned the physical and logical ranges are already exposed both through > the event nodes and debugfs. Also, I have better filtering that so far seems > not to need as many parameters so I should be able to remove those nodes as well. > Well, that's the issue with sysfs - it really forms kernel ABI so removing something that was once added is hard. Thanks. -- Dmitry -- 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/