From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Rafi Rubin <rafi@seas.upenn.edu>
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
Date: Sat, 12 Mar 2011 22:27:00 -0800 [thread overview]
Message-ID: <20110313062700.GC31566@core.coreip.homeip.net> (raw)
In-Reply-To: <4D79F1DD.10009@seas.upenn.edu>
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
next prev parent reply other threads:[~2011-03-13 6:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 7:37 Rafi Rubin
2011-03-11 7:37 ` [PATCH 2/2] hid-ntrig: calibration Rafi Rubin
2011-03-21 17:15 ` Henrik Rydberg
2011-03-21 18:25 ` Rafi Rubin
2011-03-24 14:32 ` Jiri Kosina
2011-03-24 16:52 ` Rafi Rubin
2011-03-11 8:18 ` [PATCH 1/2] hid-ntrig: sysfs nodes for modes Dmitry Torokhov
2011-03-11 9:56 ` Rafi Rubin
2011-03-13 6:27 ` Dmitry Torokhov [this message]
2011-03-15 4:30 ` Rafi Rubin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110313062700.GC31566@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=chatty@enac.fr \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=micki@n-trig.com \
--cc=rafi@seas.upenn.edu \
--cc=rydberg@euromail.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®