FS#21297 - [alsa-utils] cannot open asound.state on first start of rc.d script

Attached to Project: Arch Linux
Opened by Alex (r71) - Monday, 18 October 2010, 08:51 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 21 February 2011, 18:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: On first start of /etc/rc.d/alsa it writes here this:

--------
root@r7:~# /etc/rc.d/alsa start
:: Restoring ALSA Levels [BUSY] /usr/sbin/alsactl: load_state:1571: Cannot open /etc/asound.state for reading: No such file or directory
Unknown hardware: "HDA-Intel" "Analog Devices AD1988" "HDA:11d41988,104381e1,00100400" "0x1043" "0x81ec"
Hardware is initialized using a guess method
--------

The way to solve here was to first run "/etc/rc.d/alsa stop" - it creates that asound.state file, and then "/etc/rc.d/alsa start" works okay.

This behavior can be quite confusing if you just added alsa to DAEMONS in /etc/rc.conf and expected it to just work. And it will not until you do that actions above to fix it.

Additional info:
* package version(s)
alsa-utils 1.0.23-2

Steps to reproduce:
After first install of alsa-utils run:

/etc/rc.d/alsa start
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 21 February 2011, 18:04 GMT
Reason for closing:  Implemented
Additional comments about closing:  1.0.24.2
Comment by Daniel Mills (e36freak) - Wednesday, 05 January 2011, 20:03 GMT
I actually submitted a rewrite of the entire script, but here it is with a workaround for this issue added as well.
   alsa (1.3 KiB)

Loading...