Linux Input/HID development
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: Jiri Kosina <jikos@kernel.org>
Cc: "Stuart Hayhurst" <stuart.a.hayhurst@gmail.com>,
	linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
	"Benjamin Tissoires" <bentiss@kernel.org>,
	"Filipe Laíns" <lains@riseup.net>
Subject: Re: [PATCH] HID: logitech-hidpp: Remove duplicate ID for the G703 Hero over USB
Date: Mon, 03 Aug 2026 21:09:11 +0200	[thread overview]
Message-ID: <374dc28d39d9247e8d07eb037672f928879b3156.camel@hadess.net> (raw)
In-Reply-To: <s8p49rsp-1772-7rp9-4543-o5762rps432o@xreary.bet>

On Mon, 2026-08-03 at 20:25 +0200, Jiri Kosina wrote:
> On Mon, 27 Jul 2026, Bastien Nocera wrote:
> 
> > > The ID appears to be given twice, remove the duplicate
> > > 
> > > Signed-off-by: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
> > 
> > Indeed, at line 4652:
> >         { /* Logitech G703 Hero Gaming Mouse over USB */
> >           HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC090) },
> >         { /* Logitech G900 Gaming Mouse over USB */
> >           HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC081) },
> >         { /* Logitech G903 Gaming Mouse over USB */
> >           HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC086) },
> >         { /* Logitech G Pro Gaming Mouse over USB */
> >           HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC088) },
> >         { /* MX Vertical over USB */
> >           HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC08A) },
> >         { /* Logitech G703 Hero Gaming Mouse over USB */
> >           HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC090) },
> > 
> > Benjamin, Jiri, is there not a way to detect duplicates like this?
> 
> I think the modern way to do this is to ask some LLM to find all of
> them 
> :)

I meant a deterministic way, so I guess that's a no.

Cheers

> 
> > In any case, looks good to me.
> > 
> > Reviewed-by: Bastien Nocera <hadess@hadess.net>
> 
> Thanks a lot, now queued.

      reply	other threads:[~2026-08-03 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21 17:37 [PATCH] HID: logitech-hidpp: Remove duplicate ID for the G703 Hero over USB Stuart Hayhurst
2026-07-27 13:07 ` Bastien Nocera
2026-08-03 18:25   ` Jiri Kosina
2026-08-03 19:09     ` Bastien Nocera [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=374dc28d39d9247e8d07eb037672f928879b3156.camel@hadess.net \
    --to=hadess@hadess.net \
    --cc=bentiss@kernel.org \
    --cc=jikos@kernel.org \
    --cc=lains@riseup.net \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stuart.a.hayhurst@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox