diff options
Diffstat (limited to 'rules/95-upower-hidpp.rules')
-rw-r--r-- | rules/95-upower-hidpp.rules | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/rules/95-upower-hidpp.rules b/rules/95-upower-hidpp.rules new file mode 100644 index 0000000..d7114b8 --- /dev/null +++ b/rules/95-upower-hidpp.rules @@ -0,0 +1,14 @@ +############################################################################################################## +# Unifying HID++ devices +SUBSYSTEM!="hid", GOTO="up_unifying_end" +# Kernel provides the battery information already +ATTRS{idVendor}=="046d", TEST=="builtin_power_supply", GOTO="up_unifying_end" +ATTRS{idVendor}=="046d", ENV{UPOWER_VENDOR}="Logitech, Inc." +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" +# These devices bind to the hid-logitech-hidpp module since Linux 3.19 +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", DRIVER=="logitech-hidpp-device", ENV{UPOWER_BATTERY_TYPE}="unifying" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", DRIVER=="logitech-hidpp-device", ENV{UPOWER_BATTERY_TYPE}="unifying" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52f", ENV{UPOWER_BATTERY_TYPE}="lg-wireless" +ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c531", ENV{UPOWER_BATTERY_TYPE}="lg-wireless" +LABEL="up_unifying_end" |