xref: /titanic_41/usr/src/man/man7d/usb_ac.7d (revision 989f28072d20c73ae0955d6a1e3e2fc74831cb39)
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 7D "May 13, 2009"
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 audiocs (sun4u) and audiots (Sun Blade 100) drivers which use the Solaris audio mixer framework (mixer(7I)). Unlike the audiocs and audiots drivers, 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(7D) audio streaming driver or the hid(7D) 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(7I) 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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Architecture SPARC, x86, PCI-based systems
Interface Stability Uncommitted
SEE ALSO

cfgadm_usb(1M), ioctl(2), attributes(5), hid(7D), usba(7D), usb_as(7D), audio(7I), mixer(7I), streamio(7I), usb_ah(7M)

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.