kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #153807
[Bug 1511855] Re: Some Sony Dualshock 4 controllers do not work in kernel 3.15+
In SteamOS kernel the descriptor size check is skipped entirely.
https://github.com/ValveSoftware/steamos_kernel/commit/7d6f2508304edddc5ab07f87f62b5b267840ab17
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1511855
Title:
Some Sony Dualshock 4 controllers do not work in kernel 3.15+
Status in linux package in Ubuntu:
Incomplete
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1511855/+subscriptions
References