0

我正在尝试v73.0.3683.86通过 WebUSB 在 Chrome 中的 Windows 10 上使用 USB 条形码扫描仪。

扫描仪是Honeywell Voyager 1250g.

我可以通过设备对话框查看设备 - 我也可以打开它并选择配置。

但是,当我尝试声明interface(1) (有 3 个接口,但 1 个是批量传输)时,我Failed to claim interface: Operation not supported or unimplemented on this platformchrome://device-log/.

有没有办法解决这个问题,或者这个扫描仪不能通过 WebUSB 使用?谢谢!

4

1 回答 1

0

您是否尝试过在其他平台上使用 WebUSB 连接到此设备?Windows 对应用程序(如 Chrome)访问 USB 设备有一个特殊的附加要求,即必须为接口加载 WinUSB.sys 驱动程序。

我在这里写了一篇文章来解释 Windows 的特定要求:https ://developers.google.com/web/fundamentals/native-hardware/build-for-webusb/#windows

如果您使用 Windows 设备管理器,您可以检查为您的设备加载了哪些驱动程序。如果没有加载驱动程序,那么您可以编写自定义 INF 文件,如该文章中所述,以指示 Windows 加载所需的驱动程序。

于 2019-03-29T17:19:40.063 回答