主题 : 卸载g_file_storage后重新安装modprobe g_file_storage,电脑识别不了 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 63805
精华: 0
发帖: 14
金钱: 70 两
威望: 14 点
综合积分: 28 分
注册时间: 2012-02-24
最后登录: 2013-07-30
楼主  发表于: 2012-10-07 11:38

 卸载g_file_storage后重新安装modprobe g_file_storage,电脑识别不了

如题,我使用的是tiny210的开发板,想通过miniusb用电脑识别插到板子上面的u盘或者sd卡,当我第一次执行安装命令:
modprobe g_file_storage file=/dev/sdcard

时,电脑能够识别到插在板子上的sd卡。接着执行卸载命令:
modprobe -r g_file_storage

后重新执行安装命令:
modprobe g_file_storage file=/dev/sdcard

显示安装成功的信息
[root@FriendlyARM /]# modprobe g_file_storage file=/dev/sdcard
[ 2260.302593] g_file_storage gadget: File-backed Storage Gadget, version: 20 No
vember 2008
[ 2260.302671] g_file_storage gadget: Number of LUNs=1
[ 2260.302721] g_file_storage gadget-lun0: ro=1, file: /dev/sdcard
[root@FriendlyARM /]# lsmod
g_file_storage 24738 0 - Live 0xbf0b5000
rtl8192cu 489899 0 - Live 0xbf01e000
tvp5150_tiny210 14147 0 - Live 0xbf015000
snd_soc_mini210_wm8960 2936 0 - Live 0xbf00f000
snd_soc_wm8960 15882 1 snd_soc_mini210_wm8960, Live 0xbf006000

但是电脑没有反应,识别不了板子上的u盘或者sd卡,电脑上设别管理器也没有显示出“usb大容量存储设备”。哪位高手晓得解决办法,请指教,谢谢。。