|
|||
1. Managing Removable Media (Overview) 2. Managing Removable Media (Tasks) 3. Accessing Removable Media (Tasks) 4. Writing CDs and DVDs (Tasks) 5. Managing Devices (Overview/Tasks) 6. Dynamically Configuring Devices (Tasks) 7. Using USB Devices (Overview) Managing USB Devices in the Solaris OS (Roadmap) Using USB Mass Storage Devices (Task Map) Using USB Mass Storage Devices How to Display USB Device Information How to Create a File System on a USB Mass Storage Device How to Modify Partitions and Create a PCFS File System on a USB Mass Storage Device How to Create a Solaris Partition and Modify the Slices on a USB Mass Storage Device How to Mount or Unmount a USB Mass Storage Device How to Disable Specific USB Drivers How to Remove Unused USB Device Links Using USB Audio Devices (Task Map) Hot-Plugging USB Devices With the cfgadm Command (Task Map) How to Display USB Bus Information (cfgadm) How to Unconfigure a USB Device How to Logically Disconnect a USB Device How to Logically Connect a USB Device How to Logically Disconnect a USB Device Subtree How to Change the Default Configuration of a Multi-Configuration USB Device 9. Using InfiniBand Devices (Overview/Tasks) 11. Administering Disks (Tasks) 12. SPARC: Adding a Disk (Tasks) 13. x86: Adding a Disk (Tasks) 14. Configuring Solaris iSCSI Targets and Initiators (Tasks) 15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS) 16. The format Utility (Reference) 17. Managing File Systems (Overview) 18. Creating UFS, TMPFS, and LOFS File Systems (Tasks) 19. Mounting and Unmounting File Systems (Tasks) 20. Using The CacheFS File System (Tasks) 21. Configuring Additional Swap Space (Tasks) 22. Checking UFS File System Consistency (Tasks) 23. UFS File System (Reference) 24. Backing Up and Restoring File Systems (Overview) 25. Backing Up Files and File Systems (Tasks) 26. Using UFS Snapshots (Tasks) 27. Restoring Files and File Systems (Tasks) 28. UFS Backup and Restore Commands (Reference) 29. Copying UFS Files and File Systems (Tasks) |
Using USB Audio DevicesFor information about USB audio support in specific Solaris releases, see Solaris Support for USB Devices. This Solaris release provides USB audio support that is implemented by a pair of cooperating drivers, usb_ac and usb_as. The audio control driver, usb_ac, is a Solaris USB Architecture compliant client driver that provides the controlling interface to user applications. The audio streaming driver, usb_as, processes audio data messages during play and record. It sets sample frequency and precision, and encodes requests from the usb_ac driver. Both drivers comply with the USB audio class 1.0 specification. Some audio devices can set volume under software control. A STREAMS module, usb_ah, is pushed on top of the HID driver for managing this function. Solaris supports USB audio devices that are play-only, record-only, or record and play. Hot-plugging of USB audio devices is supported.
The primary audio device is /dev/audio. You can verify that /dev/audio is pointing to USB audio by using the following command: % mixerctl Device /dev/audioctl: Name = USB Audio Version = 1.0 Config = external Audio mixer for /dev/audioctl is enabled After you connect your USB audio devices, you access them with the audioplay and audiorecord command through the /dev/sound/N device links. Note that the /dev/audio and /dev/sound/N devices can refer to speakers, microphones, or combination devices. If you refer to the incorrect device type, the command fails. For example, the audioplay command fails if you try to use it with a microphone. You can select a specific default audio device for most Sun audio applications, such as audioplay and audiorecord, by setting the AUDIODEV shell variable or by specifying the -d option for these commands. However, setting AUDIODEV does not work for third-party applications that have /dev/audio hardcoded as the audio file. When you plug in a USB audio device, it automatically becomes the primary audio device, /dev/audio, unless /dev/audio is in use. For instructions on changing /dev/audio from on-board audio to USB audio and vice versa, refer to How to Change the Primary USB Audio Device, and usb_ac(7D). Hot-Plugging Multiple USB Audio DevicesIf a USB audio device is plugged into a system, it becomes the primary audio device, /dev/audio. It remains the primary audio device even after the system is rebooted. If additional USB audio devices are plugged in, the last one becomes the primary audio device. For additional information on troubleshooting USB audio device problems, see usb_ac(7D). How to Add USB Audio Devices
How to Identify Your System's Primary Audio DeviceThis procedure assumes that you have already connected the USB audio devices.
How to Change the Primary USB Audio Device
Troubleshooting USB Audio Device ProblemsSometimes, USB speakers do not produce any sound, even though the driver is attached and the volume is set to high. Hot-plugging the device might not change this behavior. The workaround is to power cycle the USB speakers. Key Points of Audio Device OwnershipKeep the following key points of audio device ownership in mind when working with audio devices:
|
||
|