systemd/1099-Add-default-rules-for-valve-steam-controller-to-work.patch
2016-01-13 18:13:47 +00:00

35 lines
1.2 KiB
Diff

From e3effecf928405cdd477ae554e2276fb8a7288c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com>
Date: Mon, 30 Nov 2015 14:35:15 +0100
Subject: [PATCH] Add default rules for valve steam controler to work
---
Makefile.am | 1 +
rules/72-valve-steam-controler.rules | 2 ++
2 files changed, 3 insertions(+)
create mode 100644 rules/72-valve-steam-controler.rules
diff --git a/Makefile.am b/Makefile.am
index db206ae..803912c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3524,6 +3524,7 @@ dist_udevrules_DATA += \
rules/60-serial.rules \
rules/64-btrfs.rules \
rules/70-mouse.rules \
+ rules/72-valve-steam-controler.rules \
rules/75-net-description.rules \
rules/78-sound-card.rules \
rules/80-net-setup-link.rules
diff --git a/rules/72-valve-steam-controler.rules b/rules/72-valve-steam-controler.rules
new file mode 100644
index 0000000..f676972
--- /dev/null
+++ b/rules/72-valve-steam-controler.rules
@@ -0,0 +1,2 @@
+# for basic functionality of the controller in Steam and keyboard/mouse emulation
+SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1142", TAG+="uaccess"
--
2.6.3