Summary: | Logitech MX Master (Unifying adapter) no power info | ||
---|---|---|---|
Product: | upower | Reporter: | Marc Pignat <marc> |
Component: | general | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | major | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Marc Pignat
2016-05-04 12:47:30 UTC
Same problem. Arch Linux 64 bits UPower client version 0.99.5 UPower daemon version 0.99.5 Gnome Shell 3.22.2 on X $ upower -d Device: /org/freedesktop/UPower/devices/mouse_0003o046Do4041x0004 native-path: /sys/devices/pci0000:00/0000:00:1a.1/usb6/6-1/6-1:1.2/0003:046D:C52B.0003/0003:046D:4041.0004 vendor: Logitech, Inc. model: MX Master serial: 4B7F4712 power supply: no updated: mar 24 ene 2017 20:42:40 CET (119 seconds ago) has history: yes has statistics: no mouse present: yes rechargeable: yes state: unknown warning-level: none percentage: 0% icon-name: 'battery-missing-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: no updated: mar 24 ene 2017 10:07:32 CET (38227 seconds ago) has history: no has statistics: no unknown warning-level: none icon-name: '' Daemon: daemon-version: 0.99.5 on-battery: no lid-is-closed: no lid-is-present: no critical-action: PowerOff Kernel v4.9.5-1-ck-nehalem Same problem with "Logitech Performance MX" and "Logitech MX Master". With kernel v4.10.7 on Arch Linux. $ lsusb ... Bus 004 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver ... If I unplug and reconnect the Unifying Receiver then it detects it: $ upower -d Device: /org/freedesktop/UPower/devices/mouse_0003o046Do101Ax000A native-path: /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0009/0003:046D:101A.000A vendor: Logitech, Inc. model: Performance MX serial: 8A8C5B04 power supply: no updated: vie 31 mar 2017 11:19:51 CEST (110 seconds ago) has history: yes has statistics: no mouse present: yes rechargeable: yes state: discharging warning-level: none percentage: 90% icon-name: 'battery-full-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: no updated: vie 31 mar 2017 10:40:51 CEST (2450 seconds ago) has history: no has statistics: no unknown warning-level: none icon-name: '' Daemon: daemon-version: 0.99.5 on-battery: no lid-is-closed: no lid-is-present: no critical-action: PowerOff But when I reboot "upower" doesn't detect it. I think the problem is in missing udev rule. Try to add in file /lib/udev/rules.d/95-upower-csr.rules below line: "# These devices bind to the hid-logitech-hidpp module since Linux 3.19" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", ENV{UPOWER_BATTERY_TYPE}="lg-wireless" and then restart computer. If this does not work then add above line: "# These devices bind to the hid-logitech-hidpp module since Linux 3.19" ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", DRIVER=="logitech-djdevice", ENV{UPOWER_BATTERY_TYPE}="unifying" and restart computer. not working on ubuntu 16.04 LTS with HWE kernel... Please test again using kernel >= 4.7 and UPower >= 0.99.5. The kernel now processes the battery information itself, and presents it to user-space. UPower 0.99.5 has code to not try to prod the devices itself. It should be much more accurate. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/upower/upower/issues/39. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.