Reputation: 669
I am evaluate WebUSB to use browser communicate with a HID USB hardware. I am wondering if there any requirement on the usb hardware side. For example, is it require certain firmware to support WebUSB? Or Chrome can have access to any USB device? Thanks!
Upvotes: 2
Views: 1867
Reputation: 6093
The browser can access any device that is unclaimed by an existing driver. This excludes HID class devices since those are handled by the generic HID class driver. There are two options for interacting with a HID class device: modify the firmware to remove the HID class designation or wait for the WebHID API to be implemented.
For more information on building a device with WebUSB in mind see this article I recently published.
Upvotes: 3