无法使用简单的MTPFS安装Galaxy S7(使用S4它用于工作正常) -- connection-issues 领域 和 usb-connection-mode 领域 和 mount 领域 和 mtp 领域 和 usb-mass-storage 领域 android 相关 的问题

Cannot mount Galaxy S7 with simple-mtpfs (with S4 it used to work fine)


简体版||繁體版
1
vote

问题

中文

我想使用简单mtpfs 将我的三星Galaxy s7(sm-g930f)挂载到文件夹,我不能按照我曾经(上一个) Fedora和较旧的Galaxy S4)。

如果我只需将s7插入我的电脑,我可以使用Nautilius浏览它,但我无法在终端中访问它作为普通文件夹,究竟是什么需要实现的。

每次我插头s7我检查它在mtp模式下工作的两次,因此不是问题。

在过去,我简单地堵塞了手机,并键入了某种东西:

  $ simple-mtpfs /home/adam/S7   

现在,我可以执行它,甚至我的手机要求我确认MTP选择,但目录S7仍然是空的。

我也试图将其作为root或普通用户和设备编号安装,但没有结果。

  # simple-mtpfs --list-devices 1: SamsungGalaxy models (MTP)  $ simple-mtpfs --device 1 /home/adam/S7 # simple-mtpfs --device 1 /media/s7  $ simple-mtpfs /dev/libmtp-3-1 /home/adam/s7 # simple-mtpfs /dev/libmtp-3-1 /media/s7   

我甚至试图通过udev规则进行:

  # dmesg | tail [16821.258485] usb 3-1: Product: SAMSUNG_Android [16821.258487] usb 3-1: Manufacturer: SAMSUNG [16821.258489] usb 3-1: SerialNumber: 98867????????????? [16827.556099] usb 3-1: USB disconnect, device number 29 [16830.383366] usb 3-1: new high-speed USB device number 30 using xhci_hcd [16830.548882] usb 3-1: New USB device found, idVendor=04e8, idProduct=6860 [16830.548887] usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [16830.548903] usb 3-1: Product: SAMSUNG_Android [16830.548905] usb 3-1: Manufacturer: SAMSUNG [16830.548907] usb 3-1: SerialNumber: 98867?????????????  # touch /etc/udev/rules.d/10-phone.rules   

/etc/udev/rules.d/10 -phone.rules 的内容设置为:

  SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}="6860", SYMLINK="S7"   

重新加载之后,我有 / dev / s7 ,我试图安装它:

  # udevadm control --reload-rules  # ls -l /dev/S7 lrwxrwxrwx. 1 root root 15 10-20 15:03 /dev/S7 -> bus/usb/003/075  # ls -l /dev/libmtp-3-1 lrwxrwxrwx. 1 root root 15 10-20 15:03 /dev/libmtp-3-1 -> bus/usb/003/075  # simple-mtpfs /dev/S7 /media/s7   

仍然没有结果。安装不给出和错误,但我即将登录的目录仍然是空的。

关于我的设置的详细信息:

  # uname -r 4.7.7-200.fc24.x86_64  # rpm -qa | grep mtp simple-mtpfs-0.2-6.fc24.x86_64 libmtp-1.1.11-1.fc24.x86_64 gvfs-mtp-1.28.3-1.fc24.x86_64  # rpm -qa | grep fuse fuse-libs-2.9.7-1.fc24.x86_64 glusterfs-fuse-3.8.4-1.fc24.x86_64 fuse-2.9.7-1.fc24.x86_64 gvfs-fuse-1.28.3-1.fc24.x86_64   

在Windows下,我可以插上手机,我看到它的整个内容(与Nautilius相同),但不是作为普通的USB大容量存储(带有字母的驱动器)。

我还试图启用开发人员选项并设置USB调试模式,并没有。

提前谢谢您的帮助。


