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

2019-01-31 Thread rando
This issue no longer persists with the latest upower version 0.99.7
(Ubuntu 18.04 LTS).

** Changed in: upower (Ubuntu)
   Status: New => Fix Released

-- 
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:
  Fix Released

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 9
    bDescriptorType33
    bcdHID   1.11
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  59
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  

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

2017-07-21 Thread rando
Thanks for the information.

I've checked the kern.log and other logs in /var/log but nothing
relevant showed up (to be exact no log-entries at all when the LEDs
light up).

Like you suggested I've also tested it with my notebook and it shows the
same behavior with a fully upgraded Ubuntu 16.04.2 LTS.

-- 
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 9
    bDescriptorType33
    bcdHID   1.11
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  59
   Report Descriptors:
     ** 

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

2017-07-20 Thread rando
And sorry for the spam but I just wanted to clarify that the LEDs only
light up every 2 minutes if the mouse is inactive (not moved). It can
therefore take up to 4 minutes before the LEDs light up the first time.
I updated the initial description accordingly.

-- 
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 9
    bDescriptorType33
    bcdHID   1.11
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  59
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:

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

2017-07-20 Thread rando
Whoops. First line of the workaround is wrong, it should be:

# copy /etc/apt/sources.list to /etc/apt/sources.list.d/trusty.list

** Description changed:

  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'
  
- Here is the output from "lsusb -v" for the Logitech Unifying Receiver in
- use:
+ 
+ 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 9
    bDescriptorType33
    bcdHID   1.11
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  59
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  

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

2017-07-20 Thread rando
Thanks for your reply and testing with your setup!

I checked for suspend settings for USB devices and found that it's
possible to change the value in the "/sys/bus/usb/devices//power/autosuspend" file to "0". Unfortunately this didn't fix the
problem. I'm not aware of any other power management settings that might
cause this behavior. Since I tried with a 16.04 and 17.04 "LiveBuild"
the LEDs also light up with default power management settings. If you
have any idea which setting to check I would be happy to test it. To
make sure it's not the USB Hub I connected the Unifying Receiver to
another USB Port directly on the PC but that didn't help either.

The kernel version (and with that the HID driver) don't seem to cause
the behavior since it happens with 3.13.0, 4.4.0 and 4.10 - and it
doesn't happen in recovery mode / with upower disabled.

How did you check the firmware build? The only information related to
firmware I was able to find where provided 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

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


For now I use a workaround that's not the best, but it does the job. Using 
package pinning I downgraded upower and gnome-power-manager to the Ubuntu 14.02 
versions.

# copy /etc/apt/sources.list to /etc/apt/sources.list.d/trusty and
replace all occurrences of "xenial" with "trusty"

# add /etc/apt/preferences.d/performancemx file with content:

Package: upower
Pin: release n=trusty
Pin-Priority: 990

Package: gnome-power-manager
Pin: release n=trusty
Pin-Priority: 990

Package: *
Pin: release n=xenial
Pin-Priority: 900

Package: *
Pin: release o=Ubuntu
Pin-Priority: -10

# update and downgrade the packages

apt update
apt install upower=0.9.23-2ubuntu1 gnome-power-manager=3.8.2-1ubuntu2

(based on https://askubuntu.com/a/103338/711321)

-- 
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'

  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

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

2017-07-20 Thread rando
** Description changed:

  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).
+ 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'
  
  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
    wDescriptorLength  59
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0008  1x 8 bytes
  bInterval   8
  

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

2017-07-19 Thread rando
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.

-- 
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
    wDescriptorLength  59
    

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

2017-07-18 Thread rando
Public bug reported:

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
  wDescriptorLength  59
 Report Descriptors:
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval   8
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  2 Mouse
  iInterface  0
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1