Blame SOURCES/0652-rules-disable-support-for-Dell-IR-cameras.patch

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