Commit 56ff72fd authored by Bastien Nocera's avatar Bastien Nocera

rules: Reduce our list of HID++ devices

Those devices have been supported in the Linux kernel since at least
3.19, so there's no need to try and support those with our user-space
handling.

Closes: #3
parent fb10b80d
Pipeline #35905 passed with stage
in 5 minutes
......@@ -4,11 +4,6 @@ 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment