Login or register    

Steam Controller on Ubuntu

I needed these changes to get my steam controllers to work on Ubuntu 16.04 LTS, but I think the origins of these changes came from Arch linux so you might need them for other Linux distributions.

remove some files to make steam launch

Steam bundles some files that are busted, removing them causes the system ones to be found.

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.*
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.*

udev roles

Edit /lib/udev/rules.d/99-steam-controller-perms.rules and make it look like this:

# This rule is needed for basic functionality of the controller in Steam and keyboard/mouse emulation'/
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"

# This rule is necessary for gamepad emulation
# replace 'games' with a group that the user that runs Steam belongs to
KERNEL=="uinput", MODE="0660", GROUP="games", OPTIONS+="static_node=uinput"

# Valve HID devices over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="28de", MODE="0666"

# Valve HID devices over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"

# DualShock 4 over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c4", MODE="0666"

# DualShock 4 wireless adapter over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ba0", MODE="0666"

# DualShock 4 Slim over USB hidraw
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="09cc", MODE="0666"

# DualShock 4 over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:05C4*", MODE="0666"

# DualShock 4 Slim over bluetooth hidraw
KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0666"
In the first kernel line, replace games group with the group that runs steam.

reload udev rules

Reload udev rules without needing a reboot:

udevadm control --reload-rules

You may also need to unplug and replug your Steam dongle to repair your controller.


source: http://askubuntu.com/a/853765


Leave a comment

Please login or register to leave a comment!