ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
aed857
From e2a2326a283fe38463e637e34205c50ec3066424 Mon Sep 17 00:00:00 2001
aed857
From: Michal Sekletar <msekleta@redhat.com>
aed857
Date: Wed, 18 Jul 2018 14:36:17 +0200
aed857
Subject: [PATCH] rules: disable support for Dell IR cameras
aed857
aed857
Resolves: #1591316
aed857
---
aed857
 Makefile.am                                  | 1 +
aed857
 rules/40-redhat-disable-dell-ir-camera.rules | 2 ++
aed857
 2 files changed, 3 insertions(+)
aed857
 create mode 100644 rules/40-redhat-disable-dell-ir-camera.rules
aed857
aed857
diff --git a/Makefile.am b/Makefile.am
c62b8e
index cbc120dade..40ebbe98ee 100644
aed857
--- a/Makefile.am
aed857
+++ b/Makefile.am
aed857
@@ -3523,6 +3523,7 @@ dist_udevrules_DATA += \
aed857
 	rules/95-udev-late.rules \
aed857
 	rules/40-redhat.rules \
aed857
 	rules/40-redhat-disable-lenovo-ir-camera.rules \
aed857
+	rules/40-redhat-disable-dell-ir-camera.rules \
aed857
 	rules/73-idrac.rules \
aed857
         rules/80-net-name-slot.rules
aed857
 
aed857
diff --git a/rules/40-redhat-disable-dell-ir-camera.rules b/rules/40-redhat-disable-dell-ir-camera.rules
aed857
new file mode 100644
c62b8e
index 0000000000..2806482a58
aed857
--- /dev/null
aed857
+++ b/rules/40-redhat-disable-dell-ir-camera.rules
aed857
@@ -0,0 +1,2 @@
aed857
+# Disable known IR cameras in Dell Notebooks
aed857
+SUBSYSTEM=="usb", ATTRS{idVendor}=="0BDA", ATTRS{idProduct}=="58F6", ATTR{authorized}="0"