05-14-2010
Microphone doesn't work in Ubuntu 10.04
When I try to speak to the microphone, there is no echo in the speaker. I test it again by dialing Skype, there is still no sound in my side while I can hear the other side.
What can I do?
Thanks in advance!
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
cam(1) General Commands Manual cam(1)
NAME
cam - CPU'S AUDIO MIXER for Linux
SYNOPSIS
cam [-v x,y] [--volume x,y] [-b x,y] [--bass x,y] [-t x,y] [--treble x,y] [-s x,y] [--synth x,y] [-p x,y] [--pcm x,y] [-S x,y]
[--speaker x,y] [-l x,y] [--line x,y] [-m x,y] [--mic x,y] [-c x,y] [--cd x,y] [-M x,y] [--mixer x,y] [-a x,y] [--altpcm x,y] [-r
x,y] [--reclev x,y] [-i x,y] [--igain x,y] [-o x,y] [--ogain x,y] [-l1 x,y] [--line1 x,y] [-l2 x,y] [--line2 x,y] [-l3 x,y] [--line3
x,y] [-3d 1|0] [--3dse 1|0] [-agc 1|0] [--agc 1|0] [-h] [-?] [--help] [-get] [-save] [-getfile filename] [-savefile filename]
xcam
DESCRIPTION
This is an audio mixer for Linux. You have the choice to use it with an interface or at the command line.
OPTIONS
When using the interface you can use the following keys :
LEFT ARROW
decrease the volume of the current device.
RIGHT ARROW
increase the volume of the current device.
UP ARROW
go to previous device.
DOWN ARROW
go to next device.
L locks or unlocks :
unlocked : you can control the left and right channel
separately.
lock : left and right channel are controlled together.
R turn on/off recording mode :
red lamp : recording turned on
green lamp : recording turned off
3 turn on/off 3D Stereo Enhancement (3DSE) device :
when turned on green indicator 3D will be lit at the left side of main volume handle.
A turn on/off microphone Automatic Gain Control :
when turned on green indicator AGC will be lit at the left side of microphone volume handle.
S save the settings of ALL devices in a file ($HOME/.camrc)
G loads the saved settings and restores them.
H shows the help screen.
Q/ESC exits the program and returns to shell.
NOTE: you can use upper or lower case.
When using the command line options the interface is not shown.
The following options are available :
-v, --volume x,y
Set 'volume' to x (left) and y (right)
-b, --bass x,y
Set 'bass' to x (left) and y (right)
-t, --trebble x,y
Set 'treble' to x (left) and y (right)
-s, --synth x,y
Set 'synth' to x (left) and y (right)
-p, --pcm x,y
Set 'pcm' to x (left) and y (right)
-S, --speaker x,y
Set 'speaker' to x (left) and y (right)
-l, --line x,y
Set 'line in' to x (left) and y (right)
-m, --mic x,y
Set 'microphone' to x (left) and y (right)
-c, --cd x,y
Set 'CD in' to x (left) and y (right)
-I, --imix x,y
Set 'mixer' to x (left) and y (right)
-a, --altpcm x,y
Set 'altpcm' to x (left) and y (right)
-r, --reclev x,y
Set 'record level' to x (left) and y (right)
-i, --igain x,y
Set 'input gain' to x (left) and y (right)
-o, --ogain x,y
Set 'output gain' to x (left) and y (right)
-l1, --line1 x,y
Set 'line 1' to x (left) and y (right)
-l2, --line2 x,y
Set 'line 2' to x (left) and y (right)
-l3, --line3 x,y
Set 'line 3' to x (left) and y (right)
-3d, --3dse 1|0
Set 3D Stereo Enhancement to 1 (on) or 0 (off)
-agc, --agc 1|0
Set Automatic Gain Control for microphone to 1 (on) or 0 (off)
-get restore the saved values from $HOME/.camrc
-save save the values to $HOME/.camrc
-getfile filename
restore the saved values from file 'filename'
-savefile filename
save the values to file 'filename'
-h, -?, --help
displays help
NOTE: x and y are in range from 1 to 100. Higher or lower numbers are
ignored.
BUGS
None known as yet. If you find one, please let me know.
AUTHOR
Jan 'TWP' VANDENBERGHE <jvdbergh@uia.ua.ac.be>
cam(1)