LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Audio problem due to more than one sound devices (solved) slackware lenovo (https://www.linuxquestions.org/questions/linux-newbie-8/audio-problem-due-to-more-than-one-sound-devices-solved-slackware-lenovo-4175488889/)

rasitabay 12-22-2013 05:50 PM

Audio problem due to more than one sound devices (solved) slackware lenovo
 
I have started this thread to help people with no sound on their slackware box. I have spent some time on solving this issue. Do not waste your time I am presenting the solution I have gathered from different sources.

STEP1:

Create a "~/.asoundrc" file with as below,

pcm.!default {
type hw
card Intel_1
}

ctl.!default {
type hw
card Intel_1
}

Note: Intel_1 needs to be changed by with your card name you want to use, write "cat /proc/asound/cards" in the terminal.

STEP 2:
Create "/etc/modprobe.d/alsa-base.conf" file as below,

options snd-hda-intel model=lenovo-3000
options snd_hda_intel index=1

Note: model can be found for your machine from "http://lxr.linux.no/linux+v3.2.19/Documentation/sound/alsa/HD-Audio-Models.txt" and index can be 0 or 1 depends on sound device you want to use.

Then reboot.
Hope this helps.

allend 12-23-2013 04:51 PM

Thanks for sharing. Did your sources include these SlackDocs pages? http://docs.slackware.com/howtos:har..._snd-hda-intel http://docs.slackware.com/howtos:har...s_on_slackware

I would point out that your solution applies to Slackware 14. The current 14.1 stable release has a later kernel where the 'model=lenovo-3000' option is no longer required.

rasitabay 12-23-2013 09:41 PM

Hi allend,
Yes I have read them, and many others (like the ones that I have given the links). I do not think that model is required for the solution, I mean only using second line can be enough, most of the cases it is.
I have added the first line to make sure it works.
You are absolutely right.


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