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:
parent
4555b81ba2
commit
dd4c07a714
2 changed files with 10 additions and 1 deletions
4
srcpkgs/steam/files/99-steam-controller-perms.rules
Normal file
4
srcpkgs/steam/files/99-steam-controller-perms.rules
Normal 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"
|
|
@ -4,7 +4,7 @@ only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
pkgname=steam
|
pkgname=steam
|
||||||
version=1.0.0.50
|
version=1.0.0.50
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc=steam
|
wrksrc=steam
|
||||||
depends="xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
|
depends="xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
|
||||||
repository="nonfree"
|
repository="nonfree"
|
||||||
|
@ -25,4 +25,9 @@ do_install() {
|
||||||
|
|
||||||
# Ignore steamdeps.
|
# Ignore steamdeps.
|
||||||
ln -sf /bin/true ${DESTDIR}/usr/bin/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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue