HDA intel MOBO: no microphone sound
I'm using Feisty Fawn, just seting up Ekiga and get no microphone. I will not pretend this is new, i also get no microphone in Skype as well.
This MOBO (Intel 965) is brand new, I have tried to find updated drivers for it but the flavour is listed as ICH8 which is not supported yet. Is there an answer coming soon, how soon ,etc.
What am I trying to achieve? I am trying to make phone calls where other people will hear me. I am trying to do it in ALSA, especially since OSS shows no panel for recording or capturing sound at all,
I have played with the alsamixer panel extensively, tried turning things on one by one, tried a number of suggested work-arounds, but they are all for older hardware that is supported.
Curiously this mobo is supposed to be the first with completely open source drivers, or so i read somewhere, maybe i misunderstood.
What else can I tell you, everything is updated. I have not tried the "mercury" (hg) versions for alsa, I am just not going to rush into messing up too fast without some solid support behind me.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu ekiga Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- nobodie
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Can yo run the first script on this page and let us know the url of the page created?
http://
Thanks.
Revision history for this message
|
#2 |
OK, I ran the script and will both paste the output below and attach it
for whatever you wish to do. You'll see that it exited with an error
that it could not run wget and upload to "pastebin" because teh wget
version was less than 1.8.~. that sounded wrong so I checked the version
and it was 1.10.~. HMMMMM.
anyway, the uploading to pastebin sounded too tedious for me, frankly I
don't know how to do it except as an ftp and I haven't upped an ftp for
over a year so..... it is 11:50 PM and I'm on my way to bed as well. I
do appreciate your help though, please don't think I'm blowing you off,
just that i'm tired and cranky tonight. I hope the cut and paste
solution is adequate.
Lofton alley:
#!/bin/bash
SCRIPT_
CHANGELOG="http://
#######
#Copyright (C) 2007 Free Software Foundation.
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
#######
#The script was written for 2 main reasons:
# 1. Remove the need for the devs/helpers to ask several questions
before we can easily help the user.
# 2. Allow newer/inexperienced ALSA users to give us all the info we
need to help them.
#Change the PATH variable, so we can run lspci (needed for some distros)
PATH=$PATH:
BGTITLE="ALSA-Info v $SCRIPT_VERSION"
PASTEBINKEY=
#Define some simple functions
update() {
wget -O /tmp/alsa-info.sh
http://
REMOTE_
's/.*=//'`
if [ "$REMOTE_VERSION" != "$SCRIPT_VERSION" ]; then
if [[ -n $DIALOG ]]
then
dialog --yesno "Newer version of ALSA-Info has been
found\n\nDo you wish to install it?" 0 0
if [[ $DIALOG_EXIT_CODE = 0 ]]
then
cp /tmp/alsa-info.sh $0
$REMOTE_VERSION"
fi
else
cp /tmp/alsa-info.sh $0
echo "Newer version detected: $REMOTE_VERSION"
echo "To view the ChangeLog, please visit $CHANGELOG"
echo "ALSA-Info script has been updated. Please re-run it."
exit
fi
fi
rm /tmp/alsa-info.sh 2>/dev/null
}
cleanup() {
rm -r $TEMPDIR 2>/dev/null
}
withaplay() {
echo "!!Aplay output" >> $FILE
echo "!!------------" >> $FILE
echo "" >> $FILE
aplay -l >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withlsmod() {
echo "!!All Loaded Modules" >> $FILE
echo "!!----
echo "" >> $FILE
lsmod |awk {'print $1'} >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withamixer() {
echo "!!Amixer output" >> $FILE
echo "!!-------------" >> $FILE
echo "" >> $FILE
for i in `seq 0 $LAST_CARD`;do
CARD_NAME=`grep "^ $i" /tmp/alsainfo/
echo "!!-------Mixer controls for card $i $CARD_NAME]" >> $FILE
echo "" >>$FILE
amixer -c$i>> $FILE
echo "" >> $FILE
done
echo "" >> $FILE
}
withdevices() {
echo "!!ALSA Device nodes" >> $FILE
echo "!!----
echo "" >> $FILE
ls -la /dev/snd/* >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withconfigs() {
if [[ -e $HOME/.asoundrc ]] || [[ -e /etc/asound.conf ]] || [[ -e
$HOME/.
then
echo "!!ALSA configuration files" >> $FILE
echo "!!----
echo "" >> $FILE
#Check for ~/.asoundrc
if [[ -e $HOME/.asoundrc ]]
then
cat $HOME/.asoundrc >> $FILE
fi
#Check for .asoundrc.
if [[ -e $HOME/.
then
echo "!!asoundconf-
echo "" >> $FILE
cat $HOME/.
echo "" >> $FILE
echo "" >> $FILE
fi
#Check for /etc/asound.conf
if [[ -e /etc/asound.conf ]]
then
cat /etc/asound.conf >> $FILE
fi
fi
}
#Run checks to make sure the programs we need are installed.
LSPCI=$(which lspci 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null);
TPUT=$(which tput 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null);
DIALOG=$(which dialog 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null);
#Script header output.
if [[ -n "$DIALOG" ]]
then
dialog --backtitle "$BGTITLE" --title "ALSA-Info script v
$SCRIPT_VERSION" --yesno "\nThis script will collect information about
your ALSA installation and sound related hardware, to help diagnose your
problem\n\nDo you want to run this script?" 0 0
DIALOG_EXIT_CODE=$?
if [ $DIALOG_EXIT_CODE != 0 ]; then
echo "Thank you for using the ALSA-Info Script"
exit 0;
fi
else
echo "ALSA Information Script v $SCRIPT_VERSION"
echo "------
echo ""
echo "This script will collect information about your ALSA installation
and sound related hardware, to help diagnose your problem."
echo ""
if [[ -n "$TPUT" ]]; then
tput bold
echo "By default, the collected information will be AUTOMATICALLY
uploaded to a pastebin site."
echo "If you do not wish for this to occur, run the script with the
--no-upload argument"
tput sgr0
else
echo "By default, the collected information will be AUTOMATICALLY
uploaded to a pastebin site."
echo "If you do not wish for this to occur, run the script with the
--no-upload argument"
fi
echo ""
echo -n "Do you want to run this script? [y/n] : "
read -e CONFIRM
if [ $CONFIRM != "y" ]; then
echo ""
echo "Thank you for using the ALSA-Info Script"
exit 0;
fi
fi
if [[ -z "$LSPCI" ]]
then
echo "This script requires lspci. Please install it, and re-run this
script."
exit 0
fi
#Set the output file
TEMPDIR=
FILE="/
#Create the temporary work dir.
mkdir $TEMPDIR 2>/dev/null
#Fetch the info and store in temp files/variables
DISTRO=`grep -ihs
"buntu\
/etc/{issue,
KERNEL_
KERNEL_
KERNEL_
KERNEL_OS=`uname -o`
[[ `uname -v |grep SMP` ]] && KERNEL_SMP="Yes" || KERNEL_SMP="No"
ALSA_DRIVER_
|sed 's/\.$//'`
ALSA_LIB_
2>/dev/null|awk {'print $3'}|sed 's/"//g'`
ALSA_UTILS_
VENDOR_ID=`lspci -vn |grep 040[1-3] | awk -F':' '{print $3}'|awk {'print
substr($0, 2);}' >/tmp/alsainfo/
DEVICE_ID=`lspci -vn |grep 040[1-3] | awk -F':' '{print $4}'|awk {'print
$1'} >/tmp/alsainfo/
NUM_CARDS=`wc -l /tmp/alsainfo/
LAST_CARD=$(( $NUM_CARDS - 1 ))
cat /proc/asound/
cat /proc/asound/cards >/tmp/alsainfo/
lspci |grep -i "multi\
#Check for HDA-Intel cards codec#0
cat /proc/asound/
/dev/null
#Fetch the info, and put it in $FILE in a nice readable format.
echo
"name=$
> $FILE
echo "!!####
echo "!!ALSA Information Script v $SCRIPT_VERSION" >> $FILE
echo "!!####
echo "" >> $FILE
echo "" >> $FILE
echo "!!Linux Distribution" >> $FILE
echo "!!----
echo "" >> $FILE
echo $DISTRO >> $FILE
echo "" >> $FILE
echo "" >> $FILE
echo "!!Kernel Information" >> $FILE
echo "!!----
echo "" >> $FILE
echo "Kernel release: $KERNEL_VERSION" >> $FILE
echo "Operating System: $KERNEL_OS" >> $FILE
echo "Architecture: $KERNEL_MACHINE" >> $FILE
echo "Processor: $KERNEL_PROCESSOR" >> $FILE
echo "SMP Enabled: $KERNEL_SMP" >> $FILE
echo "" >> $FILE
echo "" >> $FILE
echo "!!ALSA Version" >> $FILE
echo "!!------------" >> $FILE
echo "" >> $FILE
echo "Driver version: $ALSA_DRIVER_
echo "Library version: $ALSA_LIB_VERSION" >> $FILE
echo "Utilities version: $ALSA_UTILS_
echo "" >> $FILE
echo "" >> $FILE
echo "!!Loaded ALSA modules" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!Soundcards recognised by ALSA" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!PCI Soundcards installed in the system" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!Advanced information - PCI Vendor/
echo "!!----
echo "" >> $FILE
lspci -vvn |grep -A1 040[1-3] >> $FILE
echo "" >> $FILE
echo "" >> $FILE
if [ -e "/tmp/alsainfo/
then
echo "!!HDA-Intel Codec information" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
fi
#If no command line options are specified, then run as though --with-all
was specified
if [[ -z "$1" ]]
then
update
withdevices
withconfigs
withaplay
withamixer
withlsmod
#Workaround, while we sort out pastebin location, since pastebin.ca
blocked us.
#NOUPLOAD="1"
fi
#loop through command line arguments, until none are left.
if [[ -n "$1" ]]
then
until [ -z "$1" ]
do
case "$1" in
--update)
update
exit
;;
;;
--debug)
echo "Debugging enabled. $FILE and $TEMPDIR will not be deleted"
echo ""
;;
--with-all)
;;
;;
;;
;;
if [[ -e $HOME/.asoundrc ]] || [[ -e /etc/asound.conf ]]
then
if [[ -e $HOME/.asoundrc ]]
>> $FILE
fi
if [[ -e /etc/asound.conf ]]
>> $FILE
fi
fi
;;
--about)
echo "Written/Tested by the following users of #alsa on
irc.freenode.net:"
echo ""
echo " wishie - Script author and developer / Testing"
echo " crimsun - Various script ideas / Testing"
echo " gnubien - Various script ideas / Testing"
echo " GrueMaster - HDA Intel specific items / Testing"
echo " olegfink - Script update function"
cleanup
exit 0
;;
*)
echo ""
echo "Available options:"
echo " --with-aplay (includes the output of aplay -l)"
echo " --with-amixer (includes the output of amixer)"
echo " --with-configs (includes the output of ~/.asoundrc
and /etc/asound.conf if they exist)"
echo " --with-devices (shows the device nodes in /dev/snd/)"
echo ""
echo " --update (check server for script updates)"
echo " --about (show some information about the script)"
echo " --debug (will run the script as normal, but will
not delete $FILE)"
cleanup
exit 0
;;
esac
shift 1
done
fi
#Test that wget is installed, and supports --post-file. Upload $FILE if
it does, and prompt user to upload file if it doesnt.
if
WGET=$(which wget 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null); [[ -n
"${WGET}" ]] && [[ -x "${WGET}" ]] && [[ `wget --help |grep post-file` ]]
then
if [[ -n "$DIALOG" ]]
then
if [[ -z $NOUPLOAD ]]; then
wget -O - --tries=5 --timeout=60 --post-
http://
&>/tmp/
{ for i in 10 20 30 40 50 60 70 80 90; do
echo $i
sleep 0.2
done
echo; } |dialog --backtitle "$BGTITLE" --guage "Uploading
information to www.pastebin.ca ..." 6 70 0
fi
else
if [[ -z $NOUPLOAD ]]; then
echo -n "Uploading information to www.pastebin.ca ... "
wget -O - --tries=5 --timeout=60 --post-
http://
&>/tmp/
fi
fi
#Progess spinner for wget transfer.
if [[ -z "$DIALOG" ]]
then
i=1
sp="/-\|"
echo -n ' '
while pgrep wget &>/dev/null
do
echo -en "\b${sp:
done
fi
#See if tput is available, and use it if it is.
if [[ -z $NOUPLOAD ]]; then
if [[ -n "$TPUT" ]]
then
|sed -n 's/.*\:
else
's/.*\:
fi
fi
#Output the URL of the uploaded file.
if [[ -z $DIALOG ]]
then
echo -e "\b Done!"
echo ""
if [[ -n $NOUPLOAD ]]; then
echo "You requested that your information was NOT automatically
uploaded to the pastebin"
echo ""
echo "Your ALSA information can be seen by looking in $FILE"
echo ""
else
echo "Your ALSA information is located at $FINAL_URL"
echo "Please inform the person helping you."
echo ""
fi
fi
if [[ -n $DIALOG ]]
then
if [[ -n $NOUPLOAD ]]; then
dialog --backtitle "$BGTITLE" --title "Information collected"
--msgbox "You requested that your information was NOT automatically
uploaded to the pastebin\n\nYour ALSA information can be seen by looking
in $FILE" 10 100
else
dialog --backtitle "$BGTITLE" --title "Information uploaded"
--yesno "Would you like to see the uploaded information?" 5 100
if [ $DIALOG_EXIT_CODE = 0 ]; then
grep -v "alsa-info.txt" /tmp/alsa-info.txt
>/tmp/
dialog --backtitle "$BGTITLE" --textbox
/tmp/alsainfo/
fi
fi
clear
if [[ -z $NOUPLOAD ]]; then
echo "Your ALSA information is located at $FINAL_URL"
echo "Please inform the person helping you."
echo ""
fi
fi
#We posted the file to pastebin.ca , so we dont need it anymore.
delete it.
if [ -z $KEEP_FILES ]
then
rm $FILE
fi
#We couldnt find a suitable wget, so tell the user to upload manually.
else
if [[ -z $DIALOG ]]
then
echo ""
echo "Could not automatically upload output to
http://
echo "Possible reasons are:"
echo " 1. Couldnt find 'wget' in your PATH"
echo " 2. Your version of wget is less than 1.8.2"
echo ""
echo "Please manually upload $FILE to
http://
echo ""
fi
if [[ -n $DIALOG ]]
then
dialog --backtitle "$BGTITLE" --msgbox "Could not automatically
upload output to http://
1. Couldn't find 'wget' in your PATH\n 2. Your version of wget is
less than 1.8.2\n\nPlease manually upload $FILE to
http://
fi
fi
#Clean up the temp files
if [ -z $KEEP_FILES ]
then
cleanup
fi
#!/bin/bash
SCRIPT_
CHANGELOG="http://
#######
#Copyright (C) 2007 Free Software Foundation.
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#######
#The script was written for 2 main reasons:
# 1. Remove the need for the devs/helpers to ask several questions before we can easily help the user.
# 2. Allow newer/inexperienced ALSA users to give us all the info we need to help them.
#Change the PATH variable, so we can run lspci (needed for some distros)
PATH=$PATH:
BGTITLE="ALSA-Info v $SCRIPT_VERSION"
PASTEBINKEY=
#Define some simple functions
update() {
wget -O /tmp/alsa-info.sh http://
REMOTE_
if [ "$REMOTE_VERSION" != "$SCRIPT_VERSION" ]; then
if [[ -n $DIALOG ]]
then
dialog --yesno "Newer version of ALSA-Info has been found\n\nDo you wish to install it?" 0 0
DIALOG_
if [[ $DIALOG_EXIT_CODE = 0 ]]
then
cp /tmp/alsa-info.sh $0
echo "ALSA-Info script has been updated to v $REMOTE_VERSION"
echo "To view the ChangeLog, please visit $CHANGELOG"
echo "Please re-run the script"
exit
fi
else
cp /tmp/alsa-info.sh $0
echo "Newer version detected: $REMOTE_VERSION"
echo "To view the ChangeLog, please visit $CHANGELOG"
echo "ALSA-Info script has been updated. Please re-run it."
exit
fi
fi
rm /tmp/alsa-info.sh 2>/dev/null
}
cleanup() {
rm -r $TEMPDIR 2>/dev/null
}
withaplay() {
echo "!!Aplay output" >> $FILE
echo "!!------------" >> $FILE
echo "" >> $FILE
aplay -l >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withlsmod() {
echo "!!All Loaded Modules" >> $FILE
echo "!!----
echo "" >> $FILE
lsmod |awk {'print $1'} >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withamixer() {
echo "!!Amixer output" >> $FILE
echo "!!-------------" >> $FILE
echo "" >> $FILE
for i in `seq 0 $LAST_CARD`;do
CARD_NAME=`grep "^ $i" /tmp/alsainfo/
echo "!!-------Mixer controls for card $i $CARD_NAME]" >> $FILE
echo "" >>$FILE
amixer -c$i>> $FILE
echo "" >> $FILE
done
echo "" >> $FILE
}
withdevices() {
echo "!!ALSA Device nodes" >> $FILE
echo "!!----
echo "" >> $FILE
ls -la /dev/snd/* >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withconfigs() {
if [[ -e $HOME/.asoundrc ]] || [[ -e /etc/asound.conf ]] || [[ -e $HOME/.
then
echo "!!ALSA configuration files" >> $FILE
echo "!!----
echo "" >> $FILE
#Check for ~/.asoundrc
if [[ -e $HOME/.asoundrc ]]
then
cat $HOME/.asoundrc >> $FILE
fi
#Check for .asoundrc.
if [[ -e $HOME/.
then
echo "!!asoundconf-
echo "" >> $FILE
cat $HOME/.
echo "" >> $FILE
echo "" >> $FILE
fi
#Check for /etc/asound.conf
if [[ -e /etc/asound.conf ]]
then
cat /etc/asound.conf >> $FILE
fi
fi
}
#Run checks to make sure the programs we need are installed.
LSPCI=$(which lspci 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null);
TPUT=$(which tput 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null);
DIALOG=$(which dialog 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null);
#Script header output.
if [[ -n "$DIALOG" ]]
then
dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nDo you want to run this script?" 0 0
DIALOG_EXIT_CODE=$?
if [ $DIALOG_EXIT_CODE != 0 ]; then
echo "Thank you for using the ALSA-Info Script"
exit 0;
fi
else
echo "ALSA Information Script v $SCRIPT_VERSION"
echo "------
echo ""
echo "This script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem."
echo ""
if [[ -n "$TPUT" ]]; then
tput bold
echo "By default, the collected information will be AUTOMATICALLY uploaded to a pastebin site."
echo "If you do not wish for this to occur, run the script with the --no-upload argument"
tput sgr0
else
echo "By default, the collected information will be AUTOMATICALLY uploaded to a pastebin site."
echo "If you do not wish for this to occur, run the script with the --no-upload argument"
fi
echo ""
echo -n "Do you want to run this script? [y/n] : "
read -e CONFIRM
if [ $CONFIRM != "y" ]; then
echo ""
echo "Thank you for using the ALSA-Info Script"
exit 0;
fi
fi
if [[ -z "$LSPCI" ]]
then
echo "This script requires lspci. Please install it, and re-run this script."
exit 0
fi
#Set the output file
TEMPDIR=
FILE="/
#Create the temporary work dir.
mkdir $TEMPDIR 2>/dev/null
#Fetch the info and store in temp files/variables
DISTRO=`grep -ihs "buntu\
KERNEL_
KERNEL_
KERNEL_
KERNEL_OS=`uname -o`
[[ `uname -v |grep SMP` ]] && KERNEL_SMP="Yes" || KERNEL_SMP="No"
ALSA_DRIVER_
ALSA_LIB_
ALSA_UTILS_
VENDOR_ID=`lspci -vn |grep 040[1-3] | awk -F':' '{print $3}'|awk {'print substr($0, 2);}' >/tmp/alsainfo/
DEVICE_ID=`lspci -vn |grep 040[1-3] | awk -F':' '{print $4}'|awk {'print $1'} >/tmp/alsainfo/
NUM_CARDS=`wc -l /tmp/alsainfo/
LAST_CARD=$(( $NUM_CARDS - 1 ))
cat /proc/asound/
cat /proc/asound/cards >/tmp/alsainfo/
lspci |grep -i "multi\
#Check for HDA-Intel cards codec#0
cat /proc/asound/
#Fetch the info, and put it in $FILE in a nice readable format.
echo "name=$
echo "!!####
echo "!!ALSA Information Script v $SCRIPT_VERSION" >> $FILE
echo "!!####
echo "" >> $FILE
echo "" >> $FILE
echo "!!Linux Distribution" >> $FILE
echo "!!----
echo "" >> $FILE
echo $DISTRO >> $FILE
echo "" >> $FILE
echo "" >> $FILE
echo "!!Kernel Information" >> $FILE
echo "!!----
echo "" >> $FILE
echo "Kernel release: $KERNEL_VERSION" >> $FILE
echo "Operating System: $KERNEL_OS" >> $FILE
echo "Architecture: $KERNEL_MACHINE" >> $FILE
echo "Processor: $KERNEL_PROCESSOR" >> $FILE
echo "SMP Enabled: $KERNEL_SMP" >> $FILE
echo "" >> $FILE
echo "" >> $FILE
echo "!!ALSA Version" >> $FILE
echo "!!------------" >> $FILE
echo "" >> $FILE
echo "Driver version: $ALSA_DRIVER_
echo "Library version: $ALSA_LIB_VERSION" >> $FILE
echo "Utilities version: $ALSA_UTILS_
echo "" >> $FILE
echo "" >> $FILE
echo "!!Loaded ALSA modules" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!Soundcards recognised by ALSA" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!PCI Soundcards installed in the system" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!Advanced information - PCI Vendor/
echo "!!----
echo "" >> $FILE
lspci -vvn |grep -A1 040[1-3] >> $FILE
echo "" >> $FILE
echo "" >> $FILE
if [ -e "/tmp/alsainfo/
then
echo "!!HDA-Intel Codec information" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
fi
#If no command line options are specified, then run as though --with-all was specified
if [[ -z "$1" ]]
then
update
withdevices
withconfigs
withaplay
withamixer
withlsmod
#Workaround, while we sort out pastebin location, since pastebin.ca blocked us.
#NOUPLOAD="1"
fi
#loop through command line arguments, until none are left.
if [[ -n "$1" ]]
then
until [ -z "$1" ]
do
case "$1" in
--update)
update
exit
;;
--no-upload)
NOUPLOAD="1"
KEEP_FILES="yes"
withdevices
withconfigs
withaplay
withamixer
withlsmod
;;
--debug)
echo "Debugging enabled. $FILE and $TEMPDIR will not be deleted"
KEEP_FILES="yes"
echo ""
withdevices
withconfigs
withaplay
withamixer
withlsmod
;;
--with-all)
withdevices
withconfigs
withaplay
withamixer
withlsmod
;;
--with-aplay)
withaplay
;;
--with-amixer)
withamixer
;;
--with-devices)
withdevices
;;
--with-configs)
if [[ -e $HOME/.asoundrc ]] || [[ -e /etc/asound.conf ]]
then
echo "!!ALSA configuration files" >> $FILE
echo "!!----
echo "" >> $FILE
#Check for ~/.asoundrc
if [[ -e $HOME/.asoundrc ]]
then
echo "!!User specific config file ($HOME/.asoundrc)" >> $FILE
echo "" >> $FILE
cat $HOME/.asoundrc >> $FILE
echo "" >> $FILE
echo "" >> $FILE
fi
#Check for /etc/asound.conf
if [[ -e /etc/asound.conf ]]
then
echo "!!System wide config file (/etc/asound.conf)" >> $FILE
echo "" >> $FILE
cat /etc/asound.conf >> $FILE
echo "" >> $FILE
echo "" >> $FILE
fi
fi
;;
--about)
echo "Written/Tested by the following users of #alsa on irc.freenode.net:"
echo ""
echo " wishie - Script author and developer / Testing"
echo " crimsun - Various script ideas / Testing"
echo " gnubien - Various script ideas / Testing"
echo " GrueMaster - HDA Intel specific items / Testing"
echo " olegfink - Script update function"
cleanup
exit 0
;;
*)
echo ""
echo "Available options:"
echo " --with-aplay (includes the output of aplay -l)"
echo " --with-amixer (includes the output of amixer)"
echo " --with-configs (includes the output of ~/.asoundrc and /etc/asound.conf if they exist)"
echo " --with-devices (shows the device nodes in /dev/snd/)"
echo ""
echo " --update (check server for script updates)"
echo " --about (show some information about the script)"
echo " --debug (will run the script as normal, but will not delete $FILE)"
cleanup
exit 0
;;
esac
shift 1
done
fi
#Test that wget is installed, and supports --post-file. Upload $FILE if it does, and prompt user to upload file if it doesnt.
if
WGET=$(which wget 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null); [[ -n "${WGET}" ]] && [[ -x "${WGET}" ]] && [[ `wget --help |grep post-file` ]]
then
if [[ -n "$DIALOG" ]]
then
if [[ -z $NOUPLOAD ]]; then
wget -O - --tries=5 --timeout=60 --post-
{ for i in 10 20 30 40 50 60 70 80 90; do
echo $i
sleep 0.2
done
echo; } |dialog --backtitle "$BGTITLE" --guage "Uploading information to www.pastebin.ca ..." 6 70 0
fi
else
if [[ -z $NOUPLOAD ]]; then
echo -n "Uploading information to www.pastebin.ca ... "
wget -O - --tries=5 --timeout=60 --post-
fi
fi
#Progess spinner for wget transfer.
if [[ -z "$DIALOG" ]]
then
i=1
sp="/-\|"
echo -n ' '
while pgrep wget &>/dev/null
do
echo -en "\b${sp:
done
fi
#See if tput is available, and use it if it is.
if [[ -z $NOUPLOAD ]]; then
if [[ -n "$TPUT" ]]
then
FINAL_URL=`tput setaf 1; grep "SUCCESS:" /tmp/alsainfo/
else
FINAL_URL=`grep "SUCCESS:" /tmp/alsainfo/
fi
fi
#Output the URL of the uploaded file.
if [[ -z $DIALOG ]]
then
echo -e "\b Done!"
echo ""
if [[ -n $NOUPLOAD ]]; then
echo "You requested that your information was NOT automatically uploaded to the pastebin"
echo ""
echo "Your ALSA information can be seen by looking in $FILE"
echo ""
else
echo "Your ALSA information is located at $FINAL_URL"
echo "Please inform the person helping you."
echo ""
fi
fi
if [[ -n $DIALOG ]]
then
if [[ -n $NOUPLOAD ]]; then
dialog --backtitle "$BGTITLE" --title "Information collected" --msgbox "You requested that your information was NOT automatically uploaded to the pastebin\n\nYour ALSA information can be seen by looking in $FILE" 10 100
else
dialog --backtitle "$BGTITLE" --title "Information uploaded" --yesno "Would you like to see the uploaded information?" 5 100
DIALOG_
if [ $DIALOG_EXIT_CODE = 0 ]; then
grep -v "alsa-info.txt" /tmp/alsa-info.txt >/tmp/alsainfo/
dialog --backtitle "$BGTITLE" --textbox /tmp/alsainfo/
fi
fi
clear
if [[ -z $NOUPLOAD ]]; then
echo "Your ALSA information is located at $FINAL_URL"
echo "Please inform the person helping you."
echo ""
fi
fi
#We posted the file to pastebin.ca , so we dont need it anymore. delete it.
if [ -z $KEEP_FILES ]
then
rm $FILE
fi
#We couldnt find a suitable wget, so tell the user to upload manually.
else
if [[ -z $DIALOG ]]
then
echo ""
echo "Could not automatically upload output to http://
echo "Possible reasons are:"
echo " 1. Couldnt find 'wget' in your PATH"
echo " 2. Your version of wget is less than 1.8.2"
echo ""
echo "Please manually upload $FILE to http://
echo ""
fi
if [[ -n $DIALOG ]]
then
dialog --backtitle "$BGTITLE" --msgbox "Could not automatically upload output to http://
fi
fi
#Clean up the temp files
if [ -z $KEEP_FILES ]
then
cleanup
fi
Revision history for this message
|
#3 |
I'm sorry, I am tired, it looks like the script didn't run but rather
output the code, let me try this again, sheesh i'm tired.
Here is the output: it is not right, not right !
*******
ALSA Information Script v 0.4.27
-------
This script will collect information about your ALSA installation and
sound related hardware, to help diagnose your problem.
By default, the collected information will be AUTOMATICALLY uploaded to
a pastebin site.
If you do not wish for this to occur, run the script with the
--no-upload argument
Do you want to run this script? [y/n] : y
Uploading information to www.pastebin.ca ... Done!
Your ALSA information is located at
Please inform the person helping you.
*******
Yes I know that it isn't giving you an address for the info, this is
exactly what it said, cut and paste from the terminal.
sheesh
Revision history for this message
|
#4 |
Cesare Tirabassi wrote:
> Your question #7586 on ekiga in ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Cesare Tirabassi requested for more information:
> Can yo run the first script on this page and let us know the url of the
> page created?
>
> http://
>
> Thanks.
>
> _______
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
>
I am attaching the info, i ran it again with the no-upload arguement and
this is the file it created
name=jim&
!!#####
!!ALSA Information Script v 0.4.27
!!#####
!!Linux Distribution
!!-----
Ubuntu 7.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_
!!Kernel Information
!!-----
Kernel release: 2.6.20-16-generic
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.14rc1
Library version:
Utilities version: 1.0.13
!!Loaded ALSA modules
!!-----
snd_hda_intel
!!Soundcards recognised by ALSA
!!-----
0 [Intel ]: HDA-Intel - HDA Intel
!!PCI Soundcards installed in the system
!!-----
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
!!Advanced information - PCI Vendor/
!!-----
00:1b.0 0403: 8086:284b (rev 02)
Subsystem: 1043:81ec
!!HDA-Intel Codec information
!!-----
Codec: Analog Devices AD1988
Address: 0
Vendor Id: 0x11d41988
Subsystem Id: 0x104381e1
Revision Id: 0x100400
Default PCM:
rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
PCM:
rates [0x7e0]: 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Connection: 1
0x1d
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Power: 0x0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Power: 0x0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Power: 0x0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Power: 0x0
Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital
PCM:
rates [0x7e0]: 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Connection: 1
0x1c
Node 0x08 [Audio Input] wcaps 0x100501: Stereo
Power: 0x0
Connection: 1
0x0c
Node 0x09 [Audio Input] wcaps 0x100501: Stereo
Power: 0x0
Connection: 1
0x0d
Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
Amp-Out vals: [0x27 0x27]
Power: 0x0
Node 0x0b [Audio Selector] wcaps 0x300301: Stereo Digital
Connection: 3
0x08* 0x09 0x0f
Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
Amp-Out vals: [0xb5 0xb5]
Connection: 10
0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
Amp-Out vals: [0x36 0x36]
Connection: 10
0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1
Amp-Out vals: [0xb6 0xb6]
Connection: 10
0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20
Node 0x0f [Audio Input] wcaps 0x100501: Stereo
Power: 0x0
Connection: 1
0x0e
Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
Amp-Out vals: [0x00]
Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x08373f: IN OUT HP Detect
Pin Default 0x02214130: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
Pin-ctls: 0xc0: OUT HP
Connection: 1
0x22
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x08373f: IN OUT HP Detect
Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
Pin-ctls: 0x40: OUT
Connection: 1
0x29
Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x00]
Pincap 0x0810: OUT
Pin Default 0x511711f0: [N/A] Speaker at Int Rear
Conn = Analog, Color = Black
Pin-ctls: 0x40: OUT
Connection: 1
0x2d
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x08373f: IN OUT HP Detect
Pin Default 0x02a19122: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
Pin-ctls: 0x24: IN
Connection: 1
0x2b
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x083737: IN OUT Detect
Pin Default 0x01813021: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
Pin-ctls: 0x20: IN
Connection: 1
0x2c
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x083737: IN OUT Detect
Pin Default 0x01011012: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x40: OUT
Connection: 1
0x2a
Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x083737: IN OUT Detect
Pin Default 0x01a19020: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
Pin-ctls: 0x24: IN
Connection: 1
0x26
Node 0x18 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x9933112e: [Fixed] CD at Int ATAPI
Conn = ATAPI, Color = Black
Pin-ctls: 0x00:
Node 0x19 [Power Widget] wcaps 0x500500: Mono
Power: 0x0
Connection: 2
0x20* 0x21
Node 0x1a [Pin Complex] wcaps 0x400000: Mono
Pincap 0x0820: IN
Pin Default 0x918711f0: [Fixed] Line In at Int Rear
Conn = Analog, Color = Black
Pin-ctls: 0x20: IN
Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
Amp-Out vals: [0xa7 0xa7]
Pincap 0x0810: OUT
Pin Default 0x0145f1f0: [Jack] SPDIF Out at Ext Rear
Conn = Optical, Color = Other
Pin-ctls: 0x40: OUT
Connection: 1
0x02
Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals:
Pincap 0x0820: IN
Pin Default 0x41c5f1f0: [N/A] SPDIF In at Ext Rear
Conn = Optical, Color = Other
Pin-ctls: 0x20: IN
Node 0x1d [Audio Mixer] wcaps 0x200303: Stereo Digital Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x01 0x0b
Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x36 0x21
Node 0x1f [Volume Knob Widget] wcaps 0x600080: Mono
Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x00 0x00] [0x1f 0x1f] [0x80 0x80] [0x80 0x80] [0x16 0x16] [0x80 0x80] [0x1f 0x1f] [0x80 0x80]
Connection: 8
0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a
Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Amp-Out vals: [0x1f 0x1f]
Connection: 1
0x20
Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x37 0x21
Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
Connection: 18
0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21
Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0837: IN OUT Detect
Pin Default 0x01016011: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Orange
Pin-ctls: 0x40: OUT
Connection: 1
0x27
Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0837: IN OUT Detect
Pin Default 0x01012013: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Grey
Pin-ctls: 0x40: OUT
Connection: 1
0x28
Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80]
Connection: 2
0x32 0x21
Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x05 0x21
Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x0a 0x21
Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x04 0x21
Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x06 0x21
Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80]
Connection: 2
0x30 0x21
Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80]
Connection: 2
0x31 0x21
Node 0x2d [Audio Mixer] wcaps 0x200100: Mono
Connection: 1
0x1e
Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono
Connection: 6
0x11* 0x12 0x14 0x15 0x16 0x17
Node 0x30 [Audio Selector] wcaps 0x300101: Stereo
Connection: 3
0x03* 0x04 0x06
Node 0x31 [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x04* 0x0a
Node 0x32 [Audio Selector] wcaps 0x300101: Stereo
Connection: 2
0x05* 0x04
Node 0x33 [Audio Selector] wcaps 0x300101: Stereo
Connection: 3
0x3a* 0x25 0x24
Node 0x34 [Audio Selector] wcaps 0x300101: Stereo
Connection: 3
0x3c* 0x25 0x24
Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x36 [Audio Selector] wcaps 0x300101: Stereo
Connection: 3
0x03 0x04* 0x06
Node 0x37 [Audio Selector] wcaps 0x300101: Stereo
Connection: 3
0x03 0x04* 0x06
Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 1
0x11
Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 1
0x14
Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 1
0x15
Node 0x3b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 1
0x16
Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 1
0x17
Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-Out vals: [0x00 0x00]
Connection: 1
0x12
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 6 2007-06-02 19:09 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 5 2007-06-02 19:09 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 4 2007-06-02 19:09 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 3 2007-06-02 19:09 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2007-06-02 19:09 /dev/snd/timer
!!Aplay output
!!------------
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Simple mixer control 'Headphone',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 39
Mono:
Front Left: Playback 39 [100%] [0.00dB] [on]
Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [on]
Front Right: Playback 0 [0%] [-34.50dB] [on]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%]
Front Right: 0 [0%]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 39
Mono:
Front Left: Playback 39 [100%] [0.00dB] [on]
Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 39
Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 39
Mono: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 39
Mono:
Front Left: Playback 39 [100%] [0.00dB] [on]
Front Right: Playback 39 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 22 [71%] [-1.50dB] [on]
Front Right: Playback 22 [71%] [-1.50dB] [on]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%]
Front Right: 0 [0%]
Simple mixer control 'Mono',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 54
Front Left: Capture 53 [98%] [21.00dB] [off]
Front Right: Capture 53 [98%] [21.00dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 54
Front Left: Capture 54 [100%] [22.50dB] [on]
Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',2
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 54
Front Left: Capture 54 [100%] [22.50dB] [off]
Front Right: Capture 54 [100%] [22.50dB] [off]
Simple mixer control 'Analog Mix',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 15
Mono:
Front Left: Playback 15 [100%] [0.00dB] [off]
Front Right: Playback 15 [100%] [0.00dB] [on]
Simple mixer control 'Input Source',0
Capabilities: enum
Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix'
Item0: 'Front Mic'
Simple mixer control 'Input Source',1
Capabilities: enum
Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix'
Item0: 'Front Mic'
Simple mixer control 'Input Source',2
Capabilities: enum
Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix'
Item0: 'Front Mic'
!!All Loaded Modules
!!-----
Module
snd_rtctimer
videodev
v4l2_common
v4l1_compat
binfmt_misc
rfcomm
l2cap
bluetooth
nfs
vboxdrv
nfsd
exportfs
lockd
sunrpc
ppdev
cpufreq_ondemand
cpufreq_stats
cpufreq_userspace
cpufreq_powersave
freq_table
cpufreq_
dev_acpi
sony_acpi
tc1100_wmi
pcc_acpi
video
ac
button
dock
asus_acpi
backlight
battery
sbs
i2c_ec
container
ipv6
nls_utf8
nls_cp437
vfat
fat
fuse
lp
snd_hda_intel
snd_hda_codec
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
snd_seq_oss
nvidia
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
i2c_core
parport_pc
parport
snd
soundcore
af_packet
serio_raw
psmouse
pcspkr
intel_agp
agpgart
iTCO_wdt
iTCO_vendor_support
shpchp
pci_hotplug
snd_page_alloc
tsdev
evdev
ext3
jbd
mbcache
sg
sd_mod
sr_mod
cdrom
generic
ata_generic
usb_storage
libusual
pata_jmicron
r8169
ahci
ehci_hcd
ata_piix
uhci_hcd
libata
scsi_mod
usbcore
thermal
processor
fan
dm_mod
fbcon
tileblit
font
bitblit
softcursor
vesafb
capability
commoncap
Revision history for this message
|
#5 |
Yes, I can see you were a bit sleepy!
Try rerunning the script like this:
bash alsa-info.sh --no-upload argument
and paste here the content of the /tmp/alsa-info.txt file that will be created.
Revision history for this message
|
#6 |
Never mind, we finally got the data.
Now, try using the Mic boost track and see if you get the mic working with that (you have it set to front mic, so I guess that is fine by you?).
If with that still doesn't work, add this to your /etc/modprobe.
options snd-hda-intel model=XXX
With XXX from this list:
6stack 6-jack
6stack-dig ditto with SPDIF
3stack 3-jack
3stack-dig ditto with SPDIF
laptop 3-jack with hp-jack automute
laptop-dig ditto with SPDIF
auto auto-config reading BIOS (default)
Start with auto and/or try the one which seems to match better your hardware (you need to reboot after every modification to this file).
If still it doesn't work, try updating to the latest drivers. See this page on how to:
Revision history for this message
|
#7 |
front mike on, front mike boost on with (plain) mike and mike boost off: no change
front mike and mike boost on and (plain) mike and mike boost on: Can hear voice through headphones but not connecting to the ekiga system through the phone lines: there is no 4 second delay in the druid test.
BTW: i have noticed with the skype call testing service that it is picking up a carrier sometimes and playing back an empty file, while other times there is no carrier and it plays nothing back (see the difference? it's a matter of the time) This might have some utility. For example, right now I can "hear" the fuzz from the mike in the headphones, but this is only useful for the "sound recorder"
OK, I have tried some of the various flavour settings you have listed but I will go through each now and report on each as I go:
auto auto-config reading BIOS:
Revision history for this message
|
#8 |
auto auto-config reading BIOS: both Ekiga and skype do not register the sound device at all
I will skip the two laptop configs, this is a full size MOBO (P5N family, it's the chipset that is brand spanking new)
and start at the top because i have a 6 jack set in the back
6stack 6-jack:
Revision history for this message
|
#9 |
6stack 6-jack: no joy. It should be noted here that the message I am gettting is that there is not sound device found: in other words ALSA is not loading at all with both these prior configs, whereas with the original it was at least loading, if not activating the mike.
for reference: here is the product brief on the chipset: http://
If you go to the Intel site and search <P965+ICH8> you get a lot about the product, it's not cutting edge, just new, and the ICH8 I/O controler does not seem to be well supported, or at least the last time I checked they had support for the other "stacks" (3stack, 7 stack and 6stack but not for ICH8, which might be who knows what)
anyway, now I'll try this one:
6stack-dig ditto with SPDIF
Revision history for this message
|
#10 |
6stack-dig ditto with SPDIF: also no joy, still no carrier as well, Skype says: problem with sound device (will not even try to dial) Ekiga does not list any sound device. same same.
I was thinking about skipping the tedious repetition and jump to the recommended page listed above when I looked at it: been there done that already, no joy.
is there any chance that the ALSA mercurial has solved it yet?
anyway, i'll keep on with :
3stack 3-jack
Revision history for this message
|
#11 |
3stack 3-jack: same same no different, still no carrier, problem with sound device and no sound device listed
last time:
3stack-dig ditto with SPDIF
Revision history for this message
|
#12 |
OK, I worked through the how-to again with no problems or errors. I checked the box for the motherboard and confirmed that it is the AD1988A sound controler which, when looking in the ALSA configuration.text file shows a 6stack model which exactly describes my mobo and chipset and says that it has ICH8 support.
NO joy, still
However on checking the /prc/asound directories as suggested for teh codecs I find there is no codec file, and no /card0 directory. could this be the problem?
There does not appear to be anything out of line or erroring in any way. I have the mike switches on after the reload of the ALSA drivers, lib and utils so .....
I'm going crazy with this, but i'll try the auto model and give it one last go then i'll wait for you. unless i write about it working it ain't
oh, and thanks, i do appreciate it
Revision history for this message
|
#13 |
I noticed that you have 3 "Capture" controls, and the first and third are muted. This reminds me of a bug I have reported. Try open the Volume Control panel, and in its Preferences enable all capture tracks. Then in the mixer, mute the second and third Capture, and unmute the first.
Revision history for this message
|
#14 |
Hi Tormod,
I tried that, but if you notice I had gone back to an "auto" model in the alsabase configuration. This gave me a sound device failure, let me try it with the 6stack model and see what happens
Revision history for this message
|
#15 |
no joy I'm afraid. Anybody know if that codec thingy could have a bearing? not that I have a clue, but it is the only thing that has shown any negative anything, except that the microphone don't work of course.
In desperation I carefully checked the hardware and the wiring, sorry, it is all good.
When I had this problem previously in FC6 I found that I could switch to OSS for the microphone and use the microphone control panel there to enable the mike. this is not possibnle here because there is no enabled capture panel for OSS. Is this useful info or not?
Revision history for this message
|
#16 |
Just becayuse I have messed things around a bit doing all this i ran the ALSA info script again, this time I got a site !!!
here is the paste:
Uploading information to www.pastebin.ca ... Done!
Your ALSA information is located at http://
Please inform the person helping you.
ok, so maybe there is something new there of value, cause i'm out of bullets
Revision history for this message
|
#17 |
To give you a reference, here is my (working) set:
In Menu->System-
Sound Capture: Mic capture
In Volume Control:
Recording:
All muted but: Master Capture (set level) and Microphone (set level)
Switches:
Mic boost ON
Options:
Mic select: Mic1
Your controls might be sligthly different, but see what logically seems to match mine.
Revision history for this message
|
#18 |
Cesare Tirabassi wrote:
> Your question #7586 on ekiga in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> To give you a reference, here is my (working) set:
>
> In Menu->System-
>
> Sound Capture: Mic capture
>
> In Volume Control:
>
> Recording:
>
> All muted but: Master Capture (set level) and Microphone (set level)
>
> Switches:
>
> Mic boost ON
>
> Options:
>
> Mic select: Mic1
>
> Your controls might be sligthly different, but see what logically seems
> to match mine.
>
> _______
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
>
Hi Cesare,
Sorry it took me so long to get back to you, My daughter graduated from
High school wed. night and we had a good-bye party (we're moving) last
night.
So, lets see, I went into the System> preferences>Sound. What i have is
two playback sections up top, then in the middle an "audio conferencing"
section that includes a sound capture section, but that does not include
Mic capture, or anything like that. It was preset to the OSS capture
device (see screenshot atttached) I tried to get the drop-down windo to
stay open for the SS but it wouldn't. The other choices are: Alsa, Pulse
Audio Sound Server, Silence, Test sound, OSS along with the shown "AD
198x analog" .
In volume control: I'm in the Alsa section since OSS does not show a
capture section, I am attaching a screen shot of the mixer panel on
capture plus the preference panel showing the only choices that are not
turned on. I don't have a Mike 1 control, but all the other mike
controls are on, but muted except for the primary capture control. This
is based on someone else's recommendation.
So, unfortunately, nothing seems to really match yours. this is the
problem I have encountered previously as well when I try to do this stuff.
see what you can make of the screenshots, I'm game for anything just
point and I'll shoot.
Thanks for your time and effort
jim alley
Revision history for this message
|
#19 |
Thanks Jim, but we don't get file attachments here.
The new version of ALSA is out since a couple of days, you may want to check it out. Looking at the changelog they fixed few issues from rc4 re HDA.
Hope this will fix it......
Revision history for this message
|
#20 |
Cesare Tirabassi wrote:
> Your question #7586 on ekiga in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> Thanks Jim, but we don't get file attachments here.
> The new version of ALSA is out since a couple of days, you may want to check it out. Looking at the changelog they fixed few issues from rc4 re HDA.
> Hope this will fix it......
>
> _______
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
>
Hi Cesare,
Can I just Apt-get install or is there another better way to load the
update?
Revision history for this message
|
#21 |
No, you can't use apt-get as these have not yet been packaged for Ubuntu.
You need to download and compile the source packages, as you did for rc4;
for instance follow the instructions of this link (which I have already given to you):
https:/
Just make sure to do it for 1.0.14 not 1.0.14rc4
Revision history for this message
|
#22 |
Cesare Tirabassi wrote:
> Your question #7586 on ekiga in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> No, you can't use apt-get as these have not yet been packaged for Ubuntu.
> You need to download and compile the source packages, as you did for rc4;
> for instance follow the instructions of this link (which I have already given to you):
>
> https:/
>
> Just make sure to do it for 1.0.14 not 1.0.14rc4
>
> _______
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
>
OK, That's kinda what I thought but i like to ask, i'll try it now with
fingers crossed
Revision history for this message
|
#23 |
Cesare Tirabassi wrote:
> Your question #7586 on ekiga in ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> No, you can't use apt-get as these have not yet been packaged for Ubuntu.
> You need to download and compile the source packages, as you did for rc4;
> for instance follow the instructions of this link (which I have already given to you):
>
> https:/
>
> Just make sure to do it for 1.0.14 not 1.0.14rc4
>
> _______
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
>
Hi Cesare,
You'll love this one. I have three computers here that I'm working with,
(this is just some background so you'll really enjoy the punchline) One
is a two year old desktop box I built with off teh shelf relatively
medium priced stuff, pentium d, asrock mobo, via chipset: all very
stable and middle of the road. Then I have this desktop I've been
working with you on, i got some upper-end new stuff for this one, just
put it together a few weeks ago. Then my daughter's laptop which we
bought off the shelf but we ordered one laptop and this one had just
replaced it, much better specs for the same price so the guy i buy parts
from knew i would want it, and i did but it has been tough.
OK, got the picture? Now, Ubuntu FF on this machine, UbuntuStudio on the
2 year old and Vista and a crippled Ubuntu FF on the lappie. Update
notifier on the two year old so I upgraded it, this was maybe 20 minutes
after I got your e-mail and so I noticed some kernal stuff in the up and
checked the alsa panel, whoa! new stuff, lets try it out!!! wow!!! Skype
works now, Ekiga works now Whoopee! come to this machine and yes!!! the
update notifier says to update, I do, and restart for the kernal stuff
and....
allllllllllllll
CLI: alsamixer: "function snd_ctl_open failed for default: No such device"
volume control: "No volume control Gstreamer and sound control devices
found"
well, of course it must still be there somewhere and obviously we can
fix it all but i find it screamingly funny. so, i'll let you cogitate
and we can try something again. But first, I'm gonna strip FF out of
here and reload it. I am not happy with my basic partition system and
the permission system seems screwy to me. I stripped my machine at
school (work) and rebuilt it in a more stable way with much improved
results, so I'll work on that tonight and tomorrow, in the process of
putting it back together it might look different and we'll get back
together and see what happens.
thanks, i thought you'd appreciate the humor of this one though
Revision history for this message
|
#24 |
Well, it worked. I stripped it all out and put it all back together, repartitioned to a /boot in the first 200Mb followed by /root in the main part and swap at the end. with the /home on a separate 320GB disk. All very solid now. I made a slight adjustment to teh sound volume controls, nothing that you hadn't suggested, and now it works. So, the lesson I learned was that because Gnu/Linux is a complete and complex unit it is important that everything is solid or you will have curious and difficult, perhaps insoluble, problems in apparently unrelated things.
Thus, the problems that manifested as curious permission requirements (I had to log in as root in the terminal and mount one of the partitions on the 320G HDD and on any flash drive that was plugged in) also played out in ALSA problems. Solutions like reformating and starting from scratch may seem draconian, but since I could migrate data and I use simple stuff mostly that doesn't require complex setup I can strip and reload in just a day or so. worthwhile in the long term.
Really, it was those years with Win95 and 98 where I had to reformat every 6 months or so that made it easy for me. Thanks to Bill Gates it didn't bother me at all!!!!!!