После набора lsusb, получаем :
Код PHP:
Потом установил mtp-tools, набираем mtp-detect:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 04f2:b1d6 Chicony Electronics Co., Ltd Bus 002 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth Bus 002 Device 006: ID 0fce:014f Sony Ericsson Mobile Communications AB
Код PHP:
Дальше он пробегает по все файловой системе на телефоне и все.
libmtp version: 1.1.3 Listing raw device(s) Device 0 (VID=0fce and PID=014f) is a SonyEricsson LT15i (Xperia arc S). Found 1 device(s): SonyEricsson: LT15i (Xperia arc S) (0fce:014f) @ bus 2, dev 6 Attempting to connect device(s) PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device Android device detected, assigning default bug flags
Вопрос!
Как все-таки получить доступ к телу?