Trouble shooting ALSA

Share your own howto's etc. Not for support questions!
Posts: 119
Joined: 2008-11-08 19:49

Re: Trouble shooting ALSA

#21 Post by konfiguros »

that worked for me too, thx

Posts: 84
Joined: 2013-02-07 19:08

Re: Trouble shooting ALSA

#22 Post by patrick013 »

Debian User Forums • View topic - alsaplayer has no stream

The terminal says all modules are loaded but no joy.

Something to do with the playlist or stream file sent and the
characters within it ?

I've had alsaplayer work in the past but not today.

Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: Trouble shooting ALSA

#23 Post by greg9 »


Section (1) Find out if you are already a member of the audio and video groups, execute as local user. also run the groups command to check if adding has landed.

Code: Select all

Section (12) has
options snd-hda-intel model=YOUR_MODEL
with a good command to find codec chip name. Alas codec chip names can be misleading IMHO. So company name like Realtek may be result but it using the intel sound modules.

I suggest it does not hurt, for members to post as a local user result of

Code: Select all

inxi -Axxx
which can be installed, if missing from free section of repo. Members need to be aware that the order of sound devices may differ from aplay -l as inxi looks at original order.


Code: Select all

inxi -Axxx
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel 
           bus ID: 26:00.1 chip ID: 1002:15de class ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel 
           bus ID: 26:00.6 chip ID: 1022:15e3 class ID: 0403 
           Sound Server: ALSA v: k5.10.0-8-amd64 
and I think members might like this link, which has further links at the top, but concens info on model=your-model stuff ... index.html

your link below is stale

(2) Most members, using laptops or onboard sound to speakers, 3.5 mm headphones and the like probably are like me and have HDMI as first sound device. In alsa that is called index=0 as alsa counts from zero not one.

So although I am risking adding a tip, I would suggest members consider swapping sound devices to get analog if that is what they want by adding a file with root powers called, ( it can be called anything.conf)
/etc/modprobe.d/index.conf. And assuming you have 2 intel devices example would be
options snd_hda_intel index=1
(3) Due to that, and I know craigevil has already mentioned the, but it does not hurt members asking for help to mention in addition to their other comments:

-Are they using a $HOME/.asoundrc
-Are they using an /etc/asoundrc
-Are they using a grub config to set sound or blacklist etc
-Are they using a /etc/modprobe.d file (and reveal its contents)
----examples might include blacklist modulename, index=model, or some other setting

Post Reply