12월, 2013의 게시물 표시

reset USB device in linux

http://www.roman10.net/how-to-reset-usb-device-in-linux/ How to Reset USB Device in Linux by   ROMAN10   on   MAY 4, 2011  ·  10 COMMENTS USB devices are anywhere nowadays, even many embedded devices replace the traditional serial devices with usb devices. However, I experienced that USB devices hang from time to time. In most cases, a manual unplug and replug will solve the issue. Actually, usb reset can simulate the unplug and replug operation. First, get the device path for your usb device. Enter the command lsusb will give you something similar as below, Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 002: ID 04b3:310c IBM Corp. Wheel Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 002: ID 0a5c:2145 Broadcom Corp. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Use the IBM Wheel Mouse as an ...