所以它过去只是起作用。插入手机,弹出显示文件的文件夹。后来有一天没有。那是大约两个月前。这很可能是由于对debian的一些更新。我已经到了一个死胡同,想弄清楚这一点,需要一些帮助。
现在我插上电话,看到两个不同的弹出消息框中的一个或多个显示此文本。

Unable to mount SAMSUNG Android SGH I747
Unable to open MTP device '[usb:001,040]'

Unable to mount SAMSUNG Android SGH I747
Message recipient disconnected from message bus without replying

[顺便说一下,上面的方框中的着色都是错误的。我该怎么阻止?]
我刚从debian repo安装了gmtp应用程序,它有时可以工作。
当我从一个shell启动gmtp时,它会在我单击“connect”按钮后写入此文本。
libusb couldn't open USB device /dev/bus/usb/002/003: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).

然后在大约10秒后(有时),gmtp连接并在没有更多消息的情况下工作。如果gmtp不起作用,它就会挂起。杀死gmtp后,需要重新启动debian以使手机重新连接。
当我不使用gmtp并且插上电话时,我在dmesg中得到这个:
[692137.131777] usb 1-1.1: new high-speed USB device number 46 using ehci-pci
[692137.226717] usb 1-1.1: New USB device found, idVendor=04e8, idProduct=6860
[692137.226722] usb 1-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[692137.226725] usb 1-1.1: Product: SAMSUNG_Android_SGH-I747
[692137.226727] usb 1-1.1: Manufacturer: SAMSUNG
[692137.226729] usb 1-1.1: SerialNumber: ad1d8c01

然后设备出现在尼莫。当我单击它来挂载它时,dmesg中有:
[692156.903396] usb 1-1.1: USB disconnect, device number 46
[692157.099945] usb 1-1.1: new full-speed USB device number 47 using ehci-pci
[692157.171961] usb 1-1.1: device descriptor read/64, error -32
[692157.347945] usb 1-1.1: device descriptor read/64, error -32
[692157.523942] usb 1-1.1: new high-speed USB device number 48 using ehci-pci
[692157.619139] usb 1-1.1: New USB device found, idVendor=04e8, idProduct=6860
[692157.619144] usb 1-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[692157.619147] usb 1-1.1: Product: SAMSUNG_Android_SGH-I747
[692157.619149] usb 1-1.1: Manufacturer: SAMSUNG
[692157.619151] usb 1-1.1: SerialNumber: ad1d8c01
[692180.636183] usb 1-1.1: reset high-speed USB device number 48 using ehci-pci
[692180.730170] usb 1-1.1: usbfs: process 11924 (pool) did not claim interface 0 before use
[692180.730258] usb 1-1.1: usbfs: process 11969 (pool) did not claim interface 0 before use
[692180.804182] usb 1-1.1: reset high-speed USB device number 48 using ehci-pci
[692180.898302] usb 1-1.1: usbfs: process 11969 (pool) did not claim interface 0 before use
[692180.898403] usb 1-1.1: usbfs: process 11924 (pool) did not claim interface 0 before use
[692180.898794] usb 1-1.1: usbfs: process 11969 (pool) did not claim interface 0 before use

如有任何建议,将不胜感激。

最佳答案

此消息的原因可以是:
可能是由于端口或电缆故障造成的硬件连接问题。尝试使用不同的电缆一次,因为当涉及到硬件时,Message recipient disconnected from message bus without replying会出现。
MTP库问题:有时操作系统更新与旧的MTP库崩溃。试试usb 1-1.1: usbfs: process 11924 (pool) did not claim interface 0 before use。与其删除,不如保留备份,这样如果不起作用,您可以回滚此解决方案。在我的例子中重命名/删除lib是可行的。

08-07 07:28