From: Hans de Goede <hdegoede@redhat.com>
To: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Jiri Kosina <jikos@kernel.org>,
"open list:HID CORE LAYER" <linux-input@vger.kernel.org>,
"3.8+" <stable@vger.kernel.org>
Subject: Re: [PATCH 1/3] HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trackpad
Date: Sat, 14 Nov 2020 15:45:21 +0100 [thread overview]
Message-ID: <e0616b08-41c1-5507-e1e7-44e39ac03fa6@redhat.com> (raw)
In-Reply-To: <135188fc-fd13-7539-4ed9-50ac3557de6c@redhat.com>
Hi,
On 11/14/20 12:03 PM, Hans de Goede wrote:
> Hi,
>
> On 11/12/20 4:49 PM, Benjamin Tissoires wrote:
>> On Wed, Nov 11, 2020 at 12:07 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> <snip>
>
>>>> If so, I can try to push it later today or tomorrow.
>>>
>>> Sounds good, thank you.
>>
>> I have now applied the 3 patches to the for-5.10/upstream-fixes branch.
>> I also added the Fixes tag to the first commit only.
>
> Great thank you.
>
> <snip>
>
>>>> Yeah, the Dinovo Mini will come later.
>
> So I've been working on this today and I hope to have a patch for you
> ready to test soon. So no need for you to spend time on this now,
> that would just be us doing double work.
>
> <snip>
>
>>> Do the original HID descriptors of the receiver perhaps have both a report 2 and
>>> a report 5 and we should add both ?
>>
>> No, I think it only has report ID 5.
>
> So I checked and there are actually both INPUT(2) and INPUT(5) descriptors
> on the mouse USB-device's HID intf.
>
> And looking at the USB ids again, this is not new vs old. This is Dinovo
> vs non Dinovo. It seems that even though the air protocol is the same,
> the Dinovo receivers have some special handling for the kbd touchpad where
> as the non Dinovo receivers just send the same HID reports as for the normal
> mouse.
>
> I paired both the Dinovo Edge + a BT mouse (you can pair any BT mouse,
> just press the pair button on the receiver and then on the mouse) with:
>
> 1. The MX5000 receiver as the RH bugzilla reporter is doing
>
> In this case both the kbd-touchpad and the actual mouse send INPUT(2)
> reports (there is no INPUT(5) in the descriptors).
>
> 2. The Dinovo Edge receiver. In this case the kbd-touchpad sends
> INPUT(5) reports where as the actual mouse sends INPUT(2) reports.
p.s.
There being 2 mouse reports on the mouse intf. also explains why
the hid-logitech-lg.c code needs the special LG_DUPLICATE_USAGES
for the Dinovo receivers. We won't have this issue in the logitech-dj
code since there (with the patch I'm working on) the INPUT(5) reports
will be send to the keyboard hidpp-device where as the INPUT(2) reports
will keep being send to the mouse hidpp-device as usual. So there will
not be a single hidpp device which receives both mouse-reports and
thus no need for something like the LG_DUPLICATE_USAGES quirk.
Regards,
Hans
prev parent reply other threads:[~2020-11-14 14:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-02 13:36 [PATCH 1/3] HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trackpad Hans de Goede
2020-11-02 13:36 ` [PATCH 2/3] HID: logitech-hidpp: Add HIDPP_CONSUMER_VENDOR_KEYS quirk for the Dinovo Edge Hans de Goede
2020-11-02 13:36 ` [PATCH 3/3] HID: Add Logitech Dinovo Edge battery quirk Hans de Goede
2020-11-02 13:44 ` [PATCH 1/3] HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trackpad Hans de Goede
2020-11-10 13:16 ` Hans de Goede
2020-11-10 18:29 ` Benjamin Tissoires
2020-11-11 11:06 ` Hans de Goede
2020-11-12 15:49 ` Benjamin Tissoires
2020-11-14 11:03 ` Hans de Goede
2020-11-14 14:45 ` Hans de Goede [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=e0616b08-41c1-5507-e1e7-44e39ac03fa6@redhat.com \
--to=hdegoede@redhat.com \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=stable@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).