From kde-kimageshop Wed Apr 02 10:01:30 2014 From: Dmitry Kazakov Date: Wed, 02 Apr 2014 10:01:30 +0000 To: kde-kimageshop Subject: Re: No pressure with gfxtablet in Krita Message-Id: X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=139643290715749 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1294170097606624561==" --===============1294170097606624561== Content-Type: multipart/alternative; boundary=089e0160bb1260a6ca04f60c5ebf --089e0160bb1260a6ca04f60c5ebf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Bjorn! It seems like the tablet is not reporting itself as being a tablet :) This happens to some weird devices, like aiptek-based tablets produced by Genius= . Could you do the folowing: 1) Build Krita from sources. You will need about an hour of time and this manual [0]. 2) Apply this patch: http://paste.kde.org/pjjcvbqxi 2.1) Download the patch to a file 2.2) cd ~/kde4/src/calligra/ 2.3) patch -p1 < /path/to/a/downloaded/file.patch 3) Rebuild: 3.1) cd ~/kde4/build 4) Run Krita You need to check two things: 1) Whether your tablet works 2) Send me the Krita log. It should (probably) contain the lines like this [1] [0] - http://www.davidrevoy.com/article193/guide-building-krita-on-linux-for-cats [1] - http://paste.kde.org/panpa2tax On Wed, Apr 2, 2014 at 12:55 PM, Bj=C3=B6rn Sonnenschein wrote: > Hello Dmitry, > I have attached the outputs, hope that helps. > > > > Am Fri, 28 Mar 2014 23:35:51 +0400 > schrieb Dmitry Kazakov : > >Hi, Bjorn! > > > >Could you please send me the output of he following commands: > > > >lsmod > >xinput > >xinput list-props > > > >Then generate a tablet log as described here: > >https://answers.launchpad.net/krita-ru/+faq/2495 > > > > > > > > > >On Fri, Mar 28, 2014 at 6:43 PM, Bj=C3=B6rn Sonnenschein >wrote: > > > >> Hi! > >> > >> Unfortunately the changes do not fix that issue for me. I wasn=C2=B4t = able to > >> get through Krita=C2=B4s tablet support code quickly, just got that it= seems > >> to check the devices for their type and name to determine whether it i= s > >> a tablet or not. Could that be the problem? As far as I know, GFXTabl= et > >> uses Uinput and just registers with the name "Network Tablet" without > >> further specifications and also as BUS_VIRTUAL bustype, so the only wa= y > >> how an application might detect it as a tablet would be either by > >> recognizing the existence of a pressure axis or specifically by the it= =C2=B4s > >> name. > >> > >> > https://github.com/rfc2822/GfxTablet/blob/master/driver-uinput/networktab= let.c > >> > >> > >> > >> Am Freitag, den 28.03.2014, 09:11 +0400 schrieb Dmitry Kazakov: > >> > Hi, Bjorn! > >> > > >> > > >> > We have updated our tablet support two days ago, could you check > >> > whether your tablet works with the current version of Krita-master? = To > >> > get a new version you can fetch 'krita-testing' package from Krita > >> > Lime repository [0] or build it from sources. > >> > > >> > [0] - > >> > > >> > http://dimula73.blogspot.ru/2013/05/krita-lime-ppa-always-fresh-versions.= html > >> > > >> > > >> > > >> > On Thu, Mar 20, 2014 at 3:40 PM, Bj=C3=B6rn Sonnenschein > >> > wrote: > >> > Hello all, > >> > I have tried Krita 2.8 with gfxtabet, a tool that lets you u= se > >> > an Android Tablet as a graphics tablet, using my Galaxy Note > >> > 10.1. > >> > While it works very well in Gimp, I cannot get pressure > >> > sensitivity to work in Krita which is a real pity because th= e > >> > Note works great as a graphics tablet. > >> > Has anyone else got experience with gfxtablet and/or knows a > >> > solution? > >> > > >> > > >> > https://github.com/rfc2822/GfxTablet > >> > > >> > > >> > Best regards, > >> > Bj=C3=B6rn Sonnenschein > >> > > >> > _______________________________________________ > >> > Krita mailing list > >> > kimageshop@kde.org > >> > https://mail.kde.org/mailman/listinfo/kimageshop > >> > > >> > > >> > > >> > > >> > -- > >> > Dmitry Kazakov > >> > >> > >> _______________________________________________ > >> Krita mailing list > >> kimageshop@kde.org > >> https://mail.kde.org/mailman/listinfo/kimageshop > >> > > > > > > > >-- > >Dmitry Kazakov > > > _______________________________________________ > Krita mailing list > kimageshop@kde.org > https://mail.kde.org/mailman/listinfo/kimageshop > > --=20 Dmitry Kazakov --089e0160bb1260a6ca04f60c5ebf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Bjorn!


