您的位置:首页 > 其它

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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