On Tue, 2025-06-03 at 12:56 +0300, Egor Vorontsov wrote: > I have figured out the DualSense pairing to be pretty similar to that > of DualShock 4. Successfully tested with a DualSense, from CLI and > via GNOME Control Center. > > As a side discussion, don't we also have to add the DS4 constant > at L398 (that's with this patch) for it to be supported as well? > An article at Gentoo Wiki [1] suggests that DS4 pairing cannot > currently be done the cable way. I don't currently have a way to > verify this myself, though. > > [1]: https://wiki.gentoo.org/wiki/Sony_DualShock#DualShock_4 My guess is that the DS4 cable-pairing support stopped working when the kernel migrated from hid-sony to hid-playstation (and devices changed names...). I sent patches which fix that in my local testing. > > Egor Vorontsov (2): > profiles/input: Add cable pairing constants for DualSense > plugins/sixaxis: Implement cable pairing for DualSense > > plugins/sixaxis.c | 107 > +++++++++++++++++++++++++++++++++++++-- > profiles/input/server.c | 3 +- > profiles/input/sixaxis.h | 25 +++++++++ > 3 files changed, 131 insertions(+), 4 deletions(-)