MX & MEPIS Community Forum

Linux operating systems based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next
Need help getting sound to work in M11 
Author Message
Forum Regular
Forum Regular
User avatar

Joined: Sun Feb 10, 2008 5:37 pm
Posts: 754
Location: Arab, Alabama
Has thanked: 109 times
Have thanks: 37 times
Post # 299186
Post Need help getting sound to work in M11
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:
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.

Quote:
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

_________________
Mepis11 & MX14 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


Fri Apr 27, 2012 12:09 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Mon Jun 30, 2008 8:06 pm
Posts: 2952
Has thanked: 52 times
Have thanks: 376 times
Post # 299188
Post Re: Need help getting sound to work in M11
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?


Fri Apr 27, 2012 12:11 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 11024
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3772 times
Have thanks: 898 times
Post # 299190
Post Re: Need help getting sound to work in M11
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


Fri Apr 27, 2012 12:26 pm
Profile
Forum Regular
Forum Regular
User avatar

Joined: Sun Feb 10, 2008 5:37 pm
Posts: 754
Location: Arab, Alabama
Has thanked: 109 times
Have thanks: 37 times
Post # 299191
Post Re: Need help getting sound to work in M11
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.

_________________
Mepis11 & MX14 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


Fri Apr 27, 2012 12:38 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Mon Jun 30, 2008 8:06 pm
Posts: 2952
Has thanked: 52 times
Have thanks: 376 times
Post # 299192
Post Re: Need help getting sound to work in M11
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?


Fri Apr 27, 2012 12:46 pm
Profile
Forum Regular
Forum Regular
User avatar

Joined: Wed Jul 27, 2011 2:57 pm
Posts: 154
Location: Atlanta GA USA
Has thanked: 56 times
Have thanks: 20 times
Post # 299193
Post Re: Need help getting sound to work in M11
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 8X2 G.SKILL F3-12800CL9D-8GBRL
Segate 250 gig

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


Fri Apr 27, 2012 1:12 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 1523
Location: Bristol, UK
Has thanked: 443 times
Have thanks: 327 times
Post # 299194
Post Re: Need help getting sound to work in M11
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, 1TB HDD, MX-14.
Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, 500+250GB HDD, MX-14, Mepis 11.9.92-64.
Acer Aspire One 150, Atom N270, 120GB HDD, MX-14 / WinXP


Fri Apr 27, 2012 1:14 pm
Profile
Forum Regular
Forum Regular
User avatar

Joined: Sun Feb 10, 2008 5:37 pm
Posts: 754
Location: Arab, Alabama
Has thanked: 109 times
Have thanks: 37 times
Post # 299195
Post Re: Need help getting sound to work in M11
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.

_________________
Mepis11 & MX14 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


Fri Apr 27, 2012 1:52 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 11024
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3772 times
Have thanks: 898 times
Post # 299213
Post Re: Need help getting sound to work in M11
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


Sat Apr 28, 2012 12:13 am
Profile
Forum Regular
Forum Regular
User avatar

Joined: Sun Feb 10, 2008 5:37 pm
Posts: 754
Location: Arab, Alabama
Has thanked: 109 times
Have thanks: 37 times
Post # 299271
Post Re: Need help getting sound to work in M11
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:
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.

_________________
Mepis11 & MX14 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


Sun Apr 29, 2012 3:58 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 26 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.