[Pkg-alsa-devel] Bug#709106: Bug#709106: [alsa-utils] speaker-test, aplay fail cryptically ("unable to open slave")

Filipus Klutiero chealer at gmail.com
Sat May 25 02:12:30 UTC 2013


Hi Elimar,

On 2013-05-24 04:42, Elimar Riesebieter wrote:
> * Filipus Klutiero<chealer at gmail.com>  [2013-05-20 17:19 -0400]:
>
> [...]
>> This desktop has 2 sound cards, an integrated Realtek ALC887 and a
>> Trinity APU with HDMI audio:
>> http://www.alsa-project.org/db/?f=a8309b672edaccacce845e209c12df8a0f79ef13
>> speaker-test works if I invert the order of cards (modprobe
>> snd_hda_intel index=1,0).  The problem could be that speaker-test
>> tries to use the first card and fails to realize it isn't
>> supported.
> You can fix the order of the souncards. Please post the output of
> $ lsmod | grep snd
> and tell us which soundcard you prefer to be them number 0.
> See /usr/share/doc/alsa-base/README.Debian.

Yes, I already permanently worked around the issue by creating an asound.conf which contains "defaults.pcm.card 1" (thanks anyway).

# lsmod | grep snd
snd_hda_codec_realtek    55535  1
snd_hda_codec_hdmi     31479  1
snd_hda_intel          31301  4
snd_hda_codec          88454  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13189  1 snd_hda_codec
snd_seq_midi           12848  0
snd_seq_midi_event     13316  1 snd_seq_midi
snd_pcm_oss            37079  0
snd_mixer_oss          18035  1 snd_pcm_oss
snd_rawmidi            23034  1 snd_seq_midi
snd_pcm                68523  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         13018  2 snd_pcm,snd_hda_intel
snd_seq                45225  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         13176  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              22812  2 snd_pcm,snd_seq
snd                    53077  20 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_mixer_oss
soundcore              13026  1 snd

I don't necessarily have a preference between the cards, but of course as long as the HDMI card is broken or unsupported, I'll want the motherboard's card to be the default.

>
>> Although I booted with radeon.audio=1 and am using
>> Linux 3.8, I didn't manage to get any sound from the HDMI card.
>> The Radeon HD 7660 is based on Northern Islands, but it appears to
>> be a mix of Northern and Southern Islands, and Southern Islands
>> HDMI audio is not yet supported.  This problem existed before I
>> upgraded ALSA.
> This sounds more like a driver problem. You can check at [0] wether
> soundcards are supported or not.

Both audio chips in the PC are not actual sound cards. One is integrated to the motherboard, the other is in the APU.

-- 
Filipus Klutiero
http://www.philippecloutier.com



More information about the Pkg-alsa-devel mailing list