← Back to team overview

kernel-packages team mailing list archive

[Bug 1511855] [NEW] Some Sony Dualshock 4 controllers do not work in kernel 3.15+

 

You have been subscribed to a public bug:

I'm testing in Ubuntu 15.10 with kernel 4.2.0-16.19 but this bug report
actually applies to ALL kernels starting at 3.15 until the current
4.3rc7 and is not limited to Ubuntu.

I have a brand new Sony DualShock 4 that seems to use a slightly
different protocol than the hid-sony driver expects. I'm not sure why
this controller is different. Maybe updated firmware from Sony or maybe
because it has never been connected to a PS4. Whatever the case, the
device descriptor size is different from what hid-sony expects and
because of that it does not remap the descriptor table as required. This
causes only the trackpad to function (the trackpad uses a different code
path) and none of the other controls work. So basically the controller
does not work at all.

I have created a patch that fixes it. I have only tested the patch
against kernel 4.2 and 4.3 but it's simple enough that it should be
trivially portable to any 3.15+ kernel. The attached patch is based
against the Ubuntu mainline-crack git v4.2 kernel.

I posted to the LKML asking if the descriptor size check was even
necessary but never got a response so I left it in.

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New

-- 
 Some Sony Dualshock 4 controllers do not work in kernel 3.15+
https://bugs.launchpad.net/bugs/1511855
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta in Ubuntu.


References