可以看看网上的测试过程,也有代码
http://blog.csdn.net/howiexue/article/details/76549487
可以用软件实现,不过会占用一定的资源,
参考http://blog.csdn.net/usb_abc/article/details/52194465