xref: /illumos-gate/usr/src/man/man4d/usb_ac.4d (revision de27825976aef9b5a7b956ede505fc9bab8acfd2)
te
Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
USB_AC 4D "March 6, 2023"
NAME
usb_ac - USB audio control driver
SYNOPSIS
sound-control@unit-address
DESCRIPTION
The usb_ac driver is a USBA (Solaris USB Architecture) compliant client driver that supports the USB Audio Class 1.0 specification.

The audio control driver is a USB class driver and offers functionality similar to the audiots driver which uses the Solaris audio mixer framework (mixer(4I)). Unlike the audiots driver, the USB audio device can have play-only or record-only capability.

Drivers corresponding to other USB audio interfaces on the device, including the usb_as(4D) audio streaming driver or the hid(4D) driver, are plumbed under the USB audio control driver and do not directly interface with user applications.

The usb_ac driver supports USB audio class compliant devices with a feature unit.

ERRORS
If a device is hot-removed while it is active, all subsequent opens returns EIO. All other errors are defined in the audio(4I) man page.
FILES
/kernel/drv/usb_ac

32-bit x86 ELF kernel module

/kernel/drv/amd64/usb_ac

64-bit x86 ELF kernel module

/kernel/drv/sparcv9/usb_ac

64-bit SPARC ELF kernel module.

/kernel/drv/usb_ac.conf

USB audio driver configuration file.

ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE
Architecture SPARC, x86, PCI-based systems
Interface Stability Uncommitted
SEE ALSO
ioctl (2), hid (4D), usb_as (4D), usba (4D), audio (4I), mixer (4I), streamio (4I), usb_ah (4M), attributes (7), cfgadm_usb (8)

Writing Device Drivers

Universal Serial Bus Specification 1.0 and 1.1

Universal Serial Bus Device Class Definition for Audio Devices, Release 1.0

System Administration: Basic Administration

DIAGNOSTICS
In addition to being logged, the following messages can appear on the system console. All messages are formatted in the following manner:
Warning: <device path> (usb_ac<instance num>): Error Message...
Failure to plumb audio streams drivers.

The usb audio streaming driver or the hid driver could not be plumbed under the audio control driver and the device is not usable.