从系统日志(Fedora的CountalCTL)插入手机并键入简单MTPFS / Media / S7

  # journalctl -n 53 -- Logs begin at śro 2016-10-19 21:29:20 CEST, end at sob 2016-10-22 09:26:43 CEST. -- paź 22 09:24:31 PRZEDNICZEK01 kernel: usb 3-1: USB disconnect, device number 10 paź 22 09:24:31 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /384_eccedcee from uid 1000 finished with success after 45ms paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: new high-speed USB device number 11 using xhci_hcd paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860 paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: Product: SAMSUNG_Android paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: Manufacturer: SAMSUNG paź 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: SerialNumber: 98867????????????? paź 22 09:24:32 PRZEDNICZEK01 gvfsd[1813]: PTP: reading event an error 0x02ff occurredDevice 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). paź 22 09:24:32 PRZEDNICZEK01 gvfsd[1813]: LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:0 paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,011]/' paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,011]/' paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5e7b19a6b9795726a5c47a99a89757bf', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paź 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5c7e6bb78b9a6691c3ecea3925b2971d', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paź 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: (gnome-shell:1832): Gjs-WARNING **: JS ERROR: TypeError:  is null paź 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: ContentTypeDiscoverer<._onContentTypeGuessed/<@resource:///org/gnome/shell/ui/components/autorunManager.js:133 paź 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:86 paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paź 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paź 22 09:24:35 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /385_decdbbba from uid 1000 finished with success after 45ms paź 22 09:26:37 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3385 (simple-mtpfs) did not claim interface 0 before use paź 22 09:26:37 PRZEDNICZEK01 kernel: usb 3-1: reset high-speed USB device number 11 using xhci_hcd paź 22 09:26:38 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3385 (simple-mtpfs) did not claim interface 0 before use paź 22 09:26:38 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3250 (events) did not claim interface 0 before use paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: USB disconnect, device number 11 paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: new high-speed USB device number 12 using xhci_hcd paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860 paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: Product: SAMSUNG_Android paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: Manufacturer: SAMSUNG paź 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: SerialNumber: 98867????????????? paź 22 09:26:41 PRZEDNICZEK01 gvfsd[1813]: PTP: reading event an error 0x02ff occurredDevice 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). paź 22 09:26:41 PRZEDNICZEK01 gvfsd[1813]: LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:0 paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,012]/' paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,012]/' paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:0e6a8582e05ac627e4014d1ca1e6ec87', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paź 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5c7e6bb78b9a6691c3ecea3925b2971d', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paź 22 09:26:41 PRZEDNICZEK01 dbus-daemon[1760]: [session uid=1000 pid=1760] Activating service name='org.gnome.Shell.HotplugSniffer' requested by ':1.16' (uid=1000 pid=1832 comm="/usr/bin/gnome-shell " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") paź 22 09:26:41 PRZEDNICZEK01 dbus-daemon[1760]: [session uid=1000 pid=1760] Successfully activated service 'org.gnome.Shell.HotplugSniffer' paź 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: (gnome-shell:1832): Gjs-WARNING **: JS ERROR: TypeError:  is null paź 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: ContentTypeDiscoverer<._onContentTypeGuessed/<@resource:///org/gnome/shell/ui/components/autorunManager.js:133 paź 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:86 paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paź 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paź 22 09:26:43 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /386_acdeddea from uid 1000 finished with success after 48ms   
english

I would like to mount my Samsung Galaxy S7 (SM-G930F) to an folder using simple-mtpfs and I cannot do it as I used to (on previous Fedora and older Galaxy S4).

If I simply plug S7 to my computer, I can browse it using Nautilius, but I cannot access it in terminal as ordinary folder, what is exactly what I want to achieve.

Every time I plug S7 I check twice that it works in MTP mode, so that isn't the problem.

In the past, I simply plugged the phone and typed something as:

$ simple-mtpfs /home/adam/S7 

Now, I can perform it and even my phone ask me to confirm MTP choice, but the catalogue S7 is still empty.

I also tried to mount it as root or ordinary user and by device number, but with no result.

# simple-mtpfs --list-devices 1: SamsungGalaxy models (MTP)  $ simple-mtpfs --device 1 /home/adam/S7 # simple-mtpfs --device 1 /media/s7  $ simple-mtpfs /dev/libmtp-3-1 /home/adam/s7 # simple-mtpfs /dev/libmtp-3-1 /media/s7 

I even tried to do it by udev rules:

