]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: playstation: report DualSense hardware and firmware version.
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Sun, 7 Feb 2021 21:49:08 +0000 (13:49 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 11 Feb 2021 15:57:46 +0000 (16:57 +0100)
commit1f902f8636e499c32f0b55e1ce150082829ef033
tree852fbe4c3fe535e27a134acf75ccfe7fa3c0acac
parent05afe02ac24f3dd75382fa3d1cc7438b5e87bc0a
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: Roderick Colenbrander <roderick.colenbrander@sony.com>
Reviewed-by: Barnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-playstation.c