How to Get the Name of DAC in Linux

Abstract: Identify the Linux DAC name using aplay -l for ALSA or pactl list sinks short for PulseAudio to configure audio routing.

Created: 2026-08-14 by

To identify the Digital-to-Analog Converter (DAC) name in Linux, use aplay -l to list sound cards and their subdevices. This command reveals the hardware identifier used by ALSA. For PulseAudio users, pactl list sinks short provides the sink name. These methods directly expose the audio hardware details required for configuration.

Understanding Audio Subsystems in Linux

Linux handles audio through two primary subsystems: ALSA (Advanced Linux Sound Architecture) and PulseAudio or PipeWire. ALSA operates at a lower level, interacting directly with kernel drivers. PulseAudio sits on top of ALSA, managing streams and providing user-space tools. When you need the DAC name, you are typically looking for the identifier that these systems use to route audio data. The DAC itself is often part of an integrated sound card on your motherboard or a discrete USB audio interface. Identifying it correctly ensures that applications send audio to the correct device, especially when multiple outputs are present.

ALSA vs. PulseAudio Identification

ALSA uses a hierarchical naming scheme based on card indices and device numbers. A typical output might look like card 0: Intel [HDA Intel]. Here, "Intel" is the driver name, not necessarily the DAC model. The specific DAC chip inside the card is often not exposed by default commands unless you dig into sysfs. PulseAudio, however, creates logical sinks that abstract the underlying hardware. A sink name might be alsa_output.pci-0000_00_1b.0.analog-stereo. This string contains the PCI address and the profile type. Understanding this distinction helps you choose the right tool for your task. If you are scripting or configuring low-level drivers, ALSA identifiers are more stable. For desktop environments, PulseAudio or PipeWire names are usually sufficient.

Using Aplay to List Sound Cards

The aplay utility is part of the alsa-utils package and is the standard way to query ALSA devices. Running aplay -l lists all PCM cards and their subdevices. The output format is consistent across most distributions. Each line starts with "card" followed by a number, then the driver name in brackets. Below each card, you will see "subdevice" entries. These subdevices represent the physical ports or internal converters. Look for lines containing "analog" or "digital" to find the analog output path. This is where your speakers or headphones connect. The number after "card" is the index you need for many configuration files.
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
In this example, card 0 uses an ALC887 codec. Card 1 is a USB device. The text in brackets next to the device name often indicates the codec model. This is the closest you get to the raw DAC name using standard ALSA tools. If you have multiple cards, pay attention to the order. The first card listed is usually the default. You can change this default if needed, but knowing the current index is the first step.

PulseAudio Sink Identification

Most modern desktop Linux distributions use PulseAudio or its successor, PipeWire. These systems provide higher-level abstractions. To see the active sinks, use pactl list sinks short. This command outputs a concise list of available audio outputs. Each line contains an index, the name, and the driver module. The name field is what you use in many GUI settings and some CLI tools. It is more human-readable than the ALSA card index. However, it may change if you plug in new devices. The name includes the PCI bus ID, which ties it back to the physical hardware.
$ pactl list sinks short
0	alsa_output.pci-0000_00_1b.0.analog-stereo	module-alsa-card.c	suspended
1	pipewire.0				pipewire-pulse.so	suspended
The sink name alsa_output.pci-0000_00_1b.0.analog-stereo tells you the device is connected via PCI bus at address 0000:00:1b.0. It uses analog stereo output. This information is crucial for debugging audio routing issues. If an application plays to the wrong speaker, checking this name helps verify the target. You can also use pactl info to see the default sink. This confirms which device the system prioritizes for general audio playback.

Checking PipeWire if Applicable

If your system uses PipeWire instead of PulseAudio, the commands differ slightly. Use wireplumber or pw-cli to inspect devices. The structure is similar, focusing on nodes and ports. Many modern distros like Fedora and Ubuntu 22.04+ default to PipeWire. The logic remains the same: identify the node representing your DAC. The node ID or name serves the same purpose as the PulseAudio sink name. Check your distribution documentation to confirm which backend is active. Most tools are compatible enough that the concepts transfer easily.

Digging Deeper with Sysfs

For advanced users who need the exact codec vendor and device IDs, the sysfs filesystem holds detailed information. Navigate to /sys/class/sound/ to find your sound cards. Each card directory contains attributes like codec_vendor and codec_device. These hexadecimal values correspond to the DAC manufacturer and model code. You can cross-reference these values online to find the exact chip name. This method bypasses the abstraction layers of ALSA and PulseAudio. It requires root privileges to read some attributes. Use this only when standard commands do not provide enough detail. It is particularly useful for embedded systems or custom hardware setups.
$ cat /sys/class/sound/card0/codec_vendor
0x10ec
$ cat /sys/class/sound/card0/codec_device
0x0887
The values 0x10ec and 0x0887 correspond to Realtek ALC887. This confirms the hardware identity without relying on driver labels. This approach is robust against driver changes. As long as the kernel exposes the codec info, these files remain valid. It is a reliable fallback when other methods fail or return generic names. Combine this with aplay -l for a complete picture.

Common Troubleshooting Steps

If you cannot find the DAC name, ensure your sound drivers are loaded. Run lsmod | grep snd to check for active sound modules. Missing modules mean the hardware is not recognized. Also, verify that your user has permission to access audio devices. Groups like audio are essential. If the list is empty, try rebooting or reloading the kernel module. Sometimes, HDMI audio interferes with analog detection. Disable HDMI in your BIOS or blacklist the driver temporarily. This isolates the analog DAC. You can also check dmesg logs for hardware initialization errors. These logs often contain clues about why a device is not appearing.

Frequently Asked Questions

What if aplay returns no devices?

This usually means the kernel drivers are not loaded or the hardware is disabled. Check your BIOS settings to ensure onboard audio is enabled. Load the appropriate kernel module manually using modprobe. Verify that the audio group permissions are set correctly for your user account.

Can I rename the DAC in Linux?

You cannot rename the physical hardware, but you can create aliases in PulseAudio or PipeWire. Configure the daemon to assign a friendly name to the sink. This makes it easier to select the correct device in applications. The underlying hardware identifier remains unchanged in ALSA.

How do I switch between multiple DACs?

Use pactl set-default-sink followed by the sink name. For ALSA, modify the ~/.asoundrc file to set the default card. Desktop environments usually provide a graphical mixer to switch outputs instantly. Ensure the unused DAC is muted to prevent feedback loops.

Is the DAC name different from the sound card name?

Yes, the sound card is the entire controller board, while the DAC is a component within it. The card name appears in aplay -l as the card label. The DAC name is often found in the codec details or sysfs attributes. They are related but distinct identifiers.

Why does my DAC show up as "Dummy Output"?

This indicates that no valid audio driver is attached to the hardware. The system falls back to a dummy sink to prevent crashes. Install the necessary firmware and kernel modules for your specific chipset. Restart the audio service after installation to apply changes.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More