# dmesg | tail [16821.258485] usb 3-1: Product: SAMSUNG_Android [16821.258487] usb 3-1: Manufacturer: SAMSUNG [16821.258489] usb 3-1: SerialNumber: 98867????????????? [16827.556099] usb 3-1: USB disconnect, device number 29 [16830.383366] usb 3-1: new high-speed USB device number 30 using xhci_hcd [16830.548882] usb 3-1: New USB device found, idVendor=04e8, idProduct=6860 [16830.548887] usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [16830.548903] usb 3-1: Product: SAMSUNG_Android [16830.548905] usb 3-1: Manufacturer: SAMSUNG [16830.548907] usb 3-1: SerialNumber: 98867?????????????  # touch /etc/udev/rules.d/10-phone.rules 

Content of /etc/udev/rules.d/10-phone.rules is set to:

SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}="6860", SYMLINK="S7" 

After reloading rules I have /dev/S7 and I've tried to mount it:

# udevadm control --reload-rules  # ls -l /dev/S7 lrwxrwxrwx. 1 root root 15 10-20 15:03 /dev/S7 -> bus/usb/003/075  # ls -l /dev/libmtp-3-1 lrwxrwxrwx. 1 root root 15 10-20 15:03 /dev/libmtp-3-1 -> bus/usb/003/075  # simple-mtpfs /dev/S7 /media/s7 

And still without any result. Mounting doesn't give and errors, but the directory where I about to mount is still empty.

The details about my setup:

# uname -r 4.7.7-200.fc24.x86_64  # rpm -qa | grep mtp simple-mtpfs-0.2-6.fc24.x86_64 libmtp-1.1.11-1.fc24.x86_64 gvfs-mtp-1.28.3-1.fc24.x86_64  # rpm -qa | grep fuse fuse-libs-2.9.7-1.fc24.x86_64 glusterfs-fuse-3.8.4-1.fc24.x86_64 fuse-2.9.7-1.fc24.x86_64 gvfs-fuse-1.28.3-1.fc24.x86_64 

Under Windows I can plug the phone and I see its whole content (the same as in Nautilius), but not as ordinary USB Mass Storage (drive with a letter assigned).

I've also tried to enable Developer Options and set the USB Debugging Mode and ... nothing.

Thank you in advance for your help.


