GoogleChromeLabs / dictation_support

This SDK allows web-based apps/pages to interact with dictation devices
Apache License 2.0
12 stars 6 forks source link

Unhandled Input Report Errors and LED Setting Issue with HID Device #29

Open RSI-Sakthisivaprakash opened 1 month ago

RSI-Sakthisivaprakash commented 1 month ago

Description: I am using admin-granted permissions for an HID device (SpeechMike LFH 3500) via Windows Registry configuration. While the connect event is working fine, I am encountering multiple unhandled input report errors in the logs. Additionally, I am unable to set the LED for the Philips SpeechMike on the auto-connect event due to these errors. Below is a snippet of the log capturing these errors:

image

image

Registry Configuration: WebHidAllowDevicesForUrls > [{ "devices":[ { "vendor_id":2321 } ], "urls":[ "https://app.speechlive.com", "https://storage.googleapis.com" ] }]

Steps to Reproduce:

  1. Configure the registry for the HID device with the above settings.
  2. Connect the SpeechMike LFH 3500 device.
  3. Observe the logs for unhandled input report errors.
  4. Attempt to set the LED status on the auto-connect event.

Expected Behavior: The device should connect and the LED should be set without generating unhandled input report errors.

Actual Behavior: The device generates multiple unhandled input report errors, and the LED setting does not work on the auto-connect event.

Additional Information:

Windows OS version: 11 SDK version: "dictation_support": "^1.0.4",

rpriewasser-sps commented 4 weeks ago

Hi Sakthi,

these unhandled input report errors can safely be ignored. Also, they should not prevent setting LEDs from working. Background info: If the SDK receives HID responses from a connected device but it actually did not write corresponding queries to the device, it will produce these errors. This happens when any other software containing Philips drivers is running in parallel. Could be Philips software like SpeechControl or 3rd party integrations like Dragon. When a Philips device gets connected, the Philips drivers send a lot of queries to the device. The device responds to these, which is also captured by the Google Dictation SDK.

BR Robert

RSI-Sakthisivaprakash commented 2 weeks ago

Hi Robert,

Thanks for the clarification. After quitting the Philips software, I'm no longer able to reproduce the unhandled input report errors. It seems the issue was indeed caused by the parallel operation of Philips software or third-party integrations.

Best regards, Sakthi