HID兼容设备不会在ChromeOS上使用chrome.hid API进行枚举 [英] HID compliant device will not enumerate using chrome.hid API on ChromeOS
问题描述
使用USB HID传感器我似乎只能使用 chrome枚举设备ChromeOS上的.usb
API 。
Using a USB HID sensor I can only seem to enumerate the device with the chrome.usb
API on ChromeOS.
在OS XI上可以使用 chrome.hid
API 没有问题。
On OS X I can enumerate with the chrome.hid
API with no problem.
在ChromeOS上没有识别HID设备的原因是什么?
What could be the reasons for HID devices not being identified as such on ChromeOS?
推荐答案
这可能是设备被Linux HID驱动程序列入黑名单。如果您可以将Chrome OS设备置于开发人员模式或将设备连接到Linux计算机,则可以检查内核日志以查看设备的识别方式。如果一切顺利,那么应该为设备创建一个/ dev / hidraw节点。
It is possible the device is blacklisted by the Linux HID driver. If you can put your Chrome OS device in developer mode or connect the device to a Linux computer you can check the kernel log to see how the device is recognized. If all is well then there should be a /dev/hidraw node created for the device.
你能告诉我设备供应商和产品ID是什么吗?
Can you tell me what the device vendor and product IDs are?
这篇关于HID兼容设备不会在ChromeOS上使用chrome.hid API进行枚举的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!