Extract from system log (Fedora's journalctl) after plugging the phone and typing simple-mtpfs /media/s7 :

# journalctl -n 53 -- Logs begin at xc5x9bro 2016-10-19 21:29:20 CEST, end at sob 2016-10-22 09:26:43 CEST. -- paxc5xba 22 09:24:31 PRZEDNICZEK01 kernel: usb 3-1: USB disconnect, device number 10 paxc5xba 22 09:24:31 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /384_eccedcee from uid 1000 finished with success after 45ms paxc5xba 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: new high-speed USB device number 11 using xhci_hcd paxc5xba 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860 paxc5xba 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 paxc5xba 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: Product: SAMSUNG_Android paxc5xba 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: Manufacturer: SAMSUNG paxc5xba 22 09:24:32 PRZEDNICZEK01 kernel: usb 3-1: SerialNumber: 98867????????????? paxc5xba 22 09:24:32 PRZEDNICZEK01 gvfsd[1813]: PTP: reading event an error 0x02ff occurredDevice 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). paxc5xba 22 09:24:32 PRZEDNICZEK01 gvfsd[1813]: LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:0 paxc5xba 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,011]/' paxc5xba 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paxc5xba 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,011]/' paxc5xba 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paxc5xba 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5e7b19a6b9795726a5c47a99a89757bf', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paxc5xba 22 09:24:32 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5c7e6bb78b9a6691c3ecea3925b2971d', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paxc5xba 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: (gnome-shell:1832): Gjs-WARNING **: JS ERROR: TypeError:  is null paxc5xba 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: ContentTypeDiscoverer<._onContentTypeGuessed/<@resource:///org/gnome/shell/ui/components/autorunManager.js:133 paxc5xba 22 09:24:34 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:86 paxc5xba 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paxc5xba 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paxc5xba 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paxc5xba 22 09:24:34 PRZEDNICZEK01 gvfsd[1813]: ** (process:3243): WARNING **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/18 (g-dbus-error-quark, 19) paxc5xba 22 09:24:35 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /385_decdbbba from uid 1000 finished with success after 45ms paxc5xba 22 09:26:37 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3385 (simple-mtpfs) did not claim interface 0 before use paxc5xba 22 09:26:37 PRZEDNICZEK01 kernel: usb 3-1: reset high-speed USB device number 11 using xhci_hcd paxc5xba 22 09:26:38 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3385 (simple-mtpfs) did not claim interface 0 before use paxc5xba 22 09:26:38 PRZEDNICZEK01 kernel: usb 3-1: usbfs: process 3250 (events) did not claim interface 0 before use paxc5xba 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: USB disconnect, device number 11 paxc5xba 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: new high-speed USB device number 12 using xhci_hcd paxc5xba 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860 paxc5xba 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4 paxc5xba 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: Product: SAMSUNG_Android paxc5xba 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: Manufacturer: SAMSUNG paxc5xba 22 09:26:40 PRZEDNICZEK01 kernel: usb 3-1: SerialNumber: 98867????????????? paxc5xba 22 09:26:41 PRZEDNICZEK01 gvfsd[1813]: PTP: reading event an error 0x02ff occurredDevice 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). paxc5xba 22 09:26:41 PRZEDNICZEK01 gvfsd[1813]: LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:0 paxc5xba 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,012]/' paxc5xba 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paxc5xba 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: Could not find parent node for URI:'mtp://[usb:003,012]/' paxc5xba 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-WARNING **: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix. paxc5xba 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:0e6a8582e05ac627e4014d1ca1e6ec87', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paxc5xba 22 09:26:41 PRZEDNICZEK01 tracker-miner-fs.desktop[2001]: (tracker-miner-fs:2001): Tracker-CRITICAL **: Could not set mount point in database 'urn:nepomuk:datasource:5c7e6bb78b9a6691c3ecea3925b2971d', GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: UNIQUE constraint  paxc5xba 22 09:26:41 PRZEDNICZEK01 dbus-daemon[1760]: [session uid=1000 pid=1760] Activating service name='org.gnome.Shell.HotplugSniffer' requested by ':1.16' (uid=1000 pid=1832 comm="/usr/bin/gnome-shell " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") paxc5xba 22 09:26:41 PRZEDNICZEK01 dbus-daemon[1760]: [session uid=1000 pid=1760] Successfully activated service 'org.gnome.Shell.HotplugSniffer' paxc5xba 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: (gnome-shell:1832): Gjs-WARNING **: JS ERROR: TypeError:  is null paxc5xba 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: ContentTypeDiscoverer<._onContentTypeGuessed/<@resource:///org/gnome/shell/ui/components/autorunManager.js:133 paxc5xba 22 09:26:42 PRZEDNICZEK01 org.gnome.Shell.desktop[1832]: _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:86 paxc5xba 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paxc5xba 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paxc5xba 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paxc5xba 22 09:26:43 PRZEDNICZEK01 gvfsd[1813]: ** (process:3399): WARNING **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/17 (g-dbus-error-quark, 19) paxc5xba 22 09:26:43 PRZEDNICZEK01 PackageKit[1559]: get-updates transaction /386_acdeddea from uid 1000 finished with success after 48ms 
              

回答列表

0
 
vote

我使用 jmtpfs 有类似的问题。在允许在第一个安装后面的"手机上" 允许在手机上允许连接后,"我发现" 我发现的"解决方案" 是卸载/重新安装设备。这并不优雅,但也许有些人有更好地了解Android如何处理MTP许可的这一方面可以提供基于此答案的更好的答案(如果是这样,请在过程中ping我!)。

编辑:我刚刚尝试了别的东西...在手机中插入后,从下拉通知列表中选择一个关于"通过USB连接" 的一个选择;显式选择MTP选项然后安装,正常工作。

 

I had a similar problem using jmtpfs. The "solution" I found was to unmount/remount the device after allowing the connection on the phone following the first mount. This is not elegant, but maybe somebody with a better understanding of how Android handles this aspect of MTP permission can provide a better answer based on this answer (if so, please ping me in the process!).

EDIT: I just tried something else... after plugging in the phone, from the pulldown notifications list selecting the one about "connecting via usb" gives a set of choices; explicitly selecting the MTP option, then mounting, works normally.

 
 

相关问题

4  安装.img从内部存储作为USB大容量存储  ( Mounting img from internal storage as usb mass storage ) 
我正在尝试将 abcdefghijklmn.img 文件从我的内部存储中装入 USB大众存储。 有一个名为 Drivedroid 确实是我想要的。我用这个应用程序测试了,该应用程序成功地装入 .img 文件作为USB大容量存储。 但我无法手动复制。 有关于如何将.img作为ums挂载的任何信息? 电话详细信息:...

5  USB大容量存储不起作用  ( Usb mass storage not working ) 
我花了几个小时试图弄清楚为什么我的USB大容量存储功能不使用我的笔记本电脑。这是我所做的: 安装了Android 2.3.2(Pete的GPA12) 从摩托罗拉卸载,清洁和重新安装司机。 重新安装Java JDK 重新启动 通过这一切,它仍然不起作用。 摩托罗拉机器人 Windows 7 x64 ...

2  在不需要APP之间传输PC和Android Sony Z1 Compact(Kitkat)之间的文件(即通过标准USB大容量存储)  ( Transferring files between pc and android sony z1 compact kitkat without needi ) 
当我将Sony Z1 Compact Android手机插入我的Mac或PC时,手机会提示我在PC / Mac上安装一个程序。 我不能只有手机表现为标准,常见的USB大众存储类(即,与USB笔驱动器,硬盘驱动器或SD卡)一样,而无需在主机PC上安装程序? 这是一个不便,因为想要传输到不是我自己的PC,我可能无法安装...

0  用USB将手机插入计算机时自动安装MicroSD  ( Auto mount microsd when plugging phone to computer with usb ) 
简而言之:如何将microSD卡自动安装为存储驱动器当我将手机插入计算机时? 当我想连接我的Android 2.3.6电话(带USB电缆)到计算机(Windows 7 / PC),我必须 解锁手机(在屏幕上滑动手指) 滑动以使顶部通知面板出现 单击通知面板中的 USB connected / select to...

1  启用大容量存储而不是MTP / PTP  ( Enabling mass storage instead of mtp ptp ) 
是否有任何方法可以在Android 4.4.2中启用旧 大众存储模式 现在我只能看到MTP或PTP模式,而不是旧版本的大众存储模式(2.3,我猜)。 旧的大众存储模式允许我在通过USB连接时在我的汽车中播放音频,但是从MTP开始时,我的音乐播放器无法识别我的设备。同时连接到PC时,它使我能够直接修改分区。 任何rom...

1  无法使用简单的MTPFS安装Galaxy S7(使用S4它用于工作正常)  ( Cannot mount galaxy s7 with simple mtpfs with s4 it used to work fine ) 
我想使用简单mtpfs 将我的三星Galaxy s7(sm-g930f)挂载到文件夹,我不能按照我曾经(上一个) Fedora和较旧的Galaxy S4)。 如果我只需将s7插入我的电脑,我可以使用Nautilius浏览它,但我无法在终端中访问它作为普通文件夹,究竟是什么需要实现的。 每次我插头s7我检查它在mt...

