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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151479): 
https://lists.openembedded.org/g/openembedded-core/message/151479
Mute This Topic: https://lists.openembedded.org/mt/82677286/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to