[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110313062700.GC31566@core.coreip.homeip.net>
Date: Sat, 12 Mar 2011 22:27:00 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Rafi Rubin <rafi@...s.upenn.edu>
Cc: jkosina@...e.cz, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, micki@...rig.com,
rydberg@...omail.se, chatty@...c.fr
Subject: Re: [PATCH 1/2] hid-ntrig: sysfs nodes for modes
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists