From: Peter Hutterer <peter.hutterer@who-t.net>
To: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Cc: "Stefan Brüns" <stefan.bruens@rwth-aachen.de>,
linux-input <linux-input@vger.kernel.org>
Subject: Re: RFC: making the aiptek.c tablet driver xf86-input-wacom compatible
Date: Fri, 28 Jun 2013 07:01:32 +1000 [thread overview]
Message-ID: <20130627210132.GA12372@yabbi.redhat.com> (raw)
In-Reply-To: <CAN+gG=FxW40WxY1eSi=UzCKnmPipZ3HZw8sjNPbAgfi0P+D1bw@mail.gmail.com>
On Wed, Jun 26, 2013 at 10:17:30AM +0200, Benjamin Tissoires wrote:
> Hi Stephan,
>
> On Wed, Jun 26, 2013 at 12:02 AM, Stefan Brüns
> <stefan.bruens@rwth-aachen.de> wrote:
> > Hi everyone,
> >
> > I have started to modify the aiptek tablet driver to be compatible with the
> > xf86-input-wacom driver.
> >
> > Motivation:
> > First, as wacom dominates the market, most configuration frontends are for
> > wacom, desktop integration only exists for wacom, and most application
> > developers only test with wacom tablets.
> > Second, the xf86-input-aiptek driver seems to be unmaintained, at least
> > opensuse has dropped it from distribution, and xf86-input-evdev is no
> > sufficient replacement.
>
> Yes the fact is that xf86-input-aiptek is unmaintained due to lack of
> testers with the device. xf86-input-evdev is not a sufficient
> replacement because it aims at forwarding the raw events from the
> kernel without any processing. For tablets, the de facto natural way
> is to use the wacom driver, which should be called now "tablet" but is
> still called "wacom" for historical reasons.
fwiw, wacom is still very much centered around wacom devices. it will work
from a technical perspective with any tablet but there may be the odd thing
here and there that may look different. we'll have to fix that up as we go
in the X driver, but there are already non-wacom tablets that work fine.
specifically, test your tablet with libwacom as well (or the GNOME stack) as
this covers parts of the device-specific client stack for tablets.
> > So for me there are two possibilities, either replicating all the work done
> > for the wacom driver in the xorg stack and above, or just making the the
> > aiptek driver mimic the output of the wacom kernel driver - I have taken the
> > second option.
>
> thanks for choosing the second solution :) I think Peter will join me
> on this thank you.
yes, indeed. less xorg drivers is the future :)
Cheers,
Peter
> I just gave a quick look at the xf86-input-aiptek sources, and there
> is nothing which prevents you to port this device to the wacom driver.
>
> >
> > Currently, I am cleaning up my changes, and I am investigating some bugs in
> > the original driver parsing the reports from the device.
>
> The device seems to be a HID declared one. I'd be curious to have a
> look at the report descriptors to know if the parsing is really
> necessary. The reports descriptor can be retrieved by calling "lsusb
> -v" when the device is not bound to its usb driver.
>
> >
> > I have tested my Aiptek 6000U with the xf86-input-wacom driver, and it is
> > working fine in Krita, Inkscape and The Gimp, configuring the tablet via
> > kcm_wacomtablet (KDE configuration module).
>
> great!
>
> >
> > If anyone is interested, I will send my patches to this list after the
> > cleanup.
>
> I think we are. And I think you will also get some advantages in
> pushing those patches upstream so you will not have to manually
> maintain your own branch :)
>
> Cheers,
> Benjamin
>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2013-06-27 21:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-25 22:02 RFC: making the aiptek.c tablet driver xf86-input-wacom compatible Stefan Brüns
2013-06-26 8:17 ` Benjamin Tissoires
2013-06-27 21:01 ` Peter Hutterer [this message]
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=20130627210132.GA12372@yabbi.redhat.com \
--to=peter.hutterer@who-t.net \
--cc=benjamin.tissoires@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=stefan.bruens@rwth-aachen.de \
/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).