Artix Linux Forum

Init systems => OpenRC => Topic started by: theeast on 23 November 2022, 15:36:46

Title: amixer: Unable to find simple control 'Master',0
Post by: theeast on 23 November 2022, 15:36:46
I've just installed ArtixLinux base on my MSI Alpha 17 B5EEK and everything works fine except the audio. For some reason, Amixer won't show Master control and I don't have any sound. I have installed alsa-lib alsa-topology-conf alsa-ucm-conf alsa-utils. Here is Amixer's output
Code: [Select]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Here is aplay -l output
Code: [Select]
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC233 Analog [ALC233 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Picture posted is my alsamixer
Thank you for your help!
Title: Re: amixer: Unable to find simple control 'Master',0
Post by: tintin on 24 November 2022, 05:31:06
Hello,

Have you tried setting the sound card to use?

I think you know the procedure, but I list below my modest notes which could possibly be useful to other readers of this forum :

**********

To list sound cards:

Code: [Select]
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


Then to define card 1:
Code: [Select]
your_text_editor ~/.asoundrc

or
Code: [Select]
nano ~/.asoundrc


And in my case, I specified this:
Code: [Select]
defaults.pcm.card 1
defaults.ctl.card 1


*********

I had similar issues with pulseaudio.

It's been two years since I removed all pulse packages except libpulse and libcanberra.

I use alsa and the nice and very practical qastools mixer on different pc :
https://forum.artixlinux.org/index.php/topic,4318.msg27848.html#msg27848

Note: I don't play games and don't use wine or steam.
But I have sound in all my apps.
Title: Re: amixer: Unable to find simple control 'Master',0
Post by: theeast on 24 November 2022, 14:18:33
@tintin Creating /etc/asound.conf with similar content resolved my problem despite there still being some weird janky stuff.

Thank you!