-
Notifications
You must be signed in to change notification settings - Fork 387
Certification troubleshooting and known erratum
PM No MUTT devices were detected
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:
- HCK SUT QEMU should have a HMP monitor on local telnet port 10005 and "-device usb-xhci"
- Run the script (see below)
- Schedule the test
- 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
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)
Set test job parameter NumberOfUsbTypeCPorts to 0.
For Server 2022, please use this playlist - "HLK Version 21H2 CompatPlaylist x64 ARM64 server".