Oh well, at least now I know my way around an URB :-) I found the series of patches, although I have yet to test them (and yet to build a kernel for real...), I didn't see anything dealing with the DualShock 4's touchpad in them. If the touchpad is indeed not supported yet, I still have a problem : I have no idea how to report the touchpad's data to the userspace. For now, I'm reporting the data as 4 axis (for visual feedback), but it is obviously not a solution. If I report it as a mouse, I'm losing the second touch point capability. If I report it as touch events, what I reverse-engineered so far from the protocol doesn't provide absolute coordinates for the x-axis, which seems necessary for touch events. Besides, I don't think most games will notice touch events. If the touchpad is correctly supported, well I guess it's not a problem anymore :-) I'll have to test the patches to be sure, but it might take a while for me to get the kernel rolling (I'm currently on the standard, comfy Debian testing 3.12 kernel)... Jean-Baptiste Boric 2014-02-02 Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>: > On Sat, Feb 01, 2014 at 07:38:09PM +0100, jb b wrote: >> Hello, >> >> I am a total newbie in Linux kernel development (but not in C >> programming), and I started to write a USB driver for the DualShock 4 >> (and also others controllers/equipments for the PlayStation 3/4 while >> I'm at it). >> >> My objective is to sanitize what is reported to the userspace (most >> games don't like 28+ axes all with a value of -32767), add support for >> the trackpad/sound output on the DualShock 4, and (finally!) have >> proper Linux support for the DualShock 3. >> >> So far I managed to report all axes and buttons for the DualShock 4, >> and also the touchpad (currently reported as 4 axis, unsure how to >> deal with it for now...). >> >> I also wrote initial support for : >> Sony DualShock 3 >> Sony Navigation Controller >> Sony Motion Controller >> >> But it's more proof-of-concept than ready to release at this point. > > All of these should already be supported in Linux, DualShock 4 just > landed in Linus's tree a few days ago and will be showing up in 3.14. > > So you might want to take a look at the in-kernel code if you are > curious as to getting these devices working, and if you have any > problems with them, patches area always gladly accepted for making the > drivers better. > > thanks, > > greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html