anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0382-rules-don-t-enable-usb-pm-for-Avocent-devices.patch

84b277
From 35b8533914a82d2ee8a667ec2afac0499dcbfb28 Mon Sep 17 00:00:00 2001
cc2231
From: Tom Hirst <tom.hirst@ipe-systems.co.uk>
cc2231
Date: Wed, 25 Jun 2014 11:57:11 +0000
cc2231
Subject: [PATCH] rules: don't enable usb pm for Avocent devices
cc2231
cc2231
The Avocent KVM over IP devices doesn't work correctly with USB power
cc2231
management enabled.
cc2231
cc2231
(cherry-picked from 52fb538361053f8c4abce0e40cd0bae3d28ceb16)
cc2231
84b277
Resolves: #1155370
cc2231
---
cc2231
 rules/42-usb-hid-pm.rules | 4 ----
cc2231
 1 file changed, 4 deletions(-)
cc2231
cc2231
diff --git a/rules/42-usb-hid-pm.rules b/rules/42-usb-hid-pm.rules
cc2231
index 3fd6e8a..483a781 100644
cc2231
--- a/rules/42-usb-hid-pm.rules
cc2231
+++ b/rules/42-usb-hid-pm.rules
cc2231
@@ -11,10 +11,6 @@ ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Mouse", ATTR{serial}==
cc2231
 ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Tablet", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
cc2231
 ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Keyboard", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
cc2231
 
cc2231
-# Catch-all for Avocent HID devices. Keyed off interface in order to only
cc2231
-# trigger on HID class devices.
cc2231
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0624", ATTR{bInterfaceClass}=="03", TEST=="../power/control", ATTR{../power/control}="auto"
cc2231
-
cc2231
 # Dell DRAC 4
cc2231
 ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="413c", ATTR{idProduct}=="2500", TEST=="power/control", ATTR{power/control}="auto"
cc2231