/usr/lib/gvfs/gvfs-afc-volume-monitor kills polar bears
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu Power Consumption Project |
Fix Released
|
Undecided
|
Unassigned | ||
usbmuxd (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Unassigned | ||
Quantal |
Fix Released
|
Low
|
Unassigned | ||
Raring |
Fix Released
|
Low
|
Unassigned |
Bug Description
* Impact:
On an idle system, powertop shows gvfs-afc-
* Test case:
run powertop and look at the number of wakeups due to gvfs-afc-
* Regression potential:
check that afc devices (ipod, ipad) are still correctly detected with the update
--------------
Binary package hint: gvfs
On an idle system, powertop shows gvfs-afc-
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gvfs-backends 1.6.4-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Wed Oct 6 13:53:41 2010
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gvfs
tags: |
added: lucid oneiric precise quantal removed: maverick |
tags: | added: i386 |
tags: | added: battery-power-consumption |
Changed in ubuntu-power-consumption: | |
status: | New → Fix Released |
The problem can be more precisely trace to libusbmuxd.
To connect to i* devices, gvfs-afc- volume- monitor uses libusbmuxd which talks to the usbmuxd daemon. The latter is normally not present in a system and is automatically launched by udev, when an i* device is connect. gvfs-afc- volume- monitor has no way of knowing when the usbmuxd daemon is launched, so it tries to connect to it every second (see libusbmuxd.c line 151).
I have no idea how this bug could be easily fixed.