Closed OrangeChu closed 4 years ago
I assume this is related to https://github.com/MadLittleMods/node-usb-detection/pull/86
cc @nononoone
Thanks @MadLittleMods .
This is the result of version 4.3.0:
I'm afraid it's not deviceName garbled problem. It looks like node-hid
and usb-detection
take different values.
Thanks @MadLittleMods . I'm afraid it's not deviceName garbled problem. This is the result of version 4.3.0:
It looks like
node-hid
andusb-detection
take different values.
It was fixed in version 4.4.0
HID
只是一种USB
通信协议。
而USB
有5种标准描述符:
设备描述符
配置描述符
字符描述符
接口描述符
端点描述符
USB
描述符之间的关系是一层一层的。明显node-usb-detection
与node-hid
获取的描述符层次不同。你可以在windows设备管理器中查看,应该与node-usb-detection
获取的信息一致。所以node-usb-detection
没有毛病。另外,花钱购买vid和pid的可能有你想要的结果。
This is not a bug.
HID
只是一种USB
通信协议。而
USB
有5种标准描述符: 设备描述符 配置描述符 字符描述符 接口描述符 端点描述符
USB
描述符之间的关系是一层一层的。明显node-usb-detection
与node-hid
获取的描述符层次不同。你可以在windows设备管理器中查看,应该与node-usb-detection
获取的信息一致。所以node-usb-detection
没有毛病。另外,花钱购买vid和pid的可能有你想要的结果。This is not a bug.
Thank you for your answer. :100:
This is the result of node-hid:
This is the result of usb-detection: (note:
manufacturer: "(标准系统设备)"
meansmanufacturer: "(Standard USB Host Controller)"
)