summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-01-09 10:28:58 +0000
committerRichard Hughes <richard@hughsie.com>2013-01-10 12:08:46 +0000
commitb1f12feb1fd4535255f04c91bef90ae11ce57311 (patch)
tree2d99025ec329b8e295a8c42c9ab15d54f28090bf /rules
parentb188a49a9c9a2521429552c644151ae4a3acdfc6 (diff)
downloadupower-b1f12feb1fd4535255f04c91bef90ae11ce57311.tar.gz
Factor out the Logitech Unifying support to support other devices
Diffstat (limited to 'rules')
-rw-r--r--rules/95-upower-csr.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/95-upower-csr.rules b/rules/95-upower-csr.rules
index 17cb36f..bd171b2 100644
--- a/rules/95-upower-csr.rules
+++ b/rules/95-upower-csr.rules
@@ -20,3 +20,8 @@ ATTR{idVendor}=="046d", ATTR{idProduct}=="c702", ENV{UPOWER_PRODUCT}="Presenter"
LABEL="up_csr_end"
+# Unifying HID++ devices
+SUBSYSTEM!="hid", GOTO="up_unifying_end"
+ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", DRIVER=="logitech-djdevice", ENV{UPOWER_BATTERY_TYPE}="unifying"
+ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", DRIVER=="logitech-djdevice", ENV{UPOWER_BATTERY_TYPE}="unifying"
+LABEL="up_unifying_end"