You are not logged in.

#1 2023-07-05 20:43:49

stevecp
Member
Registered: 2023-07-05
Posts: 7

[SOLVED] Problem with alsa-utils and audio absence

I was going through the installation of Arch Linux and I wanted to check if my sound boxes worked; I therefore opened a yt video and I couldn't hear a thing.
I went through the guidelines here https://wiki.archlinux.org/title/Advanc … chitecture and I installed alsa-utils; I then tried to execute the command:

amixer sset Master unmute

but I got the following error:

ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5181:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5181:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5181:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5704:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1529:(snd_ctl_open_noupdate) Invalid CTL default
amixer: Mixer attach default error: No such file or directory

I'm sorry if there is any lack of details / information about system but I hope I'll be able to answer all questions / provide all information you may need.

If there is something wrong with the format or the place I created this blog, let me know and I will fix it as soon as possible.

Thanks in advance!

PS: System is updated; also trying to read from other blogs in bbs didn't clear my doubts.

Last edited by stevecp (2023-07-06 09:25:57)

Offline

#2 2023-07-05 22:12:36

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [SOLVED] Problem with alsa-utils and audio absence

post output of

aplay -l

Offline

#3 2023-07-06 06:36:21

stevecp
Member
Registered: 2023-07-05
Posts: 7

Re: [SOLVED] Problem with alsa-utils and audio absence

Here's the output:
aplay: device_list:277: no soundcards found...

Also thanks for the quick reply!

Last edited by stevecp (2023-07-06 06:36:55)

Offline

#4 2023-07-06 07:04:24

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [SOLVED] Problem with alsa-utils and audio absence

ok well whats the pc/laptop ? model number ? specs ? need some more info....
does

lspci

list an audio device ?

Offline

#5 2023-07-06 08:10:43

stevecp
Member
Registered: 2023-07-05
Posts: 7

Re: [SOLVED] Problem with alsa-utils and audio absence

It's a laptop, specifically a Lenovo Ideapad Flex 5 14ITL05. I can't find it in Lenovo's store, I can only find it in amazon.it, where I bought it. Here's the link (I couldn't find it in amazon.com): https://www.amazon.it/Lenovo-IdeaPad-No … B0B42WXY1T

This is the output of "lscpi" command:

00:00.0 Host bridge: Intel Corporation Device 9a04 (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Tiger Lake-LP GT2 [UHD Graphics G4] (rev 01)
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:15.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:1c.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #7 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
01:00.0 Non-Volatile memory controller: Shenzhen Unionmemory Information System Ltd. Device 6202 (rev 03)
02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)

And this is the output of " lscpi | grep "audio" ":

00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)

Last edited by stevecp (2023-07-06 08:56:23)

Offline

#6 2023-07-06 08:53:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,111

Re: [SOLVED] Problem with alsa-utils and audio absence

Please use [ code ] [ /code ] tags, see https://bbs.archlinux.org/help.php#bbcode

You may be lacking firmware for your card, check https://wiki.archlinux.org/title/Advanc … A_firmware

Welcome to archlinux forums.

Last edited by Lone_Wolf (2023-07-06 08:53:43)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2023-07-06 08:56:38

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [SOLVED] Problem with alsa-utils and audio absence

since your device is quite new i think you need 'sof-firmware' according to this:
https://wiki.archlinux.org/title/Advanc … A_firmware

EDIT: beaten by lone wolf

Last edited by jonno2002 (2023-07-06 08:57:15)

Offline

#8 2023-07-06 08:57:22

stevecp
Member
Registered: 2023-07-05
Posts: 7

Re: [SOLVED] Problem with alsa-utils and audio absence

Thank you for your suggestion. Now my previous message is easier to read smile

Thanks for the advice, I will take a look at the link.

Offline

#9 2023-07-06 09:18:15

stevecp
Member
Registered: 2023-07-05
Posts: 7

Re: [SOLVED] Problem with alsa-utils and audio absence

I successfully installed sof-firmware package.

Still, after executing the commands:

$ amixer sset Master unmute
$ amixer sset Speaker unmute
$ amixer sset Headphone unmute

I can't hear anything (and the output wasn't an error this time).

I tried running again

 aplay -l 

, here's the output (different from the previous one!):

 **** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Also running

 alsamixer 

showed the channels are open ("00").

Rebooting didn't help.

Let me know if you need more information!

EDIT: Problem solved. I had to tune the settings in alsamixer (sorry for posting too quickly without reading). Thanks a lot for your help!

Last edited by stevecp (2023-07-06 09:23:19)

Offline

Board footer

Powered by FluxBB