# \[PATCH v6 00/13\] HID: new driver for PS5 'DualSense' controller

- From: Roderick Colenbrander \<hidden\>
- Date: 2021-02-07 21:50:12 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/02/8932544
- Thread: https://ratatoskr.run/linux-input/2021/02/8932544/t.md

```text
From: Roderick Colenbrander <roderick.colenbrander@sony.com>

Hi,

This is an updated version with a few small changes suggested by
by Barnabás and Benjamin. It is mostly a few additional checks and
a few checkpath related changes.

Changes since v5:
- Fixed a couple of checkpath warnings.
- Renamed firmware_/hardware_version show functions.
- Used DEVICE_ATTR_RO for firmware/hardware_version show functions.
- Changed player_ids array to static const.
- Added error check for power_supply_powers.
- Ensured devm_kasprintf return value is checked.

Thanks,

Roderick Colenbrander
Sony Interactive Entertainment, LLC

Roderick Colenbrander (13):
  HID: playstation: initial DualSense USB support.
  HID: playstation: use DualSense MAC address as unique identifier.
  HID: playstation: add DualSense battery support.
  HID: playstation: add DualSense touchpad support.
  HID: playstation: add DualSense accelerometer and gyroscope support.
  HID: playstation: track devices in list.
  HID: playstation: add DualSense Bluetooth support.
  HID: playstation: add DualSense classic rumble support.
  HID: playstation: add DualSense lightbar support
  HID: playstation: add microphone mute support for DualSense.
  HID: playstation: add DualSense player LEDs support.
  HID: playstation: DualSense set LEDs to default player id.
  HID: playstation: report DualSense hardware and firmware version.

 MAINTAINERS                   |    6 +
 drivers/hid/Kconfig           |   21 +
 drivers/hid/Makefile          |    1 +
 drivers/hid/hid-ids.h         |    1 +
 drivers/hid/hid-playstation.c | 1504 +++++++++++++++++++++++++++++++++
 5 files changed, 1533 insertions(+)
 create mode 100644 drivers/hid/hid-playstation.c

-- 
2.26.2

```
