Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c0bf9e6 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Todd Kjos
Browse files

BACKPORT: HID: playstation: report DualSense hardware and firmware version.



Retrieve DualSense hardware and firmware information using a vendor
specific feature report. Report the data through sysfs and also
report using hid_info as there can be signficant differences between
versions.

Signed-off-by: default avatarRoderick Colenbrander <roderick.colenbrander@sony.com>
Reviewed-by: default avatarBarnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>

Bug: 167947264
Change-Id: I9a8e338d1a9726510194a4d41911dda8bb6371fc
(cherry picked from commit 0b25b55d34f554b43a679e7e1303beb973b63e27)
[roderick: Modified "show" calls to use snprintf instead of sysfs_emit]
Signed-off-by: default avatarRoderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: default avatarFarid Chahla <farid.chahla@sony.com>
parent 8d5f8d63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment