05-16-2010
I have tried all the measurements above, but they all failed.
ALSA seems working, and my sound panel is on a normal mode. Still no sound out by recording voice from a recorder or skype echo test...
BTW, the version of my skype is 2.1.0.81.
---------- Post updated 05-16-10 at 03:40 AM ---------- Previous update was 05-15-10 at 09:06 PM ----------
qubuntu@qubuntu:~$ uname -a
Linux qubuntu 2.6.32-020632-generic #020632 SMP Thu Dec 3 10:58:45 UTC 2009 i686 GNU/Linux
qubuntu@qubuntu:~$ aplay -l
**** PLAYBACK ****
card 0: SB [HDA ATI SB], device 0: ALC262 Analog [ALC262 Analog]
subdevice: 1/1
subdevice #0: subdevice #0
qubuntu@qubuntu:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
qubuntu@qubuntu:~$ head -n 1 /proc/asound/card*/codec#*
==> /proc/asound/card0/codec#1 <==
Codec: LSI ID 1040
==> /proc/asound/card0/codec#3 <==
Codec: Realtek ALC262
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
cat .servers | while read LINE; do
ssh jason@$LINE $1
done
exit 1
./command.ksh "ls -l ~jason"
Why does this ONLY iterate on the first server in the list? It's not doing the command on all the servers in the list, what am I missing?
Thanks!
JP (2 Replies)
Discussion started by: jpeery
2 Replies
2. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
3. Shell Programming and Scripting
Hi. I've been playing around a bit. This isn't for any practical purpose-- it's really just a theoretical exercise. I wrote this little thing:
foreach num ( 6 5 4 )
awk -v "number=$num" 'BEGIN{for(x=0;x<$number;x++) printf "-"; printf "\n"}'
end
I would expect the following output:
... (3 Replies)
Discussion started by: treesloth
3 Replies
4. Shell Programming and Scripting
Hi!
I have a somehow big file (almost 3000 lines long and thirteen columns). Some lines have no value at all or, at least, are incomplete. The columns' values that have no data are marked with a "-" and the corresponding line (the line that owns that value) should be discarded and not used.
... (5 Replies)
Discussion started by: Marcelo de Brit
5 Replies
5. Shell Programming and Scripting
Hi, I have a question.
I define a function using sed command:
replace()
{
searchterm=$1
replaceterm=$2
sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp'
mv $WORK'tempfile.tmp' $3
}
Then I call
replace 'test = 0' 'test = 1' $myfileThis code works well in... (1 Reply)
Discussion started by: Dark2Bright
1 Replies
6. Shell Programming and Scripting
Hi, I have a question.
I define a function using sed command:
replace()
{
searchterm=$1
replaceterm=$2
sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp'
mv $WORK'tempfile.tmp' $3
}
Then I call
replace 'test = 0' 'test = 1' $myfile
This code... (1 Reply)
Discussion started by: Dark2Bright
1 Replies
7. UNIX for Dummies Questions & Answers
find . -name "05_scripts" -type d -exec mv -f {}/'*.aep\ Logs' {}/.LogFiles \;
Returns this failure:
mv: rename ./019_0120_WS_WH_gate_insideTEST/05_scripts/*.aep\ Logs to ./019_0120_WS_WH_gate_insideTEST/05_scripts/.LogFiles/*.aep\ Logs: No such file or directory
I don't know why it's trying... (4 Replies)
Discussion started by: scribling
4 Replies
8. Shell Programming and Scripting
greetings,
the following code isn't working as i expect it to. the first dbl brackets do but the second set gets ignored. ie: if i'm on t70c6n229 it echoes "Something" and i expect it not to. what am i missing?
if " ]] || " ]]; then
echo "Something"
fi
thanx! (9 Replies)
Discussion started by: crimso
9 Replies
9. Shell Programming and Scripting
root@SDP_Wildcat_Pass-3-C1:~# cat /proc/driver/rtc
rtc_time : 05:29:40
rtc_date : 2014-12-19
alrm_time : 01:51:53
alrm_date : 2014-12-20
alarm_IRQ : no
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ... (4 Replies)
Discussion started by: yanglei_fage
4 Replies
10. Shell Programming and Scripting
Hi,
I am using korn shell.
until ]
do
echo "\$# = " $#
echo "$1"
shift
done
To the above script, I passed 2 parameters and the program control doesn't enter inside "until" loop. If I change it to until ] then it does work.
Why numeric comparison is not working with -ne and works... (3 Replies)
Discussion started by: ab_2010
3 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)