Linux Input/HID development
 help / color / mirror / Atom feed
From: Sanjay Govind <sanjay.govind9@gmail.com>
To: Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <bentiss@kernel.org>,
	linux-input@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	Rosalie Wanders <rosalie@mailbox.org>,
	Sanjay Govind <sanjay.govind9@gmail.com>
Subject: [PATCH 0/2] HID: sony: fix RB4 PS5 guitar battery handling
Date: Tue,  1 Dec 2026 15:07:03 +1300	[thread overview]
Message-ID: <20261201020704.3545243-2-sanjay.govind9@gmail.com> (raw)

Fix two issues with the battery reporting of Rock Band 4 PS5 guitars:

- Guitars that do not report a battery level send a level of 0x0c,
  which is currently reported as a discharging battery at 100%. Report
  an unknown status instead, as SDL does.
- Every such guitar registers a battery with the same name, so with two
  of them connected, the second guitar fails to probe and is not usable.

Both were tested with a CRKD Gibson SG and a RedOctane Games Gibson
Kramer connected at the same time. Support for these guitars is added
in a separate series that is based on this one.

Sanjay Govind (2):
  HID: sony: handle RB4 PS5 guitars that do not report a battery level
  HID: sony: fix battery name clash between RB4 PS5 guitars

 drivers/hid/hid-sony.c | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)


base-commit: 720806515cb6921ab05caaa6f470f7054b56385e
-- 
2.56.1


             reply	other threads:[~2026-12-01  2:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  2:07 Sanjay Govind [this message]
2026-12-01  2:07 ` [PATCH 1/2] HID: sony: handle RB4 PS5 guitars that do not report a battery level Sanjay Govind
2026-12-01  2:07 ` [PATCH 2/2] HID: sony: fix battery name clash between RB4 PS5 guitars Sanjay Govind
2026-12-01  2:13   ` sashiko-bot
2026-12-01  2:26     ` Sanjay Govind

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=20261201020704.3545243-2-sanjay.govind9@gmail.com \
    --to=sanjay.govind9@gmail.com \
    --cc=bentiss@kernel.org \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rosalie@mailbox.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