= It seems like the tablet is not reporting itself as being a tablet :) This = happens to some weird devices, like aiptek-based tablets produced by Genius= .

Could you do the folowing:

1) Build Krita from sourc= es. You will need about an hour of time and this manual [0].

2= ) Apply this patch: http://paste= .kde.org/pjjcvbqxi

2.1) Download the patch to a file
2.2) cd ~/kde4/src/calligra/=
2.3) patch -p1 < /path/to/a/downloaded/file.patch

3) Rebuild:

3.1) cd ~/kde4/build

4) Run Krita


You need to check two things:
1) Whether your tablet works
2) Send me the Krit= a log. It should (probably) contain the lines like this [1]



<= div class=3D"gmail_quote">On Wed, Apr 2, 2014 at 12:55 PM, Bj=C3=B6rn Sonne= nschein <green@unitybox.de> wrote:
Hello Dmitry,
I have attached the outputs, hope that helps.



Am Fri, 28 Mar 2014 23:35:51 +0400
=C2=A0schrieb Dmitry Kazakov <dimu= la73@gmail.com>:
>Hi, Bjorn!
>
>Could you please send me the output of he following commands:
>
>lsmod
>xinput
>xinput list-props <id-of-your-tablet>
>
>Then generate a tablet log as described here:
>https://answers.launchpad.net/krita-ru/+faq/2495
>
>
>
>
>On Fri, Mar 28, 2014 at 6:43 PM, Bj=C3=B6rn Sonnenschein <green@unitybox.de>wrote:
>
>> Hi!
>>
>> Unfortunately the changes do not fix that issue for me. I wasn=C2= =B4t able to
>> get through Krita=C2=B4s tablet support code quickly, just got tha= t it seems
>> to check the devices for their type and name to determine whether = it is
>> a tablet or not. Could that be the problem? =C2=A0As far as I know= , GFXTablet
>> uses Uinput and just registers with the name "Network Tablet&= quot; without
>> further specifications and also as BUS_VIRTUAL bustype, so the onl= y way
>> how an application might detect it as a tablet would be either by<= br> >> recognizing the existence of a pressure axis or specifically by th= e it=C2=B4s
>> name.
>>
>> https://github.com/rfc2822/GfxTa= blet/blob/master/driver-uinput/networktablet.c
>>
>>
>>
>> Am Freitag, den 28.03.2014, 09:11 +0400 schrieb Dmitry Kazakov: >> > Hi, Bjorn!
>> >
>> >
>> > We have updated our tablet support two days ago, could you ch= eck
>> > whether your tablet works with the current version of Krita-m= aster? To
>> > get a new version you can fetch 'krita-testing' packa= ge from Krita
>> > Lime repository [0] or build it from sources.
>> >
>> > [0] -
>> >
>> http://dimula73.blogspot.ru/2013/= 05/krita-lime-ppa-always-fresh-versions.html
>> >
>> >
>> >
>> > On Thu, Mar 20, 2014 at 3:40 PM, Bj=C3=B6rn Sonnenschein
>> > <green@unitybox.de> wrote:
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 Hello all,
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 I have tried Krita 2.8 with gfxta= bet, a tool that lets you use
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 an Android Tablet as a graphics t= ablet, using my Galaxy Note
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 10.1.
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 While it works very well in Gimp,= I cannot get pressure
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 sensitivity to work in Krita whic= h is a real pity because the
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 Note works great as a graphics ta= blet.
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 Has anyone else got experience wi= th gfxtablet and/or knows a
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 solution?
>> >
>> >
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0
https://github.com/rfc2822/GfxTablet<= br> >> >
>> >
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 Best regards,
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 Bj=C3=B6rn Sonnenschein
>> >
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 _________________________________= ______________
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 Krita mailing list
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 kimageshop@kde.org
>> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 https://mail.kde.org/mailman/= listinfo/kimageshop
>> >
>> >
>> >
>> >
>> > --
>> > Dmitry Kazakov
>>
>>
>> _______________________________________________
>> Krita mailing list
>> kimageshop@kde.org
>> https://mail.kde.org/mailman/listinfo/kimageshop
>>
>
>
>
>--
>Dmitry Kazakov


_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop




--
Dmitry Kazakov --089e0160bb1260a6ca04f60c5ebf-- --===============1294170097606624561== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Krita mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============1294170097606624561==--