chiark / gitweb /
rules: fix typo in 42-usb-hid-pm.rules
authorKay Sievers <kay@vrfy.org>
Fri, 13 Jul 2012 22:50:49 +0000 (00:50 +0200)
committerKay Sievers <kay@vrfy.org>
Fri, 13 Jul 2012 22:50:49 +0000 (00:50 +0200)
<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

rules/42-usb-hid-pm.rules

index 9e5f59fc683792b1a8503d771d76b175219c04a9..ac671f11f31579846fe91d86753e1e6396f4514d 100644 (file)
@@ -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"