[Partially Solved] Support for PS4 Controller under Steam Client Beta not working at all under Linux

[github.com]

# DualShock 4 wired

SUBSYSTEM=="usb", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"

# DualShock 4 wireless adapter

SUBSYSTEM=="usb", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"

# DualShock 4 slim wired

SUBSYSTEM=="usb", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"

sudo udevadm control --reload-rules

Tested under ubuntu 16.04. Activating the option in the controller menu and reconnecting the DS4 makes it unusable (except for the fact that the home button still calls Steam from the desktop). This behavior is presented no matter the connection (USB or bluetooth gives the same result).This is in a machine I have never used any third party driver or software for the DS4 to work.At the moment, the only solution is to disable the option to return the controller to a functional state.Is there a missing rule or configuration at the OS level? Or is the functionality just missing on Linux?---------------Update:Ok, so I found out that what was missing were udev rules for the PS4 controller to work, so the following lines should be added to this file(as root - remember to make a backup of the original file outside the rules.d folder):After done, the change can be applied without rebooting by using the command:This will make the PS4 controller work as expected through a wired usb connection (and should also work with the official Sony wireless adapter), but standard bluetooth connection is still missing (I'm still trying to find a rule that make it work).