]> git.baikalelectronics.ru Git - kernel.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>
Wed, 17 Feb 2021 17:34:49 +0000 (18:34 +0100)
commit6e2657656216523bf8850b0e9afda87723e27150
tree7af6fa14bbe6de8295dd2ab65d3c66179829f1f5
parent1e44d752729d33bf5bc720336f6363e39869d983
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