LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No sound in slackware 14.1 (https://www.linuxquestions.org/questions/slackware-14/no-sound-in-slackware-14-1-a-4175497740/)

enine 03-25-2015 06:52 AM

http://docs.slackware.com/howtos:har...s_on_slackware is good as well.

Built my son a PC to play minecraft on and between the onboard sound and the sound interface of the onboard hdmi and the sound interface in the add in hdmi and interfaces for the 7.1 speakers the onboard sound supports there must be a dozen different sound devices on it, took me forever to get figured out which is which.

ryanpcmcquen 03-25-2015 11:33 AM

Max!, try this:

Code:

if [ "$(aplay -l | grep Analog | grep 'card 1')" ]; then
  wget -N https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/asound.conf -P /etc/
fi

And make sure to remove that .asoundrc! This syntax destroys the system ALSA config:

Code:

pcm.hda-intel {
  type hw
  card 0
}

ctl.hda-intel {
  type hw
  card 0
}

This is the only syntax you should use, because it preserves all the stuff in /usr/share/alsa/alsa.conf (ReaperX7, stop spreading that bad syntax!!!):


Code:

defaults.pcm.card 1
ctl.pcm.card 1


dugan 03-25-2015 06:58 PM

Based on your aplay -L output, I'm in agreement with ryanpcmcquen. His .asoundrc file is a good bet.

Also, can you just disable HDMI audio output at the motherboard firmware (formerly known as the BIOS) level?

allend 03-25-2015 07:42 PM

All good information, but I hope you all realise that you are responding to a thread started over a year ago.

frankbell 03-25-2015 08:18 PM

Since I am having a similar issue on my new computer, I rather glad he responded.

ryanpcmcquen 03-25-2015 08:19 PM

It is never too late to post correct information.

frankbell 03-25-2015 09:18 PM

I can see opening the post with something like, "I know this is an old thread, but I thought that what follows may be relevant." I've seen that done before.

Of course, is the post is from five years ago, that's quite another story . . . .

frankbell 04-22-2015 01:35 PM

For what it's worth, this morning's update fixed my problem. Nothing I had tried from this and other similar threads seemed to help, but it was fun trying.

geroffel 04-22-2015 04:18 PM

Thanks @Ztcoracat that Slackware link helped me on OpenSuse 13.2 reversing HDMI and PCH:

Code:

$ cat /etc/modprobe.d/50-sound.conf

# 3hqH.bQjzHrSTHK8:Intel Corporation
alias snd-card-1 snd-hda-intel
# u1Nb.lQADNZ8JrNB:Intel Corporation
alias snd-card-0 snd-hda-intel

options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1


Ztcoracat 04-22-2015 05:07 PM

Quote:

Originally Posted by frankbell (Post 5351419)
For what it's worth, this morning's update fixed my problem. Nothing I had tried from this and other similar threads seemed to help, but it was fun trying.

Glad to hear you now have sound.

frankbell 04-22-2015 09:35 PM

I will note I am using the asound.rc that ryanpcmcquen linked to above. I put it in place before the kernel upgrade and it seemed to have no effect, but it may well have some bearing on the fact that things started working immediately after the updates.

ryanpcmcquen 04-23-2015 11:36 AM

Quote:

Originally Posted by frankbell (Post 5351607)
I will note I am using the asound.rc that ryanpcmcquen linked to above. I put it in place before the kernel upgrade and it seemed to have no effect, but it may well have some bearing on the fact that things started working immediately after the updates.

You mean ~/.asoundrc

;-)

Ztcoracat 04-23-2015 04:26 PM

Quote:

Originally Posted by geroffel (Post 5351516)
Thanks @Ztcoracat that Slackware link helped me on OpenSuse 13.2 reversing HDMI and PCH:

Code:

$ cat /etc/modprobe.d/50-sound.conf

# 3hqH.bQjzHrSTHK8:Intel Corporation
alias snd-card-1 snd-hda-intel
# u1Nb.lQADNZ8JrNB:Intel Corporation
alias snd-card-0 snd-hda-intel

options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1


Your Welcome-
Glad that link helped:-


All times are GMT -5. The time now is 10:57 AM.