MTP looping between start and stopping causing constant ~10% cpu load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
mtp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mtp (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When unplugged from USB, I notice when running $ top that init, dbus-daemon, mpdecision are constantly using in total ~10% CPU.
The steps I have performed to cause this:
1) Ensure the device is off
2) Plug a USB cable into the device and a computer with MTP support
3) Boot the device
4) Unlock the device, run the terminal and the command $ top
5) Wait until the CPU settles, then unplug the USB cable
6) Now notice that init, dbus-daemon, mpdecision start using ~10% CPU
This is the output from running dbus-monitor [0]
Note that when I plugged my device into a PC the CPU usage reduced back to normal, but then when I unplugged it again it increased back to ~10% again.
0 - http://
$ system-image-cli -i
current build number: 161
device name: mako
channel: ubuntu-
alias: ubuntu-
last update: 2015-01-13 18:37:40
version version: 161
version ubuntu: 20150113
version device: 20141119
version custom: mako-1.1
Related branches
- Ricardo Salveti (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 22 lines (+7/-2)1 file modifieddebian/mtp-server.conf (+7/-2)
description: | updated |
Changed in mtp (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
status: | Confirmed → Triaged |
Changed in mtp (Ubuntu): | |
importance: | High → Undecided |
status: | Triaged → Confirmed |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww05-2015 |
status: | New → Confirmed |
Changed in mtp (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in mtp (Ubuntu RTM): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Released |
Note my PC is running utopic with the following mtp version
$ lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10
$ uname -a Performance 3.19.0- 031900rc4- generic #201501112135 SMP Sun Jan 11 21:36:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Linux andy-Pangolin-
$ apt-cache policy libmtp9 g1b9f164- 1ubuntu5 g1b9f164- 1ubuntu5 g1b9f164- 1ubuntu5 0 gb.archive. ubuntu. com/ubuntu/ utopic/main amd64 Packages dpkg/status
libmtp9:
Installed: 1.1.6-20-
Candidate: 1.1.6-20-
Version table:
*** 1.1.6-20-
500 http://
100 /var/lib/