Skip to content

Certification troubleshooting and known erratum

Yan Vugenfirer edited this page Dec 14, 2021 · 3 revisions

General

Windows Server 2022

USB Generic HID Test error "No MUTT devices were detected"

Error

PM No MUTT devices were detected

Solution

Unfortunately MS didn't grant errata for this test and the redirection MUTT device to test VM is needed in order to pass the test.

In order to pass the test use the following instructions when using Super MUTT V3.0 device connected to the host USB3 port:

  1. HCK SUT QEMU should have a HMP monitor on local telnet port 10005 and "-device usb-xhci"
  2. Run the script (see below)
  3. Schedule the test
  4. Stop the script after the test passed

Redirection script

#! /bin/bash

hmon_port=10005
muttbus=0
muttaddr=0

renew_device() {
  { echo "device_del m1" ; sleep 1 ; echo "device_add usb-host,id=m1,hostbus=$muttbus,hostaddr=$muttaddr"; sleep 1; } | telnet localhost $hmon_port
}

for (( ; ; ))
do
lsusb | grep 045e | sed 's/Bus //g;s/Device //g;s/://' > lsusb.txt
cat lsusb.txt
read _muttbus _muttaddr xx <<< $(cat lsusb.txt)
bus=$((10#$_muttbus))
addr=$((10#$_muttaddr))
echo $bus $addr
if [ "$bus" != "$muttbus" ] || [ "$addr" != "$muttaddr" ] ; then
  muttbus=$bus
  muttaddr=$addr
  renew_device
fi
sleep 1
done

USB Type-C ACPI Validation error

Error

AreEqual(g_numberOfTypeCPorts, expectedNumberOfTypeCPorts): Compare number of marked Type-C ports (_UPC in ACPI) to expected number of Type-C ports. Please make sure the parameter 'NumberOfUsbTypeCPorts' has been set correctly. If this is a USB Dual-Role system that uses the URS driver, connect a USB device to each Dual-Role capable connector and re-run the test. - Values (0, 3)

Test documentation:

https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/b3c41a3f-b844-4c2d-b115-dad51a37f123

Solution

Set test job parameter NumberOfUsbTypeCPorts to 0.

RSC test

For Server 2022, please use this playlist - "HLK Version 21H2 CompatPlaylist x64 ARM64 server".

MS recommendation

https://techcommunity.microsoft.com/t5/windows-hardware-certification/windows-11-amp-server-2022-hlk-kit-guidance-for-creating-new/ba-p/2567481