Flashing LEDs (~2min interval) on Logitech Performance MX (USB Wireless) Mouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upower (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
Since my upgrade from Ubuntu 14.04 to 16.04.2 LTS the battery indicator LEDs on my Logitech Performance MX Mouse light up about every 120 seconds when the mouse is inactive (no movement). Depending on the charging level 1, 2 or 3 LEDs light up green. When I boot into recovery mode or disable upower after a normal boot this behaviour doesn't occur. The expected behaviour is that the LEDs do not light up every 2 minutes but instead only when the charging levels drop from "3 to 2 LEDs" and "2 to 1 LEDs" - that's how it works with Ubuntu 14.04 (and Windows 10).
Using the usbmon module I captured the usb traffic and when the LEDs light up the following is logged by "cat /sys/kernel/
ffff8807a16
ffff8807a16
ffff88074c5
ffff88074c5
ffff8807f43
ffff8807f43
ffff88074c5
ffff88074c5
"upower --monitor-detail" shows the following when the LEDs light up:
[10:22:41.041] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Logitech, Inc.
model: Performance MX
serial: F8A45D1F
power supply: no
updated: Tue 18 Jul 2017 10:22:40 AM UTC (1 seconds ago)
has history: yes
has statistics: no
mouse
present: yes
rechargeable: yes
state: discharging
warning-
percentage: 55%
icon-name: 'battery-
Information from solaar:
Index : 2
Wireless PID : 101A
Protocol : HID++ 1.0
Polling rate : 8 ms (125Hz)
Serial : F8A45D1F
Firmware : 15.01.B0062
Bootloader : 02.11
Other : 00.09
Notifications: battery status
Here is the output from "lsusb -v" for the Logitech Unifying Receiver in use:
Bus 002 Device 009: ID 046d:c52b Logitech, Inc. Unifying Receiver
Device Descriptor:
bLength 18
bDescript
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSu
bDevicePr
bMaxPacke
idVendor 0x046d Logitech, Inc.
idProduct 0xc52b Unifying Receiver
bcdDevice 12.01
iManufacturer 1 Logitech
iProduct 2 USB Receiver
iSerial 0
bNumConfi
Configuration Descriptor:
bLength 9
(Bus Powered)
Remote Wakeup
MaxPower 98mA
Interface Descriptor:
bLength 9
HID Device Descriptor:
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
Synch Type None
Usage Type Data
Interface Descriptor:
bLength 9
HID Device Descriptor:
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
Synch Type None
Usage Type Data
Interface Descriptor:
bLength 9
HID Device Descriptor:
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
Synch Type None
Usage Type Data
Device Status: 0x0000
(Bus Powered)
If you have any idea how to disable or fix that behaviour please let me know.
If any informations are missing please let me know.
Thanks for your efforts!
Best regards
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: upower 0.99.4-2ubuntu0.3
ProcVersionSign
Uname: Linux 4.8.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CasperVersion: 1.376.2
CurrentDesktop: Unity
Date: Tue Jul 18 10:08:50 2017
LiveMediaBuild: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upower
UpgradeStatus: No upgrade log present (probably fresh install)
One thing I noticed is that if the mouse battery level is low enough (I guess it's 5% or lower) the "upower -d" details show "warning-level: low" and the LEDs wont light up anymore all 2 minutes (until the battery is so low that the LEDs light up and pulse red, but that's wanted behavior). In the "warning-level: low" state the "Device changed" updates from "upower --monitor-detail" increase to every ~30seconds.
Also I tried with a 17.04 LiveBuild and it shows the same behavior.
On the Ubuntu Forums (https:/ /ubuntuforums. org/showthread. php?t=2365880) someone mentioned that the Logitech MX Master (which also has 3 LEDs) doesn't show this behavior at all.