USB error: couldn’t opendir(): No such file or directory
来源:互联网 发布:中美无人机 知乎 编辑:程序博客网 时间:2024/06/04 22:07
Solution – USB error: couldn’t opendir(): No such file or directory
“USB error: couldn’t opendir(): No such file or directory”
This was a dirty little error that made my life miserable for a while. Read down for the solution.
When it happened?
While trying to use Reliance Netconnect USB 3G dongle on Froyo v2.2 of android.
How it happened?
While executing the following command to switch the USB device to modem mode using ‘usb_modeswitch’ tool.
$ usb_modeswitch -I -W -c /etc/usb_modeswitch.conf
What is the solution?
Pre-requisites
- Turn on USBFS on kernel (CONFIG_USB_DEVICEFS in .config) and use that uImage for booting.
- Download the usb_modeswitch arm application from here.
- Find out the Vendor ID and Product ID by connecting the dongle to a PC
- Once you download ‘usb_modeswitch’, there will be a folder ‘usb_modeswitch.d’ inside which look for a file named vendorID:productID of your device. (relce vendorID and productID with the values you found out in step 3). Use this file as argument to ‘usb_modeswtich’
Execution
- Once the board is booted, execute ‘mount -t usbfs usbfs /proc/bus/usb‘ from the terminal.
- Now execute the command ‘/system/bin/usb_modeswitch -I -W -c /etc/usb_modeswitch.conf‘
- Note – replace ‘usb_modeswitch.conf‘ with the configuration file corresponding to your 3G dongle.
- USB error: couldn’t opendir(): No such file or directory
- 关于安卓 Couldn't load memtrack module (No such file or directory) 的错误
- 百度地图开发,Couldn't load memtrack module (No such file or directory)
- androidStudio异常:Couldn't load memtrack module (No such file or directory)
- Linux下安装NS2时遇到couldn't execute "nam": no such file or directory 解决办法
- Subversion error: No such file or directory
- error: QtNetwork: No such file or directory
- error: QApplication: No such file or directory
- gcc error: no such file or directory
- ios error no such file or directory
- error: no such file or directory
- clang: error: no such file or directory
- error: CreateProcess: No such file or directory
- NS2中couldn't read file "../tcl/mobility/scene/cbr-3-test": no such file or directory解决方法
- BUG解决 —— error: can't exec 'codesign' (No such file or directory)
- error opening trace file: No such file or directory
- error opening trace file:no such file or directory
- error opening trace file: No such file or directory (2)
- 2008 升级域
- 2008 域用户管理应用
- Excel中使用自带的Filter筛选功能不能包含所有的条目问题
- 转李开复,如何选择创业者
- 我使用过的Linux命令之for - Bash中的For循环
- USB error: couldn’t opendir(): No such file or directory
- The difference between web container and web server
- 2008 VPN
- MFC树控件父Item与子Item的checkbox的联动
- 10249 The Grand Dinner
- Java Final修饰符
- 10067 - Playing with Wheels
- 万一被烫伤/烧伤怎么办?
- 2008网络负载平衡