steam: apply read/write permissions via udev rules for Steam VR/Controller.

Via https://bugs.launchpad.net/ubuntu/+source/steam/+bug/1498655
This commit is contained in:
Juan RP 2015-10-02 16:49:35 +02:00
parent 4555b81ba2
commit dd4c07a714
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,4 @@
#USB devices
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
# Oculus HID Sensor naming and permissioning
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2833", MODE="0666"

View file

@ -4,7 +4,7 @@ only_for_archs="i686 x86_64"
pkgname=steam
version=1.0.0.50
revision=2
revision=3
wrksrc=steam
depends="xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
repository="nonfree"
@ -25,4 +25,9 @@ do_install() {
# Ignore steamdeps.
ln -sf /bin/true ${DESTDIR}/usr/bin/steamdeps
# Steam Controller support: need read-write access to
# Valve-owned input event device nodes.
# See https://bugs.launchpad.net/ubuntu/+source/steam/+bug/1498655
vinstall ${FILESDIR}/99-steam-controller-perms.rules 644 usr/lib/udev/rules.d
}