rebooting phone makes nautilus spill mtp errors

Bug #1226825 reported by Oliver Grawert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mtp (Ubuntu)
Fix Released
High
Unassigned

Bug Description

the current upstart job for mtp-server-bootup does not unset the mtp property for the gadget device, this results in gvfs on the desktop to try to reconnect to the mtp server over and over during shutdown. the property needs to be unset when the server goes away.

additionally the setprop command uses hardcoded values for the property settings (if rndis instead of adb would be enabled this would break heavily) the attached upstart job has been tested and fixes both of these issues.

Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Confirming the issue here.

Changed in mtp (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Oliver Grawert (ogra)
Changed in mtp (Ubuntu):
importance: Medium → High
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → Oliver Grawert (ogra)
Revision history for this message
Dave Morley (davmor2) wrote :

Confirming that Ogra's fix no longer shows errors on the desktop for me on maguro.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Ack, this totally makes sense. I'll merge it shortly.

Changed in mtp (Ubuntu):
assignee: Oliver Grawert (ogra) → Mathieu Trudel-Lapierre (mathieu-tl)
status: Confirmed → In Progress
Changed in mtp (Ubuntu):
status: In Progress → Fix Committed
status: Fix Committed → In Progress
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mtp - 0.0.1+13.10.20130918-0ubuntu1

---------------
mtp (0.0.1+13.10.20130918-0ubuntu1) saucy; urgency=low

  [ Oliver Grawert ]
  * fix property handling so existing property settings are respected and mtp
    is only added/removed to/from the set
  * make sure we disable mtp on the usb gadget driver during shutdown so gvfsd
    on the host doesnt spill errors when the phone is rebooted because there is
    a mtp device but no server attached to it (LP: #1226825).

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 31
 -- Ubuntu daily release <email address hidden> Wed, 18 Sep 2013 14:38:45 +0000

Changed in mtp (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.