设备信息Settings -> System -> About device
SAMSUNG-SM-G900R4, Android version 6.0.1计算机系统信息(终端命令:uname -a)
Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux使用jmtpfs安装USB设备
jmtpfs /media/SAMSUNG-SM-G900R4误差-0
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
fuse: bad mount point `/media/vassil/SAMSUNG-SM-G900R4': Input/output error错误-1
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
LIBMTP PANIC: Could not open session! (Return code 8195)
Try to reset the device.
terminate called after throwing an instance of 'MtpErrorCantOpenDevice'
what(): Can't open device
Aborted试验
Used different USB cables and tried various combinations of the following:三星-SM-G900R4
拔下USB电缆
打开开发人员选项:Settings -> System -> About device -> tap "Build number" at least 7 times
设置USB选项:Settings -> System -> Developer options -> USB debugging: ON, USB configuration: MTP (Media Transfer Protocol)
重新启动装置
插头USB电缆
电脑
重新启动计算机
安装设备:jmtpfs /media/SAMSUNG-SM-G900R4
三星-SM-G900R4
如果消息Allow access to device data appears,那么点击ALLOW。
电脑
检查是否可以访问设备目录:cd /media/SAMSUNG-SM-G900R4; ls
结果
显示错误-0,显示错误-1,以某些频率访问设备目录.
发布于 2022-11-30 00:33:36
这是一个对我有用的过程,尽管它很脆弱。
请记住:一旦您成功地完成了这个过程,并卸载,那么您将需要拔出/重新插入USB电缆才能重新启动。否则,您将永远得到Restart device消息。
所以,我们开始:
jmtpfs mydir -f -o auto_unmount -f使它在“前台”模式下运行,而不是在守护进程中运行。ls中显示为????? ),并且不可读。jmtpfs终止Ctrl-C进程。jmtpfs mydir (如果您愿意)fusermount -u卸载。https://unix.stackexchange.com/questions/466841
复制相似问题