|
|
a9339c |
From 647615bfa4015336eb88f6cb44dc111f1d713df7 Mon Sep 17 00:00:00 2001
|
|
|
a9339c |
From: Michal Sekletar <msekleta@redhat.com>
|
|
|
a9339c |
Date: Wed, 13 Jun 2018 14:33:18 +0200
|
|
|
a9339c |
Subject: [PATCH] rules: disable support for Lenovo IR cameras
|
|
|
a9339c |
|
|
|
a9339c |
Resolves: #1540418
|
|
|
a9339c |
---
|
|
|
a9339c |
Makefile.am | 1 +
|
|
|
a9339c |
rules/40-redhat-disable-lenovo-ir-camera.rules | 6 ++++++
|
|
|
a9339c |
2 files changed, 7 insertions(+)
|
|
|
a9339c |
create mode 100644 rules/40-redhat-disable-lenovo-ir-camera.rules
|
|
|
a9339c |
|
|
|
a9339c |
diff --git a/Makefile.am b/Makefile.am
|
|
|
a9339c |
index 8c73326fa..cbc120dad 100644
|
|
|
a9339c |
--- a/Makefile.am
|
|
|
a9339c |
+++ b/Makefile.am
|
|
|
a9339c |
@@ -3522,6 +3522,7 @@ dist_udevrules_DATA += \
|
|
|
a9339c |
rules/80-net-setup-link.rules \
|
|
|
a9339c |
rules/95-udev-late.rules \
|
|
|
a9339c |
rules/40-redhat.rules \
|
|
|
a9339c |
+ rules/40-redhat-disable-lenovo-ir-camera.rules \
|
|
|
a9339c |
rules/73-idrac.rules \
|
|
|
a9339c |
rules/80-net-name-slot.rules
|
|
|
a9339c |
|
|
|
a9339c |
diff --git a/rules/40-redhat-disable-lenovo-ir-camera.rules b/rules/40-redhat-disable-lenovo-ir-camera.rules
|
|
|
a9339c |
new file mode 100644
|
|
|
a9339c |
index 000000000..ea326d4ab
|
|
|
a9339c |
--- /dev/null
|
|
|
a9339c |
+++ b/rules/40-redhat-disable-lenovo-ir-camera.rules
|
|
|
a9339c |
@@ -0,0 +1,6 @@
|
|
|
a9339c |
+# Disable known IR cameras in Lenovo Notebooks
|
|
|
a9339c |
+SUBSYSTEM=="usb", ATTRS{idVendor}=="5986", ATTRS{idProduct}=="211a", ATTR{authorized}="0"
|
|
|
a9339c |
+SUBSYSTEM=="usb", ATTRS{idVendor}=="5986", ATTRS{idProduct}=="1141", ATTR{authorized}="0"
|
|
|
a9339c |
+SUBSYSTEM=="usb", ATTRS{idVendor}=="04f2", ATTRS{idProduct}=="b605", ATTR{authorized}="0"
|
|
|
a9339c |
+SUBSYSTEM=="usb", ATTRS{idVendor}=="04f2", ATTRS{idProduct}=="b613", ATTR{authorized}="0"
|
|
|
a9339c |
+SUBSYSTEM=="usb", ATTRS{idVendor}=="04f2", ATTRS{idProduct}=="b615", ATTR{authorized}="0"
|
|
|
a9339c |
\ No newline at end of file
|