System Administration Guide: Devices and File Systems

ProcedureHow to Identify Your System's Primary Audio Device

This procedure assumes that you have already connected the USB audio devices.

  1. Examine your system's new audio links.

    • Display your system's new audio links with the ls command.

      For example:


      % ls -lt /dev/audio*
      lrwxrwxrwx   1 root  root      7 Jul 23 15:46 /dev/audio -> usb/audio0
      lrwxrwxrwx   1 root  root     10 Jul 23 15:46 /dev/audioctl -> 
      usb/audioctl0/
      % ls -lt /dev/sound/*
      lrwxrwxrwx   1 root  root     74 Jul 23 15:46 /dev/sound/1 -> 
      ../../devices/pci@1f,4000/usb@5/hub@1/device@3/sound-control@0:...
      lrwxrwxrwx   1 root  root     77 Jul 23 15:46 /dev/sound/1ctl -> 
      ../../devices/pci@1f,4000/usb@5/hub@1/device@3/sound-control@0:...
      lrwxrwxrwx   1 root  other    66 Jul 23 14:21 /dev/sound/0 -> 
      ../../devices/pci@1f,4000/ebus@1/SUNW,CS4231@14,200000:sound,audio
      lrwxrwxrwx   1 root  other    69 Jul 23 14:21 /dev/sound/0ctl -> 
      ../../devices/pci@1f,4000/ebus@1/SUNW,CS4231@14,200000:sound,audioctl
      % 

      Notice that the primary audio device, /dev/audio, is pointing to the newly plugged in USB audio device, /dev/usb/audio0.

    • You can also examine your system's USB audio devices with the prtconf command and look for the USB device information.


      % prtconf
      .
      .
      .
      usb, instance #0
         hub, instance #0
              mouse, instance #0
              keyboard, instance #1
              device, instance #0
                  sound-control, instance #0
                  sound, instance #0
                  input, instance #0
      .
      .
      .