From: Kay Sievers Date: Fri, 13 Jul 2012 22:50:49 +0000 (+0200) Subject: rules: fix typo in 42-usb-hid-pm.rules X-Git-Tag: v187~83 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8432ecabacf15d8b0faf455a99980a42a00b4c08;ds=sidebyside rules: fix typo in 42-usb-hid-pm.rules can you open the 42-usb-hid-pm.rules file and go to line 46 and tell me why ATTR{idProduct}="0002" only has one = and not two (e.g. == ) ? arjan: yep arjan: bug --- diff --git a/rules/42-usb-hid-pm.rules b/rules/42-usb-hid-pm.rules index 9e5f59fc6..ac671f11f 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"