steam: add steam-input.rules and steam-vr.rules
This commit is contained in:
parent
223d4833ab
commit
5245c60bce
3 changed files with 94 additions and 2 deletions
64
srcpkgs/steam/files/60-steam-input.rules
Normal file
64
srcpkgs/steam/files/60-steam-input.rules
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
# Valve USB devices
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
|
||||||
|
# Steam Controller udev write access
|
||||||
|
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess"
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
# Nintendo Switch Pro Controller over USB hidraw
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0666"
|
||||||
|
|
||||||
|
# Nintendo Switch Pro Controller over bluetooth hidraw
|
||||||
|
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0666"
|
||||||
|
|
||||||
|
# Nacon PS4 Revolution Pro Controller
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="146b", ATTRS{idProduct}=="0d01", MODE="0666"
|
||||||
|
|
||||||
|
# Razer Raiju PS4 Controller
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="1000", MODE="0666"
|
||||||
|
|
||||||
|
# Razer Panthera Arcade Stick
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0401", MODE="0666"
|
||||||
|
|
||||||
|
# Mad Catz - Street Fighter V Arcade FightPad PRO
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8250", MODE="0666"
|
||||||
|
|
||||||
|
# Mad Catz - Street Fighter V Arcade FightStick TE S+
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0738", ATTRS{idProduct}=="8384", MODE="0666"
|
||||||
|
|
||||||
|
# EMiO Elite Controller for PS4
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="1cf6", MODE="0666"
|
||||||
|
|
||||||
|
# HORI RAP4
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="008a", MODE="0666"
|
||||||
|
|
||||||
|
# HORIPAD 4 FPS
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0055", MODE="0666"
|
||||||
|
|
||||||
|
# HORIPAD 4 FPS Plus
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0f0d", ATTRS{idProduct}=="0066", MODE="0666"
|
||||||
|
|
||||||
|
# Armor Armor 3 Pad PS4
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0c12", ATTRS{idProduct}=="0e10", MODE="0666"
|
||||||
|
|
||||||
|
# STRIKEPAD PS4 Grip Add-on
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="05c5", MODE="0666"
|
24
srcpkgs/steam/files/60-steam-vr.rules
Normal file
24
srcpkgs/steam/files/60-steam-vr.rules
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8a12", TAG+="uaccess"
|
||||||
|
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="2c87", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0306", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0309", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="030a", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="030b", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="030c", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="030e", TAG+="uaccess"
|
||||||
|
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1043", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1142", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2000", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2010", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2011", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2012", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2021", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2022", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2050", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2101", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2150", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2300", TAG+="uaccess"
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2301", TAG+="uaccess"
|
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'steam'
|
# Template file for 'steam'
|
||||||
pkgname=steam
|
pkgname=steam
|
||||||
version=1.0.0.55
|
version=1.0.0.55
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc=steam
|
wrksrc=steam
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
depends="zenity xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
|
depends="zenity xz curl dbus freetype gdk-pixbuf hicolor-icon-theme desktop-file-utils liberation-fonts-ttf"
|
||||||
repository="nonfree"
|
|
||||||
short_desc="Digital distribution client bootstrap package - Valve's steam client"
|
short_desc="Digital distribution client bootstrap package - Valve's steam client"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="Proprietary license"
|
license="Proprietary license"
|
||||||
homepage="https://steampowered.com/"
|
homepage="https://steampowered.com/"
|
||||||
distfiles="http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${version}.tar.gz"
|
distfiles="http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${version}.tar.gz"
|
||||||
checksum=c303a610ebd7e392f5027b22ee0b64bf178344bd979bef473046c57c3599a1af
|
checksum=c303a610ebd7e392f5027b22ee0b64bf178344bd979bef473046c57c3599a1af
|
||||||
|
repository="nonfree"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
@ -28,4 +28,8 @@ do_install() {
|
||||||
# Valve-owned input event device nodes.
|
# Valve-owned input event device nodes.
|
||||||
# See https://bugs.launchpad.net/ubuntu/+source/steam/+bug/1498655
|
# See https://bugs.launchpad.net/ubuntu/+source/steam/+bug/1498655
|
||||||
vinstall ${FILESDIR}/99-steam-controller-perms.rules 644 usr/lib/udev/rules.d
|
vinstall ${FILESDIR}/99-steam-controller-perms.rules 644 usr/lib/udev/rules.d
|
||||||
|
|
||||||
|
# Device support for Steam-related hardware (e.g. controllers over Steam Link)
|
||||||
|
vinstall ${FILESDIR}/60-steam-input.rules 644 usr/lib/udev/rules.d
|
||||||
|
vinstall ${FILESDIR}/60-steam-vr.rules 644 usr/lib/udev/rules.d
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue