ubuntu12.04 无法自动挂载USB外设 问题的解决

本文记录了Ubuntu 12.04系统中USB设备无法自动挂载的问题及解决过程。通过安装特定驱动解决了问题,并详细描述了安装前后的系统反应。

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








评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

等风来不如迎风去

你的鼓励是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值