Optical Drive Tray status Implementation

The WLK 1.2 version of the Optical Logo test verifies if the drive reports the following sense codes properly

DESCRIPTION

SENSE KEY

ASC

ASCQ

MEDIUM NOT PRESENT

0x02

0x3A

0x00

MEDIUM NOT PRESENT – TRAY CLOSED

0x02

0x3A

0x01

MEDIUM NOT PRESENT – TRAY OPEN

0x02

0x3A

0x02

The test expects the drives to report the tray status in the sense code. The test would fail if these sense codes are not properly reported.

There is an exception to this requirement for the slot type drives. The slot type drives would not have tray so they will not be able to report tray status in the sense code. But the slot drive must report the media loading mechanism type as 0 in the Removable medium feature. The WLK 1.2 version of the optical logo test is not considering this value. But in future, the test would depend on this value to skip the tray status verification test cases for slot type drives.

The following are the loading mechanism type values from MMC5r4.

Mechanism Type

Description

000b

Caddy/Slot type loading mechanism

001b

Tray type loading mechanism

010b

Pop-up type loading mechanism

011b

Reserved

100b

Embedded changer with individually changeable discs

101b

Embedded changer using a magazine mechanism

110b – 111b

Reserved

The WLK 1.2 version of the optical logo test causes timeout failures for slot type drives, because it relies on the sense code to wait for the tray open/closed operation to complete. The slot type drives will not be able to report the tray status in the sense code. So, the test would cause a time out failure after waiting for 20 seconds. The following errata filter would cover those failures

https://winqual.microsoft.com/EC/ECDetails.aspx?id=1172

Comments