linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vitaly Minko <vitaly@minko.me>
To: Dmitry Mastykin <dmastykin@astralinux.ru>, linux-input@vger.kernel.org
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	Hans de Goede <hdegoede@redhat.com>,
	Daniele Gobbetti <daniele@gobbetti.name>
Subject: Re: UPD: hid-multitouch: goodix: hovering works as touch
Date: Thu, 15 Apr 2021 16:33:44 +0300	[thread overview]
Message-ID: <8e25e7c4-53bd-98d5-35da-cb596f84e9c4@minko.me> (raw)
In-Reply-To: <7b7af64e-8e70-3a9c-eee9-010574adc241@astralinux.ru>

Hello Dmitry,


I have tested your patches on the kernel version 5.10.27. I had to add 
one define for I2C_DEVICE_ID_GOODIX_0113. Everything else was applied 
successfully.

The digitizer works fine now. So the original issue is solved. Both pen 
buttons also work as expected (right and middle mouse buttons).

All tests performed on One-Netbook A1.

Thanks a lot for your efforts. Could you please send me a private email 
with your credentials for sending a tip (I would like to buy you a coffee).


Best regards,

Vitaly


15.04.2021 10:13, Dmitry Mastykin wrote:
> Hi Vitaly,
>
> Yes, we made a quirk for separate non-multitouch processing of the 
> HID_DG_PEN application for Goodix gt7385p (I2C_DEVICE_ID_GOODIX_0113 
> == 0x0113). It works well, BTN_TOOL_PEN and BTN_TOUCH events have 
> right order.
> I attach patches for kernel 5.4
> Buttons support was very tricky, because the panel tries to imitate 
> eraser usage with combination of tip's and eraser's bits off and on, 
> seems that Windows driver needs this. In second patch we add 
> state-machines for pen buttons to simulate right and middle click. It 
> works also well with this panel/pen, but I'm not sure if it works with 
> other devices.
>
> Kind regards,
> Dmitry Mastykin
>
>
> On 4/14/21 6:35 PM, Vitaly Minko wrote:
>> Hello Dmitry,
>>
>>
>> I have faced with exactly the same problem. Have you managed to solve 
>> the issue?
>>
>> If yes, could you please share the patch?
>>
>> Thanks in advance!
>>
>>
>> Best regards,
>>
>> Vitaly
>>

  reply	other threads:[~2021-04-15 13:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-30 16:23 hid-multitouch: goodix: hovering works as touch Dmitry Mastykin
2020-07-31 13:07 ` UPD: " Dmitry Mastykin
2021-04-14 15:35 ` Vitaly Minko
2021-04-15  7:13   ` Dmitry Mastykin
2021-04-15 13:33     ` Vitaly Minko [this message]
2021-04-15 16:02       ` Hans de Goede
2021-04-16  7:16         ` Dmitry Mastykin
2021-04-16 14:43           ` Hans de Goede
2021-06-10  0:59     ` Alexander Sosedkin

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=8e25e7c4-53bd-98d5-35da-cb596f84e9c4@minko.me \
    --to=vitaly@minko.me \
    --cc=benjamin.tissoires@redhat.com \
    --cc=daniele@gobbetti.name \
    --cc=dmastykin@astralinux.ru \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    /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).