OpenWrt 无法识别 USB 设备

1,402 views
Skip to first unread message

cloverstd

unread,
Dec 28, 2012, 3:56:25 AM12/28/12
to sh...@googlegroups.com
我在 TP-WR703N 上刷入了官方的 OpenWrt 最新固件
插上 U 盘,无法识别

lsusb 查看得到 U 盘信息,可是在 /dev 却下却没有 sda[X] 相应的设备

lsmod |grep usb 可以看到 usbcore 已经加载了

在升级固件前,我还挂载过 U 盘,升级后却识别不到了

请下这个是不是说明 USB 坏掉了?

zhang's Gmail

unread,
Dec 28, 2012, 6:33:00 AM12/28/12
to sh...@googlegroups.com, sh...@googlegroups.com
查u盘以后dmesg有什么输出?
先用dmesg -c dump出来旧log,插入
u盘,再dmesg。

发自我的 iPhone
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
 
 

cloverstd

unread,
Dec 28, 2012, 6:50:32 AM12/28/12
to sh...@googlegroups.com
没有插 U 盘的输出是
[13313.120000] usb 1-1: new high-speed USB device number 5 using ehci-platform
[13397.070000] usb 1-1: USB disconnect, device number 5
插上 U 盘后的输出是
[13416.840000] usb 1-1: new high-speed USB device number 6 using ehci-platform


在 2012年12月28日星期五UTC+8下午7时33分00秒,Zhang Jiejing写道:

Xiangfu Liu

unread,
Dec 28, 2012, 6:55:06 AM12/28/12
to sh...@googlegroups.com, cloverstd
你好:

要支持U盘你需要以下软件包,默认应该是没有安装这些包:
block-mount, kmod-usb-storage, kmod-fs-ext4, block-hotplug, e2fsprogs

可以用 opkg list-installed 查看你已安装的软件包

lsusb 只能说明 usb core 已经工作。

cloverstd

unread,
Dec 28, 2012, 7:00:44 AM12/28/12
to sh...@googlegroups.com, cloverstd
谢谢
是 block-mount 和 kmod-usb-storage 装上的原因


在 2012年12月28日星期五UTC+8下午7时55分06秒,Xiangfu Liu写道:

Dong Zhu

unread,
Dec 28, 2012, 3:57:43 AM12/28/12
to sh...@googlegroups.com
On Fri, Dec 28, 2012 at 12:56:25AM -0800, cloverstd wrote:
> 我在 TP-WR703N 上刷入了官方的 OpenWrt 最新固件
> 插上 U 盘,无法识别
>
> lsusb 查看得到 U 盘信息,可是在 /dev 却下却没有 sda[X] 相应的设备
>
> lsmod |grep usb 可以看到 usbcore 已经加载了

有看到这个 module 吗? usb-storage.ko

>
> 在升级固件前,我还挂载过 U 盘,升级后却识别不到了
>
> 请下这个是不是说明 USB 坏掉了?
>

--
Best Regards,
Dong Zhu
----------------------------
WebSite: http://bluezd.info
----------------------------
Reply all
Reply to author
Forward
0 new messages