您的位置:首页 > 其它

解决ubuntu下不能识别U盘的问题

2007-06-06 15:35 896 查看
在ibm t40上装的ubuntu 7.04,已经在新立得中升级到最新。
插入u盘后,系统没任何反应,用
#lsusb
也看不到任何设备信息。如果插入usb鼠标倒是可以识别,正常使用。
之前曾经在一个台式机和一台compaq笔记本上安装过ubuntu,都能正常识别该u盘,也试过
别的u盘,可以确认不是u盘的问题。

在google上搜索,好像都没有人遇到这种问题。别人顶多是不能自动mount,可我这里好像
是根本连硬件都没认出来?!
--------------------
用dmesg查看usb相关的信息:

[ 1885.556000] usb 4-4: new high speed USB device using ehci_hcd and address 114
[ 1887.824000] usb 4-4: new high speed USB device using ehci_hcd and address 122
[ 1888.328000] usb 4-4: new high speed USB device using ehci_hcd and address 123
[ 1893.116000] usb 4-4: new high speed USB device using ehci_hcd and address 15
[ 1897.652000] usb 4-4: new high speed USB device using ehci_hcd and address 32
[ 1899.668000] usb 4-4: new high speed USB device using ehci_hcd and address 39
[ 1900.172000] usb 4-4: new high speed USB device using ehci_hcd and address 40
[ 1904.204000] usb 4-4: new high speed USB device using ehci_hcd and address 55
[ 1907.984000] usb 4-4: new high speed USB device using ehci_hcd and address 69
[ 1909.244000] usb 4-4: new high speed USB device using ehci_hcd and address 73
[ 1915.040000] usb 4-4: new high speed USB device using ehci_hcd and address 95
[ 1917.812000] usb 4-4: new high speed USB device using ehci_hcd and address 105
[ 1918.072000] ehci_hcd 0000:00:1d.7: port 4 reset error -110
[ 1918.072000] hub 4-0:1.0: hub_port_status failed (err = -32)
[ 1927.136000] usb 4-4: new high speed USB device using ehci_hcd and address 13
[ 1927.640000] usb 4-4: new high speed USB device using ehci_hcd and address 14
[ 1935.200000] usb 4-4: new high speed USB device using ehci_hcd and address 43
[ 1935.460000] ehci_hcd 0000:00:1d.7: port 4 reset error -110
[ 1935.460000] hub 4-0:1.0: hub_port_status failed (err = -32)
[ 1937.216000] usb 4-4: new high speed USB device using ehci_hcd and address 48
----------
问题解决,执行
rmmod ehci_hcd
就OK。
ehci可能和usb2.0支持有关,不知道具体作用。参考下面这段话: http://blog.csdn.net/ryman/archive/2004/11/02/162947.aspx --------------------
要理解"EHCI"及其同类是什么,首先要知道每块支持插入 USB 设备的主板或 PCI 卡都需要有 USB 主控制器芯片组。这个特别的芯片组与插入系统的 USB 设备进行相互操作,并负责处理允许 USB 设备与系统其它部分通信所必需的所有低层次细节。
Linux USB驱动程序有三种不同的 USB 主控制器选项是因为在主板和 PCI 卡上有三种不同类型的 USB 芯片。"EHCI"驱动程序设计成为实现新的高速
USB 2.0 协议的芯片提供支持。"OHCI"驱动程序用来为非 PC 系统上的(以及带有 SiS 和 ALi 芯片组的 PC 主板上的)
USB 芯片提供支持。"UHCI"驱动程序用来为大多数其它 PC 主板(包括 Intel 和 Via)上的 USB 实现提供支持。只需选择与希望
启用的 USB 支持的类型对应的"?HCI"驱动程序即可。如有疑惑,为保险起见,可以启用"EHCI"、"UHCI" (两者中任选一种,它们之间没
有明显的区别)和"OHCI"。(赵明注:根据文档,EHCI已经包含了UHCI和OHCI,但目前就我个人的测试,单独加EHCI是不行的,通常我的做
法是根据主板类型加载UHCI或OHCI后,再加载EHCI这样才可以支持USB2.0设备)。

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