AV/C overview

This section describes the Microsoft-supplied Avc.sys function driver that provides support for the IEEE 1394 Audio/Video Control (AV/C) protocol. This section also provides guidelines to develop AV/C subunit drivers for your AV/C-compliant device. Note that vendors might use the Microsoft-supplied drivers, Msdv.sys or Mstape.sys, to support their tape subunits, if applicable. These two class drivers make writing drivers for tape subunits unnecessary.

Avc.sys provides two operating modes: peer and virtual. The Avc.sys peer mode supports subunits on external AV/C devices. The Avc.sys virtual mode enables computer functionality to be exposed as an AV/C subunit, and therefore to make the computer a valid target for AV/C commands and requests from other AV/C devices across the IEEE 1394 serial bus.

Avc.sys uses separate driver stacks to support peer subunit and virtual subunits. Note that the different modes do not support identical functionality. For more information about the peer subunit and virtual subunit driver stacks, see AV/C Driver Stacks.

Avc.sys generates device identifiers (IDs) for both peer and virtual subunits. The device identifiers associate the correct INF files and subunit drivers with the subunits. When an AV/C device connects to the computer, Avc.sys enumerates the active subunits as peer subunits. Windows then loads the corresponding subunit driver. For more information about the format of both peer and virtual subunit device identifier strings, see AV/C Device IDs.

Avc.sys provides the following functionality:

  • Interim responses within the 100 millisecond requirement as defined by the AV/C specification on behalf of peer subunit drivers. Avc.sys returns only the final response of an AV/C command or query. Virtual subunit drivers must still generate interim and final responses.

  • Routing responses from AV/C subunits to their respective subunit drivers. Subunit drivers receive responses from only their hardware.

  • IEC-61883 plug enumeration and control within the kernel-streaming (KS) framework. For more information about plug connections and data formats, see AV/C Subunit Plug Connection and Format Management.

Subunit drivers can use either the Stream class interface or the newer AVStream interface. Furthermore, a subunit driver can provide its own KS proxy plug-in to expose custom property pages to user-mode applications. For more information, see AV/C Kernel-Streaming Interface and KS Proxy Plug-ins.

Typically, vendors write an AV/C subunit driver to provide support to:

  • Control the subunit based on a device type defined by the 1394 Trade Association specifications.

  • Manage plug connections to stream data based on IEC-61883 standards across the IEEE 1394 bus. For more information about the 61883 standards, see the IEC website.