我的 Galaxy A5 (2017) 无法自动安装,尽管它似乎被正确识别(参见 dmesg)并且已设置为 MTP 传输:
[ 1799.793224] usb 3-1: USB disconnect, device number 3
[ 1813.883366] usb 3-1: new high-speed USB device number 4 using xhci_hcd
[ 1814.011999] usb 3-1: New USB device found, idVendor=04e8, idProduct=6860
[ 1814.012004] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1814.012007] usb 3-1: Product: SAMSUNG_Android
[ 1814.012009] usb 3-1: Manufacturer: SAMSUNG
[ 1814.012011] usb 3-1: SerialNumber: 5210e432c0641479
[ 1814.013521] cdc_acm 3-1:1.1: ttyACM0: USB ACM device
此外还lsusb
清楚地列出了我的电话:
Bus 003 Device 005: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)
此外,我的手机不断闪烁错误信息:
Attention
The connected device is unable to access data on this device.
Reconnect the USB cable and try again.
我在运行华硕笔记本电脑的 Ubuntu 16.04.3 LTS 上使用 Type-C 电缆。
我看到了问题和答案(重新)挂载 USB 设备,但它对我不起作用,因为mount | grep ^/dev
没有显示与我的手机相关的内容。话虽如此,我确实看到了/dev/ttyACM0
,但mount
失败并显示错误消息:
mount: /dev/ttyACM0 is not a block device
--编辑1--
在 PTP 模式下我没有得到任何更好的结果 - 即手机没有自动安装:
[ 3517.875378] usb 3-1: USB disconnect, device number 11
[ 3517.876961] cdc_acm 3-1:1.1: failed to set dtr/rts
[ 3518.183436] usb 3-1: new high-speed USB device number 12 using xhci_hcd
[ 3518.312069] usb 3-1: New USB device found, idVendor=04e8, idProduct=6866
[ 3518.312077] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3518.312082] usb 3-1: Product: SAMSUNG_Android
[ 3518.312085] usb 3-1: Manufacturer: SAMSUNG
[ 3518.312088] usb 3-1: SerialNumber: 5210e432c0641479
--编辑2--
运行gmtp
显示如下:
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:1
Error 1: Get Storage information failed.
Detect: No available Storage found on device?
--编辑3--
同一根电缆,连接到同一台(双启动)计算机上的同一 USB 端口,即可在 Win10 中正常安装该设备