LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-06-2014, 07:14 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Slackware 14.0: ALSA still seems not to work out of the box with Realtek ALC887-VD.


I have just installed Slackware 14.0 and experienced some difficulty running ALSA. The fact is I did not have audio output, despite TobiSGD's oppinion it must run out of the box with 14.0. Note this is HDA-Intel, with Realtek ALC887-VD as the controller proper. Here is what I did given the facts:

(a) I copied /lib/modprobe.d/sounds-modems.conf to /etc/modprobe.d and,
after modifying it, this is its contents:
Code:
blacklist snd-atiixp-modem
blacklist snd-intel8x0m
blacklist snd-via82xx-modem

alias snd-card-0 snd_hda_intel
alias sound-slot-0 snd_hda_intel
#options snd_hda_intel model=auto position_fix=3 (lo use comentado y sigue asi)
options snd_hda_intel index=0 model=auto 
options snd_pcsp index=1
(b) Then 'modprobe snd_hda_intel' and was accepted. Then
Code:
        # cat /proc/asound/cards
        0 [PCH        ]: HDA-Intel  -  HDA Intel PCH
                         HDA Intel PCH AT 0xloquesea irq 41
But alsamixer would say:
Code:
semoi@server:~/Desktop$ alsamixer
cannot load mixer controls: Invalid argument
semoi@server:~/Desktop$


(c) On the other hand,
Code:
  
root@server:~# alsactl init
Found hardware: "HDA-Intel" "Realtek ALC887-VD" "HDA:10ec0887,1458a002,00100302" "0x1458" "0xa002"
Hardware is initialized using a generic method
/usr/share/alsa/init/default:26: control element not found
/usr/share/alsa/init/default:26: control element not found
/usr/share/alsa/init/default:48: control element not found
root@server:~#
I still don't understand what happens. Do you? Thanks in advance.

Last edited by stf92; 06-06-2014 at 07:16 PM.
 
Old 06-06-2014, 09:47 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Probably a hardware specific issue for which you have not supplied sufficient information to provide further advice.
http://docs.slackware.com/howtos:har...nd-hda-intel?s

Last edited by allend; 06-06-2014 at 09:48 PM.
 
1 members found this post helpful.
Old 06-08-2014, 04:45 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Moved to the Slackware forum as requested by the OP.
 
Old 06-08-2014, 07:43 AM   #4
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by stf92 View Post
(a) I copied /lib/modprobe.d/sounds-modems.conf to /etc/modprobe.d and,
after modifying it, this is its contents:
In my opinion, your approach is way too complicated. I never run any modprobe alias commands, I just enter

Code:
aplay -l
into the terminal and look for the number of my card. I have a USB card that is hw:2,0 so this ~/.asoundrc sets it as the default device:

Code:
#Define the default device via "aplay -l"
pcm.snd_card {
        type hw
        card 2
        device 0
}

#Define the default control
ctl.snd_card {
        type hw
        card 2
        device 0
}

pcm.!default {
    type            plug
    slave.pcm       "snd_card"
}
If it still can't find any mixer controls, you can try adding a virtual one for yourself. Note that it only shows up after you first used the sound card:

Code:
#Define the default device via "aplay -l"
pcm.snd_card {
        type hw
        card 2
        device 0
}

#Define the default control
ctl.snd_card {
        type hw
        card 2
        device 0
}

pcm.!default {
    type            plug
    slave.pcm       "softvol"
}

pcm.softvol {
    type            softvol
    slave {
        pcm         "snd_card"
    }
    control {
        name        "Master"
        card        2
    }
}
 
  


Reply



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
Slackware 14.0: Realtek ALC887-VD -> no sound slacksam Slackware - Installation 17 11-23-2013 01:16 PM
Slackware 14.0: Realtek ALC887-VD -> No Sound MCDewy Slackware - Installation 4 06-29-2013 03:39 PM
How I got Realtek ALC880 to work with ALSA dpant Fedora 5 11-20-2007 02:46 AM
Trouble getting sound to work Fedora 6, Acer5570Z,Realtek, Intel, alsa-driver ajx123 Linux - Laptop and Netbook 8 05-06-2007 10:46 PM
Getting sound (with ALSA) to work with Slackware 10.1 gustavderdrache Linux - Newbie 14 03-28-2005 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration