From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Henrik Rydberg <rydberg@euromail.se>
Cc: Maurus Cuelenaere <mcuelenaere@gmail.com>, linux-input@vger.kernel.org
Subject: Re: [RFC] Microsoft Touch Mouse driver [was: Re: your mail]
Date: Sun, 29 Jan 2012 23:27:32 -0800 [thread overview]
Message-ID: <20120130072732.GA1855@core.coreip.homeip.net> (raw)
In-Reply-To: <20120125150035.GA4222@polaris.bitmath.org>
On Wed, Jan 25, 2012 at 04:00:35PM +0100, Henrik Rydberg wrote:
> > In my first tests, I was doing readouts in userspace using hidraw,
> > which performed quite well.
> >
> > Bandwidth could be an issue, but I'd like to use the current APIs as
> > much as possible so I don't need to go modifying mtdev, X, ...
>
> Unless you do clustering, filtering and what not in-kernel, something
> will have to change for sure.
>
> > >One possible option could be to use the
> > >slots, but only send ABS_MT_TOUCH_MAJOR or ABS_MT_PRESSURE, nothing
> > >else. The device would (rightfully) not be recognized as MT since the
> > >position is missing, all data would be available for processing in
> > >userspace, and bandwidth would be minimized since there could only be
> > >so many changes coming in per millisecond.
> >
> > So how does userspace then finds out where these pressure points are
> > located?
> > Or do you mean to just dump all data to user space (15 * 13 *
> > sizeof(ABS_MT_PRESSURE value) + overhead)?
>
> Having each pressure point represented by one slot id was the idea.
> Userspace would have to know how the points are mapped, of
> course. Still not overly happy about the general fit, though. Dmitry?
I am having doubts that this device, as it is, is suitable for input
interface; I really do not think that bastardizing slot IDs is good
idea. Unless we move all computation necessary to identify individual
contacts into the kernel (and then use standard MT protocol), I'd
recommend looking into hidraw + uinput solution.
Thanks.
--
Dmitry
next prev parent reply other threads:[~2012-01-30 7:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BROWNM3h3vLgAusVxON00000cfa@brown.emailprod.vodafone.se>
2012-01-25 13:26 ` your mail Henrik Rydberg
2012-01-25 14:09 ` Maurus Cuelenaere
2012-01-25 14:13 ` Fwd: " Maurus Cuelenaere
2012-01-25 15:00 ` [RFC] Microsoft Touch Mouse driver [was: Re: your mail] Henrik Rydberg
2012-01-29 21:19 ` Maurus Cuelenaere
2012-01-30 7:27 ` Dmitry Torokhov [this message]
2012-02-07 12:07 ` Maurus Cuelenaere
2012-02-07 16:12 ` Henrik Rydberg
2012-02-07 21:09 ` Maurus Cuelenaere
2012-02-07 22:38 ` Henrik Rydberg
2012-02-08 17:09 ` Dmitry Torokhov
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=20120130072732.GA1855@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=mcuelenaere@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).