ainit
AINIT(8) AINIT(8)
NAME
ainit - configuration tool for ALSA
SYNOPSIS
ainit user_name start|stop [--version] [--help]
DESCRIPTION
ainit is a small utility for automatic configuration. It is lauched by
pam_console when user obtains console lock and it creates ALSA configu-
ration files (e.g. /etc/alsa/pcm/dmix.conf for dmix plug-in or
/etc/alsa/pcm/dsnoop.conf for dsnoop plug-in).
When ainit is lauched it parses template files with configuration (e.g.
/etc/alsa/pcm/dmix.template or /etc/alsa/pcm/dsnoop.template) and then
writes or removes configuration files from the destination directory
(/etc/alsa/pcm).
During this action, ainit allocates or frees system resources assigned
for ALSA (shared memory, semaphores).
ARGUMENTS
user_name
Name of user who is obtaining console lock. ainit will
create or remove configuration file for him.
start With this option, ainit will create configuration file
and allocate system resources for ALSA (shared memory,
semaphores).
This action consist of three parts. First, ainit reads
its configuration file (/etc/alsa/ainit.conf) and checks
the options here (location of template file, ALSA config-
uration file and so on).
Then, ainit reads the template files (their location was
obtained from /etc/alsa/ainit.conf), commits action
described here and writes the configuration files for
ALSA.
Finally, ainit creates the lock files. This files have
the same name as the ALSA configuration files plus
’.lock’ extension.
stop With this option, ainit will remove configuration files
(but only if the lock file exists) and free system
resources used by ALSA.
FILES
/etc/alsa/ainit.conf
/etc/alsa/pcm/dmix.template
/etc/alsa/pcm/dmix.conf
/etc/alsa/pcm/dmix.conf.lock
/etc/alsa/pcm/dsnoop.template
/etc/alsa/pcm/dsnoop.conf
/etc/alsa/pcm/dsnoop.conf.lock
SEE ALSO
Also ainit.conf(1), ainit.template(1)
AUTHOR
Martin Stransky <stransky@redhat.com>
Red Hat Inc. 11 May 2005 AINIT(8)
Man(1) output converted with
man2html