Comment 4 for bug 1704998

Revision history for this message
rando (stoically) wrote :

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/<your device id>/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)