태그 보관물: mtp

mtp

USB를 통해 Nexus 5x 마운트 023: ID 18d1:4ee1

mtp를 통해 랩톱에 새로운 nexus 5x 전화 중 하나를 마운트하려고합니다. 연결하면 노틸러스가 넥서스 5x로 인식하고 왼쪽에 옵션이 나타납니다. 그러나 파일을 클릭하면 파일이 있어야하지만 파일이 정상적으로 표시되는 영역이 비어 있으며 파일을 만들 수 없습니다. 흥미롭게도 lsusb는 다음을 반환합니다.

Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 5986:055c Acer, Inc
Bus 001 Device 002: ID 0cf3:3004 Atheros Communications, Inc.
Bus 001 Device 023: ID 18d1:4ee1 Google Inc. Nexus 4
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

이상하게도 lsusb는 그것이 nexus 4라고 생각하지만 nautilus는 5x를 올바르게 봅니다. 아직 지원되지 않습니까? 내 syslog에서 다음을 발견했습니다.

Oct 27 20:26:25  kernel: [584014.476624] usb 1-3: new high-speed USB device number 23 using xhci_hcd
Oct 27 20:26:25  kernel: [584014.606208] usb 1-3: New USB device found, idVendor=18d1, idProduct=4ee1
Oct 27 20:26:25  kernel: [584014.606217] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 27 20:26:25  kernel: [584014.606221] usb 1-3: Product: Nexus 5X
Oct 27 20:26:25  kernel: [584014.606225] usb 1-3: Manufacturer: LGE
Oct 27 20:26:25  kernel: [584014.606228] usb 1-3: SerialNumber: 0067460eb26d49e8
Oct 27 20:26:25  systemd-udevd[13357]: failed to execute '/lib/udev/socket:@/org/freedesktop/hal/udev_event' 'socket:@/org/freedesktop/hal/udev_event': No such file or directory
Oct 27 20:26:25  org.gtk.vfs.Daemon[3123]: PTP: reading event an error 0x02ff occurredUnable to open ~/.mtpz-data for reading, MTPZ disabled.
Oct 27 20:26:25  org.gtk.vfs.Daemon[3123]: Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
Oct 27 20:26:25  org.gtk.vfs.Daemon[3123]: Error 1: Get Storage information failed.
Oct 27 20:22:10  gnome-session[3211]: (deja-dup-monitor:4213): GLib-CRITICAL **: Source ID 3199 was not found when attempting to remove it
Oct 27 20:26:26  gnome-session[3211]: (nautilus:13398): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Oct 27 20:26:26  gnome-session[3211]: (nautilus:13398): GLib-GObject-WARNING **: invalid (NULL) pointer instance
Oct 27 20:26:26  gnome-session[3211]: (nautilus:13398): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Oct 27 20:26:26  dbus[2053]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Oct 27 20:26:26  systemd[1]: Starting Hostname Service...
Oct 27 20:26:26  systemd-udevd[13404]: failed to execute '/lib/udev/socket:@/org/freedesktop/hal/udev_event' 'socket:@/org/freedesktop/hal/udev_event': No such file or directory
Oct 27 20:26:26  org.gtk.Private.GPhoto2VolumeMonitor[3123]: (process:3493): GVFS-GPhoto2-WARNING **: device (null) has no BUSNUM property, ignoring
Oct 27 20:26:26  dbus[2053]: [system] Successfully activated service 'org.freedesktop.hostname1'
Oct 27 20:26:26  systemd[1]: Started Hostname Service.

Eurocom Electra 2에서 Ubuntu 15.04를 사용하고 있습니다.

또한 저보다 평판이 좋은 사람이 nexus-5x 태그를 만들 수 있습니까? 감사합니다 @KGIII

편집 : mtpfs로 마운트를 시도했습니다. 오류는 로그에서 본 것과 유사하며 마운트가 발생하지 않습니다.

$ mtpfs nexus5x/
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
Listing raw device(s)
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
   Found 1 device(s):
   Google Inc (for LG Electronics/Samsung): Nexus 4/5/7/10 (MTP) (18d1:4ee1) @ bus 1, dev 25
Attempting to connect device
ignoring libusb_claim_interface() = -6PTP_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
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: Error 02fe: PTP: Protocol error, data expected
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1

또한 소스에서 최신 libmtp를 다운로드하려고 시도했지만 여전히 작동하지 않는 것 같습니다. 나는 MTP 파일을 시도했다 :

libmtp version: 1.1.10

Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
mtp-files: Successfully connected
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
Error 1: Get Storage information failed.
OK.



답변

실제로 작동합니다!

N5X (화면 잠금 해제)를 Linux 상자에 연결하면 N5X는 기본적으로 USB 충전 (보안 기능)으로 기본 설정됩니다. N5X는 Linux 파일 관리자에 나타나지만 내부 저장소는 표시하지 않습니다. N5X에서 알림 음영을 풀면 USB 충전이 표시됩니다. 파일 전송을위한 MTP, 사진 전송을위한 PTP 및 MIDI를 포함한 다른 옵션이 제공되도록 선택해야합니다.

davharuk에게 감사합니다.

편집
확실히 의견에 동의합니다. 완전히 혼란 스럽다. 나도 그래


답변