Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH 0/2] HID: sony: fix RB4 PS5 guitar battery handling
@ 2026-12-01  2:07 Sanjay Govind
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Sanjay Govind @ 2026-12-01  2:07 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires, linux-input
  Cc: linux-kernel, Rosalie Wanders, Sanjay Govind

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-01  2:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  2:07 [PATCH 0/2] HID: sony: fix RB4 PS5 guitar battery handling Sanjay Govind
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox