I'm trying to connect and mount the internal storage on my Android (Sony Xperia U) phone. The phone only supports MTP.
If I type lsusb, I get:
- Code: Select all
[root@d620]# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub
Bus 001 Device 003: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 001 Device 004: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Bus 005 Device 003: ID 0fce:0171 Sony Ericsson Mobile Communications AB
The last entry is obviously the phone. But, if I type mtp-detect, the following happens:
- Code: Select all
[root@d620]# mtp-detect
libmtp version: 1.1.2
Listing raw device(s)
No raw devices found.
And the same error "No raw devices found" if I try to mount it (I have made a /media/sony folder for mounting purposes).
- Code: Select all
[root@d620]# mtpfs -o allow_other /media/sony
Listing raw device(s)
No raw devices found.
I found the linked blog entry, and created a udev rule in accordance with the instructions, replacing the galaxy tab vendor ids with my the sony's from lsusb, but that doesn't seem to have made a difference.
The phone itself shows a little USB icon, and the notification says "The internal storage has been connected to a PC". Conversely the PC can see the phone (it's there in lsusb), so where is the breakdown happening?
Thanks.