Comment 123 for bug 903422

Revision history for this message
Anthony Borrow (arborrow) wrote : Re: Ubuntu does not work with Samsung Galaxy phones (needs update to libmtp)

Just confirming that go-mtpfs is working well for me with Ubuntu 12.10 with a Galaxy Nexus:
ID_MODEL Galaxy Nexus
ID_MODEL_ID 685c (non-developer mode)
ID_MODEL_ID 6860 (developer mode). I followed the instructions at:
ID_VENDOR samsung
ID_VENDOR_ID 04e8
http://bernaerts.dyndns.org/linux/247-ubuntu-automount-nexus7-mtp

and used the following udev rules:

#Google Galaxy Nexus
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685c", MODE="0666" # MTP media
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666" # MTP media with USB debug on
ENV{ID_MODEL}=="Galaxy_Nexus", ENV{ID_MODEL_ID}=="685c", ACTION=="add", RUN+="/usr/bin/sudo -u USERNAME /usr/local/sbin/go-mtpfs -allow-other=true /media/GalaxyNexus"
ENV{ID_MODEL}=="Galaxy_Nexus", ENV{ID_MODEL_ID}=="6860", ACTION=="add", RUN+="/usr/bin/sudo -u USERNAME /usr/local/sbin/go-mtpfs -allow-other=true /media/GalaxyNexus"
ENV{ID_MODEL}=="Galaxy_Nexus", ENV{ID_MODEL_ID}=="685c", ACTION=="remove", RUN+="/bin/umount /media/GalaxyNexus"
ENV{ID_MODEL}=="Galaxy_Nexus", ENV{ID_MODEL_ID}=="6860", ACTION=="remove", RUN+="/bin/umount /media/GalaxyNexus"

Peace - Anthony