← Back to team overview

touch-packages team mailing list archive

[Bug 1410506] Re: MTP looping between start and stopping causing constant ~10% cpu load

 

This is killing my battery on mako, as there is no respawn limit, it
keeps opening and closing mtp (as it always gets Input/output error).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mtp in Ubuntu.
https://bugs.launchpad.net/bugs/1410506

Title:
  MTP looping between start and stopping causing constant ~10% cpu load

Status in mtp package in Ubuntu:
  Confirmed

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://pastebin.ubuntu.com/9734788/

  $ system-image-cli -i
  current build number: 161
  device name: mako
  channel: ubuntu-touch/ubuntu-rtm/devel-proposed
  alias: ubuntu-touch/ubuntu-rtm/14.09-proposed
  last update: 2015-01-13 18:37:40
  version version: 161
  version ubuntu: 20150113
  version device: 20141119
  version custom: mako-1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mtp/+bug/1410506/+subscriptions


References