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.
upon reboot it wasn't fixed anymore :(
ReplyDeleteSince it is not working, I undid they changes.
ReplyDeleteChecked 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"
I've added my "me too" to this longstanding bug, reported first in 2007.
ReplyDeleteThis is now happening on the work laptop too.
ReplyDeleteLooks like disabling 'USB Debugging' gets the error to go away - at the cost of not being able to use adb.
Hi. Same here Malachi. In my case, a Samsung Galaxy S3 Mini (i8190l)
ReplyDeleteI'm switching to the HTC One to see if the problem goes away.
ReplyDeleteThe HTC One does not have this problem.
ReplyDelete