不断插拔手机后会出现一堆 android
Tofloor
poster avatar
la******ng@outlook.com
deepin
2017-12-05 06:28
Author
正常来说不会这样

Reply Favorite View the author
All Replies
avatar
wtz
deepin
2017-12-05 10:30
#1
楼主可否说说手机的型号?以及连接模式(MTP,U盘,媒体播放器等等)?
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-12-06 05:52
#2
https://bbs.deepin.org/post/149594
楼主可否说说手机的型号?以及连接模式(MTP,U盘,媒体播放器等等)?

只记得是 Zenfone 2 Laser,是用 MTP 连接的
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-12-06 20:44
#3
https://bbs.deepin.org/user/52935
  1. ===========mountRemoved============= "/dev/bus/usb/003/006" false true
  2. 2017-12-06, 12:42:37.536 [Debug  ] [computerview.cpp     ComputerView::mountRemoved          772] QDiskInfo(id: "/dev/bus/usb/003/006",name: "Android",type: "phone",drive_unix_device: "",unix_device: "/dev/bus/usb/003/006",uuid: "",activation_root_uri: "mtp://%5Busb%3A003,006%5D/",mounted_root_uri: "",id_filesystem: "",default_location: "",iconName: "phone",is_removable: false,can_mount: true,can_unmount: false,can_eject: false,used: 0,total: 0,)
  3. 2017-12-06, 12:42:37.541 [Debug  ] [partition.cpp        PartMan::Partition::getPartitionByDevicePath 90] false "" "lsblk: /dev/bus/usb/003/006: not a block device\n"
  4. 2017-12-06, 12:42:37.542 [Debug  ] [gvfsmountmanager.cpp GvfsMountManager::monitor_mount_removed 510] ==============================monitor_mount_removed==============================
  5. 2017-12-06, 12:42:37.542 [Debug  ] [gvfsmountmanager.cpp GvfsMountManager::monitor_mount_removed 513] =================== "mtp://%5Busb%3A003,006%5D/" =======================
  6. 2017-12-06, 12:42:37.542 [Debug  ] [gvfsmountmanager.cpp GvfsMountManager::monitor_mount_removed 516] false QVolume: { name: "" , unix_device: "" , icons: () , is_Mounted: false , is_removable: false , mounted_root_uri: "" }
Copy the Code

Reply View the author
avatar
melodyzou
deepin
2017-12-06 22:31
#4
出现问题的之后,麻烦执行下deepin-feedback-cli,贴一下日志。
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-12-06 22:35
#5
https://bbs.deepin.org/post/149594
出现问题的之后,麻烦执行下deepin-feedback-cli,贴一下日志。

没办法,因為是 Arch 这边的
Reply View the author
avatar
melodyzou
deepin
2017-12-06 22:40
#6
https://bbs.deepin.org/post/149594
没办法,因為是 Arch 这边的

打包的是最新版本的吗?你去arch相应的页面提个反馈?
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-12-06 22:57
#7
https://bbs.deepin.org/post/149594
打包的是最新版本的吗?你去arch相应的页面提个反馈?

是这版本,没有新更新
已经提过了,但尚无回应
  1. Name            : deepin-file-manager
  2. Version         : 1:4.4.7-2
  3. Description     : Deepin File Manager
  4. Architecture    : x86_64
  5. URL             : https://github.com/linuxdeepin/dde-file-manager
  6. Licenses        : GPL3
  7. Groups          : deepin
  8. Provides        : deepin-desktop
  9. Depends On      : deepin-qt5integration  gtk2  gsettings-qt  libsecret  qt5-svg  file  avfs
  10.                   polkit-qt5  deepin-shortcut-viewer  poppler  ffmpegthumbnailer  deepin-manual
  11.                   file-roller  deepin-qt-dbus-factory  treefrog-framework  deepin-terminal
  12.                   gst-plugins-good  mpv
  13. Optional Deps   : None
  14. Required By     : None
  15. Optional For    : None
  16. Conflicts With  : deepin-desktop
  17. Replaces        : deepin-desktop
  18. Installed Size  : 14.43 MiB
  19. Packager        : Felix Yan
  20. Build Date      : Fri Dec 1 21:45:48 2017
  21. Install Date    : Fri Dec 1 23:19:24 2017
  22. Install Reason  : Explicitly installed
  23. Install Script  : No
  24. Validated By    : Signature
Copy the Code
Reply View the author
avatar
melodyzou
deepin
2017-12-07 00:20
#8
https://bbs.deepin.org/post/149594
是这版本,没有新更新
已经提过了,但尚无回应

给开发转达了。
Reply View the author
avatar
wtz
deepin
2017-12-07 02:01
#9
这个问题是否能重现?如果可以,试试另外装一个文件管理器(比如Nautilus),看看这些多余的Android项是不是也有出现。
如果有的话,就是gvfs和usb总线之间的交互问题了。估计深度文管的开发人员也无法解决。
一般来说,每插拔手机一次,USB总线都会为手机分配一个新的ID(从001开始递增)。如果拔掉手机后,旧的ID没有被删除(与具体的驱动有关?),那么gvfs就会认为这个设备还连在总线上,才会出现这种问题。
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-12-07 02:15
#10
本帖最后由 s9209122222 于 2017-12-6 18:18 编辑

@wtz nautilus 确实也发生了,难道是 linux 4.14 的关系!
Reply View the author
avatar
wtz
deepin
2017-12-07 02:33
#11
https://bbs.deepin.org/post/149594
@wtz nautilus 确实也发生了,难道是 linux 4.14 的关系!

有可能。你试试装一个旧版本的内核(比如4.9,Arch应该还在维护的),看看有没有这个问题。
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-12-07 04:19
#12
https://bbs.deepin.org/post/149594
有可能。你试试装一个旧版本的内核(比如4.9,Arch应该还在维护的),看看有没有这个问题。 ...

确认是 linux 4.14 的问题了
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-12-07 04:34
#13
https://bbs.deepin.org/post/149594
确认是 linux 4.14 的问题了

就连 4.15rc2 也有同样的问题
Reply View the author
avatar
s***3@21cn.com
deepin
2017-12-07 04:46
#14
我的苹果6也有问题,手机插上充电,然后拔了,再插上就没反映了,必须换个usb口子才行,所有口子都用完了之后就必须重启一下才行。
插U盘,无线鼠标这些没问题。
Reply View the author