5  如何用果冻打开USB大众存储  ( How to turn on usb mass storage with jellybean ) 
我有一个三星Galaxy Tab 2 7.0。 我在外部SD卡上有文件,但我无法将标签安装为来自我的计算机的USB驱动器 - 我无法找到打开USB大容量存储的方法。 如何在Jellybean中这样做? ...

1  联想Vibe K5注意USB连接问题  ( Lenovo vibe k5 note usb connection issue ) 
每当我将我的手机连接到笔记本电脑时,我无法查看大容量存储选项。而不是那个只能获得"联想CD" 选项,其中包括USBDrivers和其他Lenovo软件。 (MTP选项已启用)。 Current Android版本:MarshMoLlow 6.0 ...

1  USB大容量存储而不是MTP  ( Usb mass storage instead of mtp ) 
我在手机上不小心删除了我的整个文件系统。我试图使用photorec程序用我的Linux PC恢复我的文件。但是Photorec只能检测到系统的直接连接的设备.MY手机只能与MTP和PTP连接。如果我可以将手机安装到我的电脑,因为ums(USB大容量存储)photorec将检测到我的设备。因此,有没有办法将我的手机挂载...

1  所有Android设备都有USB OTG支持吗?  ( Do all android devices have usb otg support ) 
我正在使用 cellon a98 。我的设备的规范表明它没有 usb otg支持 ..我尝试了 otg问题排查仪 ...它表示支持USB主机......我有< strong> USB主机功能**或者是** OTG故障排除程序的错误 l ...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有