LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 11-24-2012, 09:36 PM   #1
soxplayer
LQ Newbie
 
Registered: Jul 2004
Posts: 27

Rep: Reputation: 16
Sound Issues partly solved.


Have installed Slackware 14.0 64 bit on an Acer Aspire One 722

Audio used to work in 13.37 but now no sound.
The relevant portion of lspci is below:

00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
0:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)

A little poking around with Audacious shows that alsa is using the HDMI output as the default, hence no sound. If you make Audacious use the second card you get audio, although the headphone speaker cutout does not work.

How do you force the second card to be the default?
 
Old 11-25-2012, 05:42 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
1) Run:

Code:
cat /proc/asound/modules
You will get something like:

Code:
 0 snd_hda_intel
 1 snd_yamaha
 2 snd_sis
2) To set the default sound card edit '/lib/modprobe.d/sound.conf' (create if not there).

Code:
options snd_yamaha index=0
options snd_hda_intel index=1
options snd_sis index=2
That sets the yamaha card as the default (index=0). You'll probably have to run:

Code:
/etc/rc.d/rc.alsa
for changes to take effect, or you can reboot if that doesn't work.

3) Use 'alsamixer' to set the volumes, and 'alsactl store' to store them.
 
1 members found this post helpful.
Old 11-25-2012, 06:54 PM   #3
soxplayer
LQ Newbie
 
Registered: Jul 2004
Posts: 27

Original Poster
Rep: Reputation: 16
I like your idea but both "cards" use the same module:

I get:

0 snd_hda_intel
1 snd_had_intel

As the digital (HDMI) and analog parts of the card use the same module.

I still have no idea how to make the analog side a priority. Am am experimenting with phonon and I do get some sound for some programs in KDE but nothing on the commmand line. I get:

ALSA lib pcm_dmix.c:1018snd_pcm_dmix_open) unable to open slaveaplay: main: 696: audio open error: No such file of directory
 
Old 11-26-2012, 12:17 AM   #4
soxplayer
LQ Newbie
 
Registered: Jul 2004
Posts: 27

Original Poster
Rep: Reputation: 16
I have a better workaround. I created an ~.asounrc file with the following content:

pcm.!default {
type hw
card 1
device 0
}

Now all sound goes to the analog side by default and I have system sound and internet sound and command line sound.

The only quirk is that the headphone jack does not silence the speakers, but this is typical of new intel based cards, and I had to tell KDE to use the master on card 1 for the volume.

A lot better than a poke in the eye.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 11.04 Install Issues [Solved] Michael A Druckenmiller Linux - Newbie 0 08-14-2011 09:24 AM
(Partly Solved) Need help with remix of TinyCore. nooby Linux - Distributions 7 05-19-2011 06:12 PM
qemu and Slackware64-current, Windows 98SE as a guest ( Partly solved! ) afreitascs Slackware 19 04-20-2011 06:42 PM
99% of issues solved -- please help with last one :) XORsist Linux - Hardware 4 06-10-2009 07:53 AM
gnome-volume-control crashes, sound partly broken hungrigerhaifisch Linux - Software 4 11-10-2005 01:57 PM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration