After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709654 - input devices all named 'Extra'
input devices all named 'Extra'
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Power
3.10.x
Other Linux
: Normal minor
: ---
Assigned To: Richard Hughes
Control-Center Maintainers
3.10.1
Depends on:
Blocks:
 
 
Reported: 2013-10-08 15:44 UTC by Jakub Steiner
Modified: 2013-10-09 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
apple wireless keyboard & apple magicmouse both referred to as 'extra' (153.79 KB, image/png)
2013-10-08 15:44 UTC, Jakub Steiner
  Details
power: Use device models as names (4.00 KB, patch)
2013-10-09 12:59 UTC, Bastien Nocera
committed Details | Review

Description Jakub Steiner 2013-10-08 15:44:33 UTC
Created attachment 256743 [details]
apple wireless keyboard & apple magicmouse both referred to as 'extra'

We don't do a terribly good job labeling devices that are battery powered.
Comment 1 Jakub Steiner 2013-10-08 15:45:48 UTC
I also wonder what's going on with the icon. It's not really recharging in either case, it's fuzzy and there is some weird halo around individual parts of the icon.
Comment 2 Bastien Nocera 2013-10-08 16:12:11 UTC
What's the output of "upower -d" on this machine?
Comment 3 Jakub Steiner 2013-10-08 18:37:27 UTC
jimmac@kratos:~$ upower -d
Device: /org/freedesktop/UPower/devices/battery_hid_e4o8bo7fo19oa3od5_battery
  native-path:          /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/bluetooth/hci0/hci0:41/0005:05AC:0256.0008/power_supply/hid-e4:8b:7f:19:a3:d5-battery
  model:                Apple Wireless Keyboard
  power supply:         no
  updated:              Tue 08 Oct 2013 08:36:01 PM CEST (24 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    percentage:          0%
    capacity:            100%

Device: /org/freedesktop/UPower/devices/battery_hid_58o1foaaof0o34o48_battery
  native-path:          /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/bluetooth/hci0/hci0:42/0005:05AC:030D.004C/power_supply/hid-58:1f:aa:f0:34:48-battery
  model:                Apple Magic Mouse
  power supply:         no
  updated:              Tue 08 Oct 2013 08:36:01 PM CEST (24 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    percentage:          94%
    capacity:            100%
  History (charge):
    1381257355	94.000	discharging
    1381257355	0.000	unknown
  History (rate):
    1381257355	0.000	unknown

Daemon:
  daemon-version:  0.9.21
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  no
  is-docked:       no
Comment 4 Bastien Nocera 2013-10-09 12:58:33 UTC
UPower 0.9.22 (in koji and upstream now) should fix the wrong categorisation of the device (it showed up under the main battery instead of in the devices section).

The patch below will show the model name instead.
Comment 5 Bastien Nocera 2013-10-09 12:59:02 UTC
Created attachment 256801 [details] [review]
power: Use device models as names

And only fallback to the generic "Wireless Mouse" (eg.) when
there's no valid name for it.
Comment 6 Bastien Nocera 2013-10-09 14:59:05 UTC
Attachment 256801 [details] pushed as 76e342e - power: Use device models as names