ubuntu12.04 无法自动挂载USB外设 问题的解决
2012-11-06 15:49
417 查看
gnome 桌面之后,貌似我的ubs设备都无法自动挂载,
vmware可以识别到,但是ubuntu12.04 /dev下看不到,也不自动弹出来。
很纠结。
切换到unity桌面,居然进去没有左边那一列程序什么的bar了。。。。。
悲剧。。
虽然无法测试是不是utiny和gnome桌面的问题,但是猜想应该没有什么必然联系,可能有简洁联系。
vmware可以识别到我插入的USB设备,但是,ubuntu12.04没有任何反应。
================================================
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# dmesg|tail
[ 2506.140573] vmci 0000:00:07.7: irq 73 for MSI/MSI-X
[ 2506.140905] Registered vmci device.
[ 2506.141761] [8523]: VMCI: Using guest personality
[ 2506.141765] [8523]: VMCI: host components initialized.
[ 2506.181562] [8523]: VMCI: Module registered (name=vmci,major=10,minor=57).
[ 2506.181565] [8523]: VMCI: Using host personality
[ 2506.181567] [8523]: VMCI: Module (name=vmci) is initialized
[ 2560.991990] eth1: no IPv6 routers present
[ 9895.836008] eth0: no IPv6 routers present
[10198.931043] eth0: no IPv6 routers present
插入USB设备之后,还是这样:
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# dmesg|tail
[ 2506.140573] vmci 0000:00:07.7: irq 73 for MSI/MSI-X
[ 2506.140905] Registered vmci device.
[ 2506.141761] [8523]: VMCI: Using guest personality
[ 2506.141765] [8523]: VMCI: host components initialized.
[ 2506.181562] [8523]: VMCI: Module registered (name=vmci,major=10,minor=57).
[ 2506.181565] [8523]: VMCI: Using host personality
[ 2506.181567] [8523]: VMCI: Module (name=vmci) is initialized
[ 2560.991990] eth1: no IPv6 routers present
[ 9895.836008] eth0: no IPv6 routers present
[10198.931043] eth0: no IPv6 routers present
root@ubuntu:/home/zhangbin#
==============================
旁边波哥的utiny桌面的ubuntu12.04就可以自动识别USB设备,难怪这方面的问题出现的非常少。
搞不懂啊。搞不懂。
=================================
于是就各种google。
安装一个usbmount。貌似不管用。
但在media目录下出现了n多个usb*的文件夹。里面都是空的。
还有建议对USB_MODEM的 http://www.draisberghof.de/usb_modeswitch/ 。
==================================
后来,
应该是这个没装吧,导致vmare无法帮助ubuntu12.04?
但是波哥的就装了么?波哥关了虚拟机了。。。未知。。。网友们谁看看自己的这个驱动是不是装了,而且也可以识别并弹出USB设备。
会自己安装。
安装之后,很神奇的关机(shutdown)是切换到(类似logout)登陆界面。
只好poweroff。
=====================================
重启,可以用了:
识别到,
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 002: ID 0457:0151 Silicon Integrated Systems Corp. Super Flash 1GB / GXT 64MB Flash Drive
root@ubuntu:/home/zhangbin#
root@ubuntu:/home/zhangbin# ls /dev | grep ttyUSB0
ttyUSB0
root@ubuntu:/home/zhangbin#
出现了USB0 和我的U盘。
=====================================
usb0可以打开U盘。
我的U盘 无法直接打开。
====================================
卸载usbmount及相关软件包:
root@ubuntu:/home/zhangbin# apt-get remove usbmount
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
pmount
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
usbmount
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 82.9 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 297642 files and directories currently installed.)
Removing usbmount ...
root@ubuntu:/home/zhangbin#
root@ubuntu:/home/zhangbin# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
pmount
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 860 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 297634 files and directories currently installed.)
Removing pmount ...
Processing triggers for man-db ...
root@ubuntu:/home/zhangbin#
没有usb0了,而且可以打开:
没有usb0了:
=============================
重启,
各种happy
vmware可以识别到,但是ubuntu12.04 /dev下看不到,也不自动弹出来。
很纠结。
切换到unity桌面,居然进去没有左边那一列程序什么的bar了。。。。。
悲剧。。
虽然无法测试是不是utiny和gnome桌面的问题,但是猜想应该没有什么必然联系,可能有简洁联系。
vmware可以识别到我插入的USB设备,但是,ubuntu12.04没有任何反应。
================================================
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# dmesg|tail
[ 2506.140573] vmci 0000:00:07.7: irq 73 for MSI/MSI-X
[ 2506.140905] Registered vmci device.
[ 2506.141761] [8523]: VMCI: Using guest personality
[ 2506.141765] [8523]: VMCI: host components initialized.
[ 2506.181562] [8523]: VMCI: Module registered (name=vmci,major=10,minor=57).
[ 2506.181565] [8523]: VMCI: Using host personality
[ 2506.181567] [8523]: VMCI: Module (name=vmci) is initialized
[ 2560.991990] eth1: no IPv6 routers present
[ 9895.836008] eth0: no IPv6 routers present
[10198.931043] eth0: no IPv6 routers present
插入USB设备之后,还是这样:
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
root@ubuntu:/home/zhangbin# dmesg|tail
[ 2506.140573] vmci 0000:00:07.7: irq 73 for MSI/MSI-X
[ 2506.140905] Registered vmci device.
[ 2506.141761] [8523]: VMCI: Using guest personality
[ 2506.141765] [8523]: VMCI: host components initialized.
[ 2506.181562] [8523]: VMCI: Module registered (name=vmci,major=10,minor=57).
[ 2506.181565] [8523]: VMCI: Using host personality
[ 2506.181567] [8523]: VMCI: Module (name=vmci) is initialized
[ 2560.991990] eth1: no IPv6 routers present
[ 9895.836008] eth0: no IPv6 routers present
[10198.931043] eth0: no IPv6 routers present
root@ubuntu:/home/zhangbin#
==============================
旁边波哥的utiny桌面的ubuntu12.04就可以自动识别USB设备,难怪这方面的问题出现的非常少。
搞不懂啊。搞不懂。
=================================
于是就各种google。
安装一个usbmount。貌似不管用。
但在media目录下出现了n多个usb*的文件夹。里面都是空的。
还有建议对USB_MODEM的 http://www.draisberghof.de/usb_modeswitch/ 。
==================================
后来,
应该是这个没装吧,导致vmare无法帮助ubuntu12.04?
但是波哥的就装了么?波哥关了虚拟机了。。。未知。。。网友们谁看看自己的这个驱动是不是装了,而且也可以识别并弹出USB设备。
会自己安装。
安装之后,很神奇的关机(shutdown)是切换到(类似logout)登陆界面。
只好poweroff。
=====================================
重启,可以用了:
识别到,
root@ubuntu:/home/zhangbin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 002: ID 0457:0151 Silicon Integrated Systems Corp. Super Flash 1GB / GXT 64MB Flash Drive
root@ubuntu:/home/zhangbin#
root@ubuntu:/home/zhangbin# ls /dev | grep ttyUSB0
ttyUSB0
root@ubuntu:/home/zhangbin#
出现了USB0 和我的U盘。
=====================================
usb0可以打开U盘。
我的U盘 无法直接打开。
====================================
卸载usbmount及相关软件包:
root@ubuntu:/home/zhangbin# apt-get remove usbmount
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
pmount
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
usbmount
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 82.9 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 297642 files and directories currently installed.)
Removing usbmount ...
root@ubuntu:/home/zhangbin#
root@ubuntu:/home/zhangbin# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
pmount
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 860 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 297634 files and directories currently installed.)
Removing pmount ...
Processing triggers for man-db ...
root@ubuntu:/home/zhangbin#
没有usb0了,而且可以打开:
没有usb0了:
=============================
重启,
各种happy
相关文章推荐
- Gentoo - U盘无法自动挂载,打开报告Not Authorized,xfce只有logout,suspend/shutdown灰化等问题解决方法
- 教程:解决Archlinux浏览器中文乱码和无法自动挂载设备分区的问题.
- Gentoo - U盘无法自动挂载,打开报告Not Authorized,xfce只有logout,suspend/shutdown灰化等问题解决方法
- 如何解决Ubuntu 12.04(64位)系统在virtualbox环境下无法开机自动挂载共享目录的问题
- 解决无法自动挂载U盘问题
- openSUSE系统下VirtualBox无法挂载主机USB设备问题的解决
- 用ntfs-3g解决ntfs挂载,以及移动硬盘NTFS分区自动挂载问题
- Android6.0编译时out目录下文件无法自动生成问题解决方案
- 解决spring 自动扫描包的时候出现 service无法自动注入的问题
- DEDECMS 自动缩略图无法生成问题的解决方法
- 解决Ubuntu开机自动挂载硬盘回收站不可用等权限问题
- 解决Spring+Quartz无法自动注入bean问题
- CentOS自动更新到6.5后root无法登陆问题解决
- 解决手机端ios无法自动播放音乐的问题
- 解决ubuntu usb开机无法使用,只有重启才可恢复问题
- 解决硬盘分区无法挂载的问题
- 在linux中的virtualbox无法挂载usb设备的解决方法
- exchange 用户建立好之后,无法自动产生邮箱 问题解决
- ios 解决textfield无法自动弹出键盘问题
- 没有数据线,Wifi也能连接Android真机开发调试!彻底解决“无法识别的USB设备”等数据线连接问题!