Linux Input/HID development
 help / color / mirror / Atom feed
From: Matteo Bruni <mbruni@codeweavers.com>
To: Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <bentiss@kernel.org>,
	David Rheinsberg <david@readahead.eu>
Cc: linux-input@vger.kernel.org
Subject: [PATCH 2/2] samples: uhid: use a non-zero version
Date: Thu, 26 Nov 2026 16:39:25 +0100	[thread overview]
Message-ID: <20261126153925.9488-2-mbruni@codeweavers.com> (raw)
In-Reply-To: <20261126153925.9488-1-mbruni@codeweavers.com>

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
---
 samples/uhid/uhid-example.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/uhid/uhid-example.c b/samples/uhid/uhid-example.c
index 015cb06a2..1aa5667ed 100644
--- a/samples/uhid/uhid-example.c
+++ b/samples/uhid/uhid-example.c
@@ -185,7 +185,7 @@ static int create(int fd)
 	ev.u.create.bus = BUS_USB;
 	ev.u.create.vendor = 0x15d9;
 	ev.u.create.product = 0x0a37;
-	ev.u.create.version = 0;
+	ev.u.create.version = 0x100;
 	ev.u.create.country = 0;
 
 	return uhid_write(fd, &ev);
-- 
2.53.0


  reply	other threads:[~2026-11-26 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 15:39 [PATCH 1/2] HID: core: include product version in the uevent Matteo Bruni
2026-11-26 15:39 ` Matteo Bruni [this message]
2026-11-26 15:43   ` [PATCH 2/2] samples: uhid: use a non-zero version sashiko-bot
2026-11-26 15:50 ` [PATCH 1/2] HID: core: include product version in the uevent sashiko-bot

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=20261126153925.9488-2-mbruni@codeweavers.com \
    --to=mbruni@codeweavers.com \
    --cc=bentiss@kernel.org \
    --cc=david@readahead.eu \
    --cc=jikos@kernel.org \
    --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