* alsa-state: pkg_postinst fails
@ 2021-05-08 13:11 Daniel Gomez
0 siblings, 0 replies; only message in thread
From: Daniel Gomez @ 2021-05-08 13:11 UTC (permalink / raw)
To: openembedded-core
Hi,
When upgrading our system, alsa-state package fails (exit code 99) due
to the following:
root@qt5222:~# /usr/sbin/alsactl -g -f /var/lib/alsa/asound.state restore
No state is present for card Generic
Found hardware: "HDA-Intel" "ATI R6xx HDMI"
"HDA:1002aa01,00aa0100,00100700" "0x1002" "0x15de"
Hardware is initialized using a generic method
No state is present for card Generic
root@qt5222:~# echo $?
99
Adding -I (don't initialize even if restore fails) to the script
solves/workarounds the problem:
/usr/sbin/alsactl -g -I -f /var/lib/alsa/asound.state restore
I was wondering if that's the proper solution or I'm actually missing
some configuration to make alsactl restore command to work properly.
System logs, when booting also shows the same issue:
May 07 10:07:47 qt5222 systemd-udevd[202]: controlC0: Process
'/usr/sbin/alsactl restore 0' failed with exit code 99.
Hardware info:
root@qt5222:~# journalctl -b | grep alsa
May 07 10:07:47 qt5222 systemd-udevd[202]: controlC0: Process
'/usr/sbin/alsactl restore 0' failed with exit code 99.
root@qt5222:~# lspci -knn | grep -iA2 audio
05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]
Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI]
Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
--
05:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc.
[AMD] Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2]
Subsystem: Advanced Micro Devices, Inc. [AMD]
Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2]
06:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH
SATA Controller [AHCI mode] [1022:7901] (rev 61)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA
Controller [AHCI mode] [1022:7901]
root@qt5222:~# cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd04c0000 irq 69
Any hint? Or should I just add -I option?
Thanks in advance!
Daniel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-08 13:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 13:11 alsa-state: pkg_postinst fails Daniel Gomez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.