QR Code scanner abnormal usage

|
  • 213
  • 8

Issue Description

User feedback that newly purchased QR / Barcode scanner showing abnormal readings when using on VDI but able to read normally when using on physical PC.

Error/Warning Information

Handling Process

1. Understand how the scanner works, whether requires to install any additional software or drivers.

2. Checked the product website, no software/drivers available to download.

3. Check on device manager, found that the scanner is being identified as 'HID Keyboard Device'.

4. Login to VDI, and launch the VM and check [Device Manager] , found that the scanner does not appears on the list although still able to scan the QR codes and display on the VM. (abnormal characters).

5. Suspect that this is due to the VM does not have the necessary driver installed so the generated text becomes abnormal.

6. Configure a USB whitelist under [Mappings] on VDC and allow this device.

7. Make sure the same PID:VID is not configured under [Document Scanners] and [Advanced].

8. Login to VDI again, and the device is mapped to VM successfuly.

9. Windows auto detects the device and installs the drivers automatically.

10. A new HID keyboard device appears under [Device Manager] on the Virtual Machine.

Root Cause

The scanner is connected via a dongle. The scanner shall appear as 'HID Keyboard device' under the VM [Device Manager] to work properly.

HID mode is the scanner's factory mode, and is intended to work with a wide variety of other devices. In this mode, the scanner mimics a Bluetooth keyboard, and requires tapping or clicking a text field before scanning.

Solution

Configure a USB whitelist and map the USB into VM. Windows will auto detect and add the device as HID Keyboard device.
Kashif Mughal Lv1Posted 30 Aug 2022 15:44
  
Great Information
Newbie308427 Posted 31 Aug 2022 12:32
  
nice sharing
Faisal P Posted 11 Sep 2022 09:06
  
Thank you very much for the information ...
Faisal P Posted 11 Sep 2022 09:06
  
Nice article ...  
Faisal P Posted 11 Sep 2022 09:07
  
Great info ...
Faisal P Posted 11 Sep 2022 09:07
  
Very informative ...
Faisal P Posted 11 Sep 2022 09:07
  
Nice guidance ...
Apriyanto Lv5Posted 13 Jan 2023 12:10
  
thank you

I want to write a case
Doc ID: 7062
Author: Sangfor_Siva
Updated: 2022-08-30 11:36
Version: