All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Kosina <jikos@kernel.org>
To: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: "Marek Maślanka" <mm@semihalf.com>,
	linux-input@vger.kernel.org, upstream@semihalf.com
Subject: Re: [PATCH v2] HID: multitouch: Add support for Google Whiskers Touchpad
Date: Thu, 21 Apr 2022 10:25:52 +0200 (CEST)	[thread overview]
Message-ID: <nycvar.YFH.7.76.2204211024490.30217@cbobk.fhfr.pm> (raw)
In-Reply-To: <CAO-hwJKa5t3zaM5a_uLAj3v=uDORAdUqnxUTszNTgQ2wFgXJyw@mail.gmail.com>

On Thu, 21 Apr 2022, Benjamin Tissoires wrote:

> > > The Google Whiskers touchpad does not work properly with the default
> > > multitouch configuration. Instead, use the same configuration as Google
> > > Rose.
> > >
> > > Signed-off-by: Marek Maslanka <mm@semihalf.com>
> > > ---
> > >
> > > Changes in v2:
> > >   - As a HID device group use HID_GROUP_MULTITOUCH_WIN_8.
> > >
> > >  drivers/hid/hid-multitouch.c | 3 +++
> > >  1 file changed, 3 insertions(+)
> > >
> > > diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> > > index 99eabfb4145b..87a92f2654c0 100644
> > > --- a/drivers/hid/hid-multitouch.c
> > > +++ b/drivers/hid/hid-multitouch.c
> > > @@ -2178,6 +2178,9 @@ static const struct hid_device_id mt_devices[] = {
> > >       { .driver_data = MT_CLS_GOOGLE,
> > >               HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_GOOGLE,
> > >                       USB_DEVICE_ID_GOOGLE_TOUCH_ROSE) },
> > > +     { .driver_data = MT_CLS_GOOGLE,
> > > +             HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8,
> > > USB_VENDOR_ID_GOOGLE,
> > > +                     USB_DEVICE_ID_GOOGLE_WHISKERS) },
> >
> > This device is already claimed by google-hammer driver though ... ?
> 
> See my answer at [0].
> 
> hid-google-hammer entry is using the group HID_GROUP_GENERIC, and here
> we use HID_GROUP_MULTITOUCH_WIN_8, so the 2 are not stepping on each
> other's toes.
> 
> FWIW:
> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> 
> Cheers,
> Benjamin
> 
> [0] https://lore.kernel.org/linux-input/CAO-hwJ+18Ce_A8F-QVp=TJj2iu60r=f4MkrktYbou-rkXsj+mA@mail.gmail.com/

Gah, sorry, I missed that one. I've now applied the v2 patch.

-- 
Jiri Kosina
SUSE Labs


      reply	other threads:[~2022-04-21  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 15:04 [PATCH v2] HID: multitouch: Add support for Google Whiskers Touchpad Marek Maślanka
2022-04-21  7:46 ` Jiri Kosina
2022-04-21  7:51   ` Benjamin Tissoires
2022-04-21  8:25     ` Jiri Kosina [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=nycvar.YFH.7.76.2204211024490.30217@cbobk.fhfr.pm \
    --to=jikos@kernel.org \
    --cc=benjamin.tissoires@redhat.com \
    --cc=linux-input@vger.kernel.org \
    --cc=mm@semihalf.com \
    --cc=upstream@semihalf.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.