Need help getting sound to work in M11

Problems with your sound card are to be posted here, as well as tutorials to share with others.
Message
Author
User avatar
Topher
Forum Regular
Forum Regular
Posts: 875
Joined: Sun Feb 10, 2008 5:37 pm

Need help getting sound to work in M11

#1 Postby Topher » Fri Apr 27, 2012 12:09 pm

We installed M11 on 12 new computers for our community lab. We seem to have two audio controllers on our motherboard. I have tried to search and see how to get our sound working, but am not knowlledgeable enough to understand some things. Here is output from different list commands.

Code: Select all

chrisa@mepis1:~$ lspci | grep -i  audio
00:01.1 Audio device: ATI Technologies Inc Device 1714
00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01)

chrisa@mepis1:~$ lspci -k -s 00:01.1                                                                                                                                               
00:01.1 Audio device: ATI Technologies Inc Device 1714                                                                                                                             
        Subsystem: ASUSTeK Computer Inc. Device 84c8                                                                                                                               
        Kernel driver in use: HDA Intel   
                                                                                                                                         
chrisa@mepis1:~$ lspci -k -s 00:14.2   
00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01)                                                                                               
        Subsystem: ASUSTeK Computer Inc. Device 841b                                                                                                                               
        Kernel driver in use: HDA Intel

chrisa@mepis1:~$ cat /proc/asound/cards                                                                                                                                             
 0 [Generic        ]: HDA-Intel - HD-Audio Generic                                                                                                                                 
                      HD-Audio Generic at 0xfeb44000 irq 61                                                                                                                         
 1 [Generic_1      ]: HDA-Intel - HD-Audio Generic                                                                                                                                 
                      HD-Audio Generic at 0xfeb40000 irq 16

Found this on crunchbang: http://crunchbanglinux.org/forums/topic ... -speakers/
But I stopped short of doing the script as I wanted someone who knew what was going on to see if I needed to run this script or do something else.

You will have to create an .asoundrc file in your HOME directorey to st the default audio device:
This script will do that for you: just copy/paste it in a terminal window:

# asoundrc v0.1.0 20090101 markc@renta.net GPLv3
# asoundrc v0.2.0 20090320 quatro_por_quatro@yahoo.es GPLv3
#
# A simple script to create a particular default audio device regardless
# of what cards are loaded or in what order. It could be used anytime or
# placed in a ~/.bashrc script for a persistent setup every login.
#
# Usage: asoundrc [DEFAULT_CARD] > ~/.asoundrc

# use the first parameter as the card name, or else
# look for the sound card, discarding those that are only microphones
# when there are multiple cards, use the first one
if default_card="${1:-$(cat "$(for f in $(ls -1 /proc/asound/card[0-9]*/{midi,codec}* 2>/dev/null); do echo "${f%/*}"; done \
| sed -e '\|^[\[:blank:]\]$|d' -e 'q')/id" 2>/dev/null)}"; then
echo "Using sound card: ${default_card}" >&2
cat /proc/asound/card[0-9]*/id | \
gawk --assign default_card="${default_card}" \
'{print "pcm."$1" { type hw; card "$1"; }\nctl."$1" { type hw; card "$1"; }" }
END {print "pcm.!default pcm."default_card"\nctl.!default ctl."default_card}'
else
echo "Warning: No sound cards found." >&2
fi

Then post output of: cat $HOME/.asoundrc

Edit the file to select your preferred sound device and restart alsa:

sudo service alsa-utils restart

Your sound should be working now.

Any help would be appreciated. TIA
MX15 MoBo ASUS M4A88TD-V EVO/USB3 CPU AMD Phenom II X4 945 PSU CORSAIR CX500 (CMPSU-500CX) RAM Crucial CT2KIT25664BA1339 HD WD5000AAKX Wireless EDIMAX EW 7128g

User avatar
GoManutd
Forum Guide
Forum Guide
Posts: 2952
Joined: Mon Jun 30, 2008 8:06 pm

Re: Need help getting sound to work in M11

#2 Postby GoManutd » Fri Apr 27, 2012 12:11 pm

i'm sure you tried this, but this needs to be asked... have you tried fussing around with ALL of the volume controls in kmixer?

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 12359
Joined: Wed Jul 12, 2006 5:54 am

Re: Need help getting sound to work in M11

#3 Postby lucky9 » Fri Apr 27, 2012 12:26 pm

