[systemd-commits] rules/42-usb-hid-pm.rules
Kay Sievers
kay at kemper.freedesktop.org
Fri Jul 13 15:51:55 PDT 2012
rules/42-usb-hid-pm.rules | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 8432ecabacf15d8b0faf455a99980a42a00b4c08
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Jul 14 00:50:49 2012 +0200
rules: fix typo in 42-usb-hid-pm.rules
<arjan> can you open the 42-usb-hid-pm.rules file
<arjan> and go to line 46
<arjan> and tell me why ATTR{idProduct}="0002" only has one = and not two (e.g. == ) ?
<kay> arjan: yep
<kay> arjan: bug
diff --git a/rules/42-usb-hid-pm.rules b/rules/42-usb-hid-pm.rules
index 9e5f59f..ac671f1 100644
--- a/rules/42-usb-hid-pm.rules
+++ b/rules/42-usb-hid-pm.rules
@@ -43,7 +43,7 @@ ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04b3", ATTR{idProduct}=="4002"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="04b3", ATTR{idProduct}=="4012", TEST=="power/control", ATTR{power/control}="auto"
# Raritan Computer, Inc KVM.
-ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="14dd", ATTR{idProduct}="0002", TEST=="power/control", ATTR{power/control}="auto"
+ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="14dd", ATTR{idProduct}=="0002", TEST=="power/control", ATTR{power/control}="auto"
# USB HID devices that are internal to the machine should also be safe to autosuspend
@@ -52,4 +52,4 @@ ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEMS=="usb", ATTRS{removable}=="unknown",
ACTION=="add", SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="03", ATTRS{removable}=="fixed", TEST=="../power/control", ATTR{../power/control}="auto"
-LABEL="usb_hid_pm_end"
\ No newline at end of file
+LABEL="usb_hid_pm_end"
More information about the systemd-commits
mailing list