daandemeyer / rpms / systemd

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