Search This Blog

03 June 2013

Unable to open MTP device '[usb:003,021]'

Recently I upgraded my Samsung Galaxy Note to JellyBean. Around the same time, I also upgraded both the desktop and laptop to Raring Ringtail.  When connecting the device to the dev boxes, the laptop continued to work. The desktop however would give me a never ending loop of popups like this one:
Unable to open MTP device '[usb:003,021]'

While trying to resolve it, I found this fix about the ASUS Transformer...

I followed the same instructions with a few slight tweaks...

/etc/udev/rules.d/51-android.rules:
# MTP Settings added by Malachi
# From dmesg:
# [  166.765498] usb 3-4: reset high-speed USB device number 20 using ehci-pci
# [  166.845468] usb 3-4: USB disconnect, device number 20
# [  167.084889] usb 3-4: new high-speed USB device number 21 using ehci-pci
# [  167.219607] usb 3-4: New USB device found, idVendor=04e8, idProduct=6860
# [  167.219609] usb 3-4: New USB device strings: Mfr=2, Product=3, SerialNumber=4
# [  167.219611] usb 3-4: Product: SAMSUNG-SGH-I717
# [  167.219613] usb 3-4: Manufacturer: samsung
# [  167.219614] usb 3-4: SerialNumber: 2a4c2c04
ENV{ID_MODEL}=="SAMSUNG-SGH-I717", ENV{ID_MODEL_ID}=="6860", ACTION=="add", RUN+="/usr/bin/sudo -b -u malachi /usr/bin/go-mtpfs -allow-other=true /media/SGH-I717"
ENV{ID_MODEL}=="SAMSUNG-SGH-I717", ENV{ID_MODEL_ID}=="6860", ACTION=="remove", RUN+="/bin/umount /media/SGH-I717"

in /etc/fstab:
DeviceFs(SAMSUNG-SGH-I717)    /media/SGH-I717   fuse.DeviceFs(SAMSUNG-SGH-I717)    allow_other,rw,user,noauto    0    0

Now, when I connect, I get about 50 popups but then ADB works again.

7 comments:

  1. upon reboot it wasn't fixed anymore :(

    ReplyDelete
  2. Since it is not working, I undid they changes.
    Checked the BIOS - it is set to "EHCI Hand-off: Disabled"

    I think this is the key log message
    "reset high-speed USB device number 20 using ehci-pci"

    ReplyDelete
  3. I've added my "me too" to this longstanding bug, reported first in 2007.

    ReplyDelete
  4. This is now happening on the work laptop too.
    Looks like disabling 'USB Debugging' gets the error to go away - at the cost of not being able to use adb.

    ReplyDelete
  5. Hi. Same here Malachi. In my case, a Samsung Galaxy S3 Mini (i8190l)

    ReplyDelete
  6. I'm switching to the HTC One to see if the problem goes away.

    ReplyDelete
  7. The HTC One does not have this problem.

    ReplyDelete