怎么查看一个usb设备被哪些模块或者程序占用了
这个问题产生的原因是,我在ubuntu上安装jlink,运行JLinkExe老是提示连接失败,我strace这个程序,发现对这个usb设备操作时ioctl返回-1,设备忙,于是我猜测是哪个地方占用了这个usb设备,最终浪费好久的时间终于想起很久以前rc.local 里面insmod一个驱动它会使用这个设备,rmmod,果然解决。我的问题就是如何查看一个usb设备被哪些模块或程序占用。 回复 1# tang_m_congThis may answer your question:
http://unix.stackexchange.com/questions/60078/find-out-which-modules-are-associated-with-a-usb-device 回复 2# MMMIX 谢了。
页:
[1]