Sponsored Content
Top Forums Shell Programming and Scripting file seach from pulseaudio module list Post 302704553 by clx on Saturday 22nd of September 2012 06:05:58 AM
Old 09-22-2012
Please re-post the sample output of the command and required input with CODE-TAGS.
Its really hard to guess the actual output with the sample above.

Thanks.
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Seach for Record

Below is an example of a file with some records... each record start with P1 till the next P1. If I search for something like "4,4545:" then I want all the records with "4,4545:" to be removed from original file and copied to a temp file. P1 1,123455654444 2,7126817361873 3,2134128282828... (5 Replies)
Discussion started by: xtravel
5 Replies

2. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

3. UNIX for Dummies Questions & Answers

Seach and Replace

Our email address is changing and I need to update 4000 htm pages. I was told I command was something like this Eg) find docs/700_799/ -name "*.htm" -type f | xargs perl -pi -e 's/\/company-information\/legal-and-regulatory/\/legal-and-regulatory/g' Is there away of not changing the date... (1 Reply)
Discussion started by: mchelle_99
1 Replies

4. UNIX for Dummies Questions & Answers

How do I list kernel module parameter values?

Hi, I have problem with parameter configuration. My question is after the configuration, how to check if successfully change the value or not? I saw someone has the same question, and followed his steps. Original thread:... (3 Replies)
Discussion started by: skybb
3 Replies

5. Shell Programming and Scripting

Seach for a string following a particular string in a file

All, I have a file like ; ... covers bhjl; ... khkjhk.. covers vjgj; .. bvjhy.. bkhk.. covers bjhk; Now I want to search all strings that follows covers and then write them in a new file. I want to use perl script for that. Output file should conatian: bhjl vjgj bjhk Regards... (8 Replies)
Discussion started by: Anamika08
8 Replies
ALSACTL(1)						      General Commands Manual							ALSACTL(1)

NAME
alsactl - advanced controls for ALSA soundcard driver SYNOPSIS
alsactl [options] [store|restore|init] <card # or id or device> DESCRIPTION
alsactl is used to control advanced settings for the ALSA soundcard drivers. It supports multiple soundcards. If your card has features that you can't seem to control from a mixer application, you have come to the right place. COMMANDS
store saves the current driver state for the selected soundcard to the configuration file. restore loads driver state for the selected soundcard from the configuration file. If restoring fails (eventually partly), the init action is called. init tries to initialize all devices to a default state. If device is not known, error code 99 is returned. If no soundcards are specified, setup for all cards will be saved or loaded. OPTIONS
-h, --help Help: show available flags and commands. -d, --debug Use debug mode: a bit more verbose. -v, --version Print alsactl version number. -f, --file Select the configuration file to use. The default is /etc/asound.state. -F, --force Used with restore command. Try to restore the matching control elements as much as possible. This option is set as default now. -g, --ignore Used with store and restore commands. Do not show 'No soundcards found' and do not set an error exit code when soundcards are not installed. -P, --pedantic Used with restore command. Don't restore mismatching control elements. This option was the old default behavior. -I, --no-init-fallback Don't initialize cards if restore fails. Since version 1.0.18, alsactl tries to initialize the card with the restore operation as default. But this can cause incompatibility with the older version. The caller may expect that the state won't be touched if no state file exists. This option takes the restore behavior back to the older version by suppressing the initialization. -r, --runstate Save restore and init state to this file. The file will contain only errors. Errors are appended with the soundcard id to the end of file. -R, --remove Remove runstate file at first. -E, --env #=# Set environment variable (useful for init action or you may override ALSA_CONFIG_PATH to read different or optimized configuration - may be useful for "boot" scripts). -i, --initfile #=# The configuration file for init. By default, PREFIX/share/alsa/init/00main is used. FILES
/etc/asound.state (or whatever file you specify with the -f flag) is used to store current settings for your soundcards. The settings include all the usual soundcard mixer settings. More importantly, alsactl is capable of controlling other card-specific features that mixer apps usually don't know about. The configuration file is generated automatically by running alsactl store. Editing the configuration file by hand may be necessary for some soundcard features (e.g. enabling/disabling automatic mic gain, digital output, joystick/game ports, some future MIDI routing options, etc). SEE ALSO
amixer(1), alsamixer(1), aplay(1) BUGS
None known. AUTHOR
alsactl is by Jaroslav Kysela <perex@perex.cz> and Abramo Bagnara <abramo@alsa-project.org>. This document is by Paul Winkler <zarmzarm@erols.com>. 15 May 2001 ALSACTL(1)
All times are GMT -4. The time now is 11:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy