Skip to main content
Topic: Issues with ALSA (Read 699 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Issues with ALSA

Firstly, I'm just going to say that I'm on Parabola GNU/Linux-Libre, using OpenRC. I'm on the Artix forums because of the similarity and more active community.
Secondly, yes, my sound card is compatible with Linux-Libre according to h-node
Okay, so basically, on a fresh Parabola install I can't get any sound. I'll attach the output of various relevant commands.
I have read some ALSA documentation, on the arch wiki (and some stuff from other forum posts), and while some of it goes over my head, I have tried these steps to remedy my issue.

$ cat /etc/asound.conf
defaults.pcm.card 29
defaults.ctl.card 29

and

$ cat /etc/modprobe.d/50-alsa.conf
options snd-hda-intel index=1,0

In both cases I had newly created the file.

Something I've found strange is that no matter what, I cannot use alsamixer to change anything. My only device available through it is 'Console' which is unmuted. But it seems like all keys are unresponsive on that program apart from the function and ESC keys.
If I've forgotten any info, let me know.
Thanks in advance





Re: Issues with ALSA

Reply #2
Hello and welcome,

Do you have other active sound servers?

Personally, to get rid of pulseaudio, I did this:
https://forum.artixlinux.org/index.php/topic,3118.msg20310.html#msg20310

The link, for me at least, just brings me to the main Artix forums page.
I dont have any other active sound servers though, the only thing related to pulseaudio I have installed is libpulse.
I was reading through the Gentoo wiki page on ALSA, and it occured to me that I had forgotten to even add alsasound to boot runlevel and start it, I did that, but nothing has even changed.

Re: Issues with ALSA

Reply #3
Took screenshots of that page so you could read it


Also, on a side note, when alsa locks up I get her unfrozen by singing moana themed songs....that gets her blood hot.
Cat Herders of Linux

 

Re: Issues with ALSA

Reply #4
Just a note, this form of the command:
should be avoided. If you are using -y, always use -u as well (without -w also):
Code: [Select]
pacman -Syu qastools
because -y without the -u risks partial upgrades.

@OP: Try Artix. :P

Re: Issues with ALSA

Reply #5
The link, for me at least, just brings me to the main Artix forums page.

I dont have any other active sound servers though, the only thing related to pulseaudio I have installed is libpulse.
I was reading through the Gentoo wiki page on ALSA, and it occured to me that I had forgotten to even add alsasound to boot runlevel and start it, I did that, but nothing has even changed.
The link works for me...
I copy you below the text in question with the solution that worked for me (Artix OpenRC) :
Quote
I removed the pulseaudio packages except one: libpulse.

I installed qastools which offers a nice and very practical mixer :
Code: [Sélectionner]

sudo pacman -Sy qastools
sudo pacman -Syu qastools

Then I listed my audio cards:
cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfce60000 irq 96
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfc900000 irq 98

I created/modified  /etc/asound.conf

And added this to select card1:
defaults.pcm.card 1
defaults.ctl.card 1

Restart system

-------

I found how to work around the problem so that my usb sound card is not in position 0 in / proc / asound / cards

I want my two HDA-Intel cards to always be in position 0 and 1 and my USB-Audio card in position 2

To see the names of the loaded modules:
$ cat / proc / asound / modules
  0 snd_hda_intel
  1 snd_hda_intel
  2 snd_usb_audio

To set snd_usb_audio position 2 in all cases:
Code: [Sélectionner]

sudo nano /etc/modprobe.d/alsa-base.conf

I put this in there:
options snd_usb_audio index = 2

*******

To see the cards and their numbers:
$ cat / proc / asound / cards
  0 [HDMI]: HDA-Intel - HDA ATI HDMI
                       HDA ATI HDMI at 0xfce60000 irq 96
  1 [Generic]: HDA-Intel - HD-Audio Generic
                       HD-Audio Generic at 0xfc900000 irq 98
  2 [Camera]: USB-Audio - USB 2.0 Camera

The link, for me at least, just brings me to the main Artix forums page.
I dont have any other active sound servers though, the only thing related to pulseaudio I have installed is libpulse.
I was reading through the Gentoo wiki page on ALSA, and it occured to me that I had forgotten to even add alsasound to boot runlevel and start it, I did that, but nothing has even changed.
Experts will probably be able to tell you more...