linux2.6.31版本以后usb/devices输出信息使用usb-devices查看
来源:互联网 发布:成都泰迪熊博物馆淘宝 编辑:程序博客网 时间:2024/06/07 21:07
因工作需要,查看挂载在ubuntu13.04上的一款usb设备的Product和Vendor信息,发现cat /proc/bus/usb/devices文件不存在
后来发现在linux2.6.31以后的版本 相关信息要在usb-devices中查看
man usb-devices信息截取
usb-devices(1) Linux USB Utilities usb-devices(1)
NAME
usb-devices - print USB device details
SYNOPSIS
usb-devices
DESCRIPTION
usb-devices is a (bash) shell script that can be used to display details of USB buses in the system and the devices connected to them.
...
/proc/bus/usb/devices
Location where the usb/devices file can normally be found for Linux kernels before 2.6.31, if usbfs is mounted.
输出信息:
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 13 Spd=12 MxCh= 0
D: Ver= 0.20 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=23d8 ProdID=0285 Rev=01.00
S: Manufacturer=CREATOR(CHINA)TECH CO.,LTD
S: Product=CRT-285
S: SerialNumber=S130622000
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=400mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
- linux2.6.31版本以后usb/devices输出信息使用usb-devices查看
- s3c2440 devices usb改为host usb 小记
- s3c2440 devices usb改为host usb 小记
- A USB Library to Detect USB Devices
- Using USB Devices in a Virtual Machine
- MTP and MSC Mode of USB Devices
- Persistent names for usb-serial devices
- no usb devices or running emulators detected
- usb mdb command to view descriptors of USB devices
- Resources for Developers of USB Devices in the
- USB Mass Storage: Designing and Programming Devices and Embedded Hosts
- 解决/proc/bus/usb/目录下没有devices文件问题
- 解决/proc/bus/usb/目录下没有devices文件问题
- Program for Linux USB-devices driver step by step (ONE)
- /sys/bus/usb/devices下的文件命名
- libuvc: a cross-platform library for USB video devices
- 关于华硕主板“USB Devices Over Current Status Detected!”
- 遇到了“No USB devices or running emulators detected”
- TUXEDO资料(一)
- jsp页面头信息遍历
- 陈楚东-第一周计算“两个整数的最大公约数”程序和《算法概论》思维导图
- c++之const
- GCDAsyncSocket类库,IOS下TCP通讯使用心得
- linux2.6.31版本以后usb/devices输出信息使用usb-devices查看
- HibernateSessionFactoryUtil
- 《黑马程序员》 使用反射替换类中的变量的值
- C语言函数指针参数也是传值调用
- 深入浅出 - Android系统移植与平台开发(五)- 编译Android源码
- 深度分析如何在Hadoop中控制Map的数量
- ARP逆过程——RARP协议流程
- 纯javascript实现广告的无缝滚动
- 通用乱码解决方案