上传者: 42119358
|
上传时间: 2023-03-15 11:53:41
|
文件大小: 20KB
|
文件类型: ZIP
USB外围设备的通用设备监视器
该软件包使用libudev监视linux机器上任何已注册USB设备的状态。
要求
利卜杜夫
libusb
注册设备
为了注册设备,您需要以以下格式将设备详细信息输入到配置文件中
VID,PID,Name
VID = Vendor ID of th device
PID = Product ID of the device
Name = String indicating the name of the device (User defined)
* Use lsusb to find above mentioned details
用法
Observer pattern has been used in this project. An observer will have to be created to recieve notifications.
Pl