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 Ubuntu
Desktop Bugs, 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)

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to