Also, only one sound device should be enabled. Pick one and disable the other in the BIOS. (I believe the AMD sound chip has caused problems for others.
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
Topher
Forum Regular
Forum Regular
Posts: 875
Joined: Sun Feb 10, 2008 5:37 pm

Re: Need help getting sound to work in M11

#4 Postby Topher » Fri Apr 27, 2012 12:38 pm

I have tried to to set kmix, but haven't met with success. The volume always shows 0%. The mute button is always checked on at boot time. But unchecking it doesn't change anything.
This motherboard has the new EFI bios and I didn't see anyway to do anything with the sound.
MX15 MoBo ASUS M4A88TD-V EVO/USB3 CPU AMD Phenom II X4 945 PSU CORSAIR CX500 (CMPSU-500CX) RAM Crucial CT2KIT25664BA1339 HD WD5000AAKX Wireless EDIMAX EW 7128g

User avatar
GoManutd
Forum Guide
Forum Guide
Posts: 2952
Joined: Mon Jun 30, 2008 8:06 pm

Re: Need help getting sound to work in M11

#5 Postby GoManutd » Fri Apr 27, 2012 12:46 pm

sounds like the two cards are conflicting, which should clear up if you can find the disable feature as lucky suggested.

also, have you checked if a bios firmware upgrade is available?

User avatar
Caesar2
Forum Regular
Forum Regular
Posts: 156
Age: 65
Joined: Wed Jul 27, 2011 2:57 pm

Re: Need help getting sound to work in M11

#6 Postby Caesar2 » Fri Apr 27, 2012 1:12 pm

Could there be a jumper on the mobo to disable onboard sound card?
MOTHERBOARD ASUS|F2A85-V PRO A85 FM2 R
PROCESSOR AMD A10-5800K APU with Radeon(tm) HD
3.8G 4M FM2 R
MEMORY 8 Gig
Segate 250 Gig

VIDEO CARD - ONBOARD AMD/ATI
TRINITY [RADEON 7660D]
vesa/fglrx BUS: PCI EXPRESS

User avatar
Gaer Boy
Forum Guide
Forum Guide
Posts: 1963
Age: 80
Joined: Sat Jun 06, 2009 6:06 am

Re: Need help getting sound to work in M11

#7 Postby Gaer Boy » Fri Apr 27, 2012 1:14 pm

topher - Is this with the ASUS F1A75-V PRO motherboards? The spec for that shows a Realtek ALC892 sound chip, which doesn't seem to tie in with your outputs.

I understand that the Asus EFI BIOS normally shows in EZ mode. To get at sound chip settings you need to select Advanced mode. (This is from the manual - I haven't seen this for real yet).

Phil

AsRock FM2A88X-ITX+, A8-6500, 8GB, 120GB Samsung SSD (GPT), 1TB HDD (MBR), MX-15, MX-14.4
Acer Aspire One 150, Atom N270, 120GB HDD, MX-14.3

User avatar
Topher
Forum Regular
Forum Regular
Posts: 875
Joined: Sun Feb 10, 2008 5:37 pm

Re: Need help getting sound to work in M11

#8 Postby Topher » Fri Apr 27, 2012 1:52 pm

I went into advanced mode and the choices were:
HD Audio Device: Enabled or Disabled
Front Panel Type: AC97 or HD
SPDIF Out Type: SPDIF or HDMI
Disabling the audio didn't work and Microsoft had no sound.
Choosing any of the other four choices didn't make any difference - no sound.in Mepis.
KMix shows:
HD-Audio Generic - IEC958
HD-Audio Genric - shows the sliders (master, headphones, front, surround, center, LFE)
Since Saist has built a computer using this board, this may be a question I should point to him.
MX15 MoBo ASUS M4A88TD-V EVO/USB3 CPU AMD Phenom II X4 945 PSU CORSAIR CX500 (CMPSU-500CX) RAM Crucial CT2KIT25664BA1339 HD WD5000AAKX Wireless EDIMAX EW 7128g

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 12359
Joined: Wed Jul 12, 2006 5:54 am

Re: Need help getting sound to work in M11

#9 Postby lucky9 » Sat Apr 28, 2012 12:13 am

I believe there have been reports of HDMI causing problems. Disable that along with the HD Audio Device (you can toggle it to see if that makes a difference along with the SPDIF being set).
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
Topher
Forum Regular
Forum Regular
Posts: 875
Joined: Sun Feb 10, 2008 5:37 pm

Re: Need help getting sound to work in M11

#10 Postby Topher » Sun Apr 29, 2012 3:58 pm

I guess I am going to have to run the script to set up an .asoundrc file. I have played around with the bios settings and all Kmix settings that I could and never hit the right combination to get sound working. Here is the script:

Code: Select all

if default_card="${1:-$(cat "$(for f in $(ls -1 /proc/asound/card[0-9]*/{midi,codec}* 2>/dev/null); do echo "${f%/*}"; done \
| sed -e '\|^[\[:blank:]\]$|d' -e 'q')/id" 2>/dev/null)}"; then
echo "Using sound card: ${default_card}" >&2
cat /proc/asound/card[0-9]*/id | \
gawk --assign default_card="${default_card}" \
'{print "pcm."$1" { type hw; card "$1"; }\nctl."$1" { type hw; card "$1"; }" }
END {print "pcm.!default pcm."default_card"\nctl.!default ctl."default_card}'
else
echo "Warning: No sound cards found." >&2
fi

Is there someone who understands this and could tell me that all it does is create the .asoundrc file? I don't want to mess the system up by running something that says it will do one thing and then do something else.
MX15 MoBo ASUS M4A88TD-V EVO/USB3 CPU AMD Phenom II X4 945 PSU CORSAIR CX500 (CMPSU-500CX) RAM Crucial CT2KIT25664BA1339 HD WD5000AAKX Wireless EDIMAX EW 7128g


Return to “Sound”

Who is online

Users browsing this forum: No registered users and 0 guests