alsaconf − configuration tool for the Advanced Linux Sound Architecture


alsaconf [options]


This manual page documents briefly the alsaconf command. This manual page was written for the Debian distribution because the original program does not have a manual page.

Alsaconf is a simple shell script which tries to detect the sound cards on your system and writes a suitable configuration file for ALSA. It will try to guess what GNU/Linux distribution you’re running, and will act accordingly to the standards of that distribution, if specific support is available.

Alsaconf will write a module-init-tools (or modutils) snippet which can be then used by module-init-tools (or modutils) to load the correct parameters for your sound card.


Alsaconf accepts the following options:
−c, −−config file

Specify the module config file. As default, alsaconf probes the available config file automatically.

−d, −−devmode mode

Set the device mode for the ALSA devices (default = 0666). This option is obsolete in the recent ALSA version.

−g, −−gid gid

Set the gid for the ALSA devices (default = 0). This option is obsolete in the recent ALSA version.

−h, −−help

Displays this help text.

−L, −−log file

Logging on the given file. The log is appended to the file. This option is for debugging purpose only.

−l, −−legacy

Check only for legacy non-isapnp cards.

−m, −−modinfo

Read module descriptions instead of reading a card database.

−P, −−listprobe

List the supported legacy card modules.

−p, −−probe card-name

Probe a legacy non-isapnp card and print module options.

−r, −−strict

Set strict device mode (equiv. with −g 17 −d 0660). This option is obsolete in the recent ALSA version.

−s, −−sound−wav−file

Use the specified wav file as a test sound.

−u, −−uid uid

Set the uid for the ALSA devices (default = 0). This option is obsolete in the recent ALSA version.


In Debian, the default gid of the device files is 29 (corresponding to the audio group) and the default device mode is 0660.

For the ALSA base package, see also /usr/share/doc/alsa−base/


alsamixer(1), amixer(1), aplay(1), arecord(1)




The alsaconf script was written by Takashi Iwai <>, Bernd Kaindl <> and Jan Ondrej (SAL) <>

This manual page was written by Jordi Mallach <>, for the Debian system (but may be used by others).


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.