← Back to team overview

desktop-packages team mailing list archive

[Bug 1449051] Re: Upower doesn't handle bluetooth mice properly

 

redfox7691, i just installed new version of upower on 15.04.
all you need to do is:
1. download sources from 15.10 repo: https://launchpad.net/ubuntu/wily/+source/upower
(https://launchpad.net/ubuntu/+archive/primary/+files/upower_0.99.3.orig.tar.xz)
2. unpack archive
3. check: you must have installed libusb-1.0-dev, and some dependencies.
4. ./configure
(by configuring sources - you can see what dependencies is actually you need, and just install -dev version of it)
5. sudo make
6. sudo make install
7. reboot and enjoy "brand new" icon for M557 mouse in the top right corner of screen.

Thanks to Martin, and other contrubutors.
My current status: 

~ $ upower -v
UPower client version 0.99.3
UPower daemon version 0.99.3

~ $ uname -a
Linux laptop 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

~ $ lsb_release -rd
Description:	Ubuntu 15.04
Release:	15.04

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1449051

Title:
  Upower doesn't handle bluetooth mice properly

Status in Upower:
  Fix Released
Status in upower package in Ubuntu:
  Fix Released
Status in upower package in Debian:
  Fix Released

Bug description:
  I have a bluetooth Logitech M557, and it is being mis-detected by
  Upower as a battery instead of a mouse:

  Device: /org/freedesktop/UPower/devices/battery_hid_00o1fo20of5oabob5_battery
    native-path:          hid-00:1f:20:f5:ab:b5-battery
    model:                Bluetooth Mouse M557
    power supply:         no
    updated:              Mon 27 Apr 2015 10:05:22 AM EDT (13 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               discharging
      warning-level:       none
      energy:              0 Wh
      energy-empty:        0 Wh
      energy-full:         0 Wh
      energy-full-design:  0 Wh
      energy-rate:         0 W
      percentage:          100%
      capacity:            100%
      icon-name:          'battery-full-symbolic'
    History (charge):
      1430143522	100.000	discharging

  
  The patch available in the upstream bug improves the situation by parsing it as a hid device, but then mistakes it for a keyboard:
  https://bugs.freedesktop.org/show_bug.cgi?id=86510

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: upower 0.99.2-2
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 27 10:04:20 2015
  InstallationDate: Installed on 2013-11-26 (516 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  SourcePackage: upower
  UpgradeStatus: Upgraded to vivid on 2015-03-07 (50 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/upower/+bug/1449051/+subscriptions


References