[Touch-packages] [Bug 1704998] Re: Flashing LEDs (~2min interval) on Logitech Performance MX (USB Wireless) Mouse

2017-07-21 Thread Olivier Gay
> How did you check the firmware build? The only information related to
firmware I was able to find where provided from solaar

solaar is a good way to get the device build number.

> Could you also provide the version ("iConfiguration" in "lsusb -v") of
your Unifying Receiver?

It seems my mouse is a slightly older version. You have build 62 for the
mouse and build 19 for the receiver. My mouse has build 60 for the mouse
and build 17 for the receiver.

Did you check if there is any interesting kernel messages
(/var/log/kern.log) when upower issues the "device changed" message
every 120 s? By any chance did you try it on another computer?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1704998

Title:
  Flashing LEDs (~2min interval) on Logitech Performance MX (USB
  Wireless) Mouse

Status in upower package in Ubuntu:
  New

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/debug/usb/usbmon/2u":

  8807a16ddd80 290929349 S Co:2:009:0 s 21 09 0210 0002 0007 7 = 
10018107 00
  8807a16ddd80 290929492 C Co:2:009:0 0 7 >
  88074c55b180 290932022 C Ii:2:009:3 0:2 7 = 10018f81 070900
  88074c55b180 290932033 S Ii:2:009:3 -115:2 32 <
  8807f4332540 296834836 S Co:2:009:0 s 21 09 0210 0002 0007 7 = 
10028107 00
  8807f4332540 296835012 C Co:2:009:0 0 7 >
  88074c55b180 298689874 C Ii:2:009:3 0:2 7 = 10028107 05
  88074c55b180 298689892 S Ii:2:009:3 -115:2 32 <

  
  "upower --monitor-detail" shows the following when the LEDs light up:

    [10:22:41.041]  device changed: 
/org/freedesktop/UPower/devices/mouse_0003o046Do101Ax0006
  native-path:  
/sys/devices/pci:00/:00:1d.0/usb2/2-1/2-1.8/2-1.8.4/2-1.8.4:1.2/0003:046D:C52B.0004/0003:046D:101A.0006
  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-level:   none
    percentage:  55%
    icon-name:  'battery-good-symbolic'

  
  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:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc52b Unifying Receiver
    bcdDevice   12.01
    iManufacturer   1 Logitech
    iProduct2 USB Receiver
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   84
  bNumInterfaces  3
  bConfigurationValue 1
  iConfiguration  4 RQR12.01_B0019
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  1 Keyboard
    iInterface  0
  HID Device Descriptor:
    bLength

[Touch-packages] [Bug 1704998] Re: Flashing LEDs (~2min interval) on Logitech Performance MX (USB Wireless) Mouse

2017-07-20 Thread Olivier Gay
Hi,

I checked the MX Performance with Ubuntu 16.04.2 LTS. I don't see the
issue on my system.

I can see the "device changed" from upower every 2 min or so, the battery 
percentage is correctly reported
and the LED are not light up. I checked at 20% percentage battery level and at 
90% both when mouse is discharging.

For information, Linux 4.8.0-58-generic #63~16.04.1-Ubuntu SMP, upower
0.99.4-2ubuntu0.3, amd64. (All Ubuntu packages were upgraded to their
latest version). MX Performance firmware build is 60.

Note that Ubuntu was installed directly and all packages are up to date.
Do you have any suspend settings  that could temporarily put the USB
receiver into sleep?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1704998

Title:
  Flashing LEDs (~2min interval) on Logitech Performance MX (USB
  Wireless) Mouse

Status in upower package in Ubuntu:
  New

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. 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/debug/usb/usbmon/2u":

  8807a16ddd80 290929349 S Co:2:009:0 s 21 09 0210 0002 0007 7 = 
10018107 00
  8807a16ddd80 290929492 C Co:2:009:0 0 7 >
  88074c55b180 290932022 C Ii:2:009:3 0:2 7 = 10018f81 070900
  88074c55b180 290932033 S Ii:2:009:3 -115:2 32 <
  8807f4332540 296834836 S Co:2:009:0 s 21 09 0210 0002 0007 7 = 
10028107 00
  8807f4332540 296835012 C Co:2:009:0 0 7 >
  88074c55b180 298689874 C Ii:2:009:3 0:2 7 = 10028107 05
  88074c55b180 298689892 S Ii:2:009:3 -115:2 32 <

  "upower --monitor-detail" shows the following when the LEDs light up:

    [10:22:41.041]  device changed: 
/org/freedesktop/UPower/devices/mouse_0003o046Do101Ax0006
  native-path:  
/sys/devices/pci:00/:00:1d.0/usb2/2-1/2-1.8/2-1.8.4/2-1.8.4:1.2/0003:046D:C52B.0004/0003:046D:101A.0006
  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-level:   none
    percentage:  55%
    icon-name:  'battery-good-symbolic'

  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:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc52b Unifying Receiver
    bcdDevice   12.01
    iManufacturer   1 Logitech
    iProduct2 USB Receiver
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   84
  bNumInterfaces  3
  bConfigurationValue 1
  iConfiguration  4 RQR12.01_B0019
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  1 Keyboard
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.11
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report