diff --git a/hid-xpadneo/dkms.post_install b/hid-xpadneo/dkms.post_install index e1d0cdda..519d2776 100755 --- a/hid-xpadneo/dkms.post_install +++ b/hid-xpadneo/dkms.post_install @@ -26,6 +26,7 @@ echo "Installing modalias database..." install -D -m 0644 -t /etc/modprobe.d etc-modprobe.d/xpadneo.conf echo "Installing udev rules..." +install -D -m 0644 -t /etc/udev/rules.d etc-udev-rules.d/50-xpadneo-fixup-steamlink.rules install -D -m 0644 -t /etc/udev/rules.d etc-udev-rules.d/60-xpadneo.rules echo "Reloading udev..." diff --git a/hid-xpadneo/dkms.post_remove b/hid-xpadneo/dkms.post_remove index 74ec0bce..42b74ca9 100755 --- a/hid-xpadneo/dkms.post_remove +++ b/hid-xpadneo/dkms.post_remove @@ -10,6 +10,7 @@ rm -f /etc/modprobe.d/xpadneo.conf echo "Uninstalling udev rules..." rm -f /etc/udev/rules.d/60-xpadneo.rules +rm -f /etc/udev/rules.d/50-xpadneo-fixup-steamlink.rules echo "Reloading udev..." udevadm control --reload diff --git a/hid-xpadneo/etc-udev-rules.d/50-xpadneo-fixup-steamlink.rules b/hid-xpadneo/etc-udev-rules.d/50-xpadneo-fixup-steamlink.rules new file mode 100644 index 00000000..880b7cf8 --- /dev/null +++ b/hid-xpadneo/etc-udev-rules.d/50-xpadneo-fixup-steamlink.rules @@ -0,0 +1,2 @@ +#FIXME(issue-291) Work around Steamlink not properly detecting the mappings +ACTION=="add|change", DRIVERS=="xpadneo", SUBSYSTEM=="hidraw", MODE:="0600"