From: David Herrmann <dh.herrmann@gmail.com>
To: Roderick Colenbrander <thunderbird2k@gmail.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Bastien Nocera <hadess@hadess.net>,
linux-input <linux-input@vger.kernel.org>
Subject: Re: Handling of non-positional data through evdev
Date: Thu, 17 Mar 2016 10:27:25 +0100 [thread overview]
Message-ID: <CANq1E4R0bAzvamu9OkRK6joYP9da8dyYR33H0NTf5m_qt+jBOA@mail.gmail.com> (raw)
In-Reply-To: <CAEc3jaB6q4OtZd4dkOg5wNgzCia06=ggS2vy+c3jd9Y1qRRRMg@mail.gmail.com>
Hi
On Wed, Mar 16, 2016 at 8:00 PM, Roderick Colenbrander
<thunderbird2k@gmail.com> wrote:
> Hi David,
>
> On Wed, Mar 16, 2016 at 8:26 AM, David Herrmann <dh.herrmann@gmail.com> wrote:
>> Hi
>>
>> On Wed, Mar 16, 2016 at 4:10 PM, Bastien Nocera <hadess@hadess.net> wrote:
>>> On Tue, 2016-03-15 at 17:17 -0700, Roderick Colenbrander wrote:
>>>> Hi Bastien,
>>>>
>>>> Thanks for providing this suggestion. I can see this approach work
>>>> for
>>>> situations like screen rotation on tablets. The device I'm involved
>>>> with is an input device, which needs a high poll rate for
>>>> acceleration
>>>> / velocity and needs to be paired with the button / axes data. Evdev
>>>> would be most appropriate.
>>>
>>> So more like a Wiimote than a builtin sensor. What will consume events
>>> in user-space? A specialised application?
>>
>> I really think evdev is the right place to put any of those devices.
>> The real problem is that the current set of ABS types is very limited
>> and strongly overloaded. We didn't do this for other types, but
>> somehow ABS turned out that way.
>>
>> In general, Dmitry was ok with introducing new ABS types, properly
>> representing those types. I sent an RFC some years ago, which also
>> introduces gyro and accelerometer types (see patch #4):
>>
>> https://lists.freedesktop.org/archives/input-tools/2013-December/000612.html
>>
>> The problem is, however, that the current ABS_* namespace is
>> exhausted. That is, we have to introduce some new way to add new ABS
>> types (the series introduced ABS2 for that). No-one continued that
>> effort so far, so we are stuck with the current ABS types. Feel free
>> to pick this up. It might be a lengthy effort, though. You might be
>> better off doing it the wiimote way: pick you ABS types and make
>> user-space recognize them depending on the device name/etc.
>>
>> Thanks
>> David
>
> Your work was definitely interesting and exactly what I would have
> needed. It felt like a reasonable path forward. What was ultimately
> the main blocker? There was no interest?
I don't think there was any big blocker, I just never pushed it
forward. Feel free to pick it up. But given that it has to introduce
new evdev APIs, it might take a while to get upstream.
Thanks
David
next prev parent reply other threads:[~2016-03-17 9:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 19:26 Handling of non-positional data through evdev Roderick Colenbrander
2016-03-15 20:07 ` Benjamin Tissoires
2016-03-15 21:09 ` Roderick Colenbrander
2016-03-15 22:59 ` Bastien Nocera
2016-03-16 0:17 ` Roderick Colenbrander
2016-03-16 15:10 ` Bastien Nocera
2016-03-16 15:26 ` David Herrmann
2016-03-16 19:00 ` Roderick Colenbrander
2016-03-17 9:27 ` David Herrmann [this message]
2016-03-16 19:09 ` Clément VUCHENER
2016-03-16 20:32 ` Roderick Colenbrander
2016-03-16 22:51 ` Clément VUCHENER
2016-03-16 18:39 ` Roderick Colenbrander
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=CANq1E4R0bAzvamu9OkRK6joYP9da8dyYR33H0NTf5m_qt+jBOA@mail.gmail.com \
--to=dh.herrmann@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=hadess@hadess.net \
--cc=linux-input@vger.kernel.org \
--cc=thunderbird2k@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).