The workaround I am using:

Add this rule to /lib/udev/rules.d/69-libmtp.rules

#skip Nexus 4/10 for UT debug
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", GOTO="libmtp_rules_end"

Add a new file to /etc/udev/rules.d called 99-android.rules
# enable access to nexus devices
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0666"

The usb devices get mode 0664 by default so adb will require root
without this.

sudo udevadm control --reload-rules
sudo service udev restart

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1160847

Title:
  gvfs should not attempt to mount MTP devices in an endless loop
  (cluttering your desktop with messages)

Status in “gvfs” package in Ubuntu:
  Confirmed

Bug description:
  trying to use phablet-flash in raring to flash a phone or tablet (or
  when just running adb shell or adb root from commandline) causes a
  constant reconnect loop of an attached mtp device. it seems adb and
  gvfs try concurrently to establish a connection which results in
  permanent reconnects and a huge amount of mtp popup windows on the
  desktop PC.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to