Opened 18 years ago

Closed 18 years ago

#1953 closed task (fixed)

ALSA volume restoration script can be simplified a lot

Reported by: alexander@… Owned by: bdubbs@…
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Now the udev_retry bootscript is in the LFS book, and thus there is no need for the ALSA udev script to wait for /usr to appear. Instead, it should fail (i.e., exit with non-zero status) if it cannot restore the volume due to missing /usr. The udev_retry bootscript will call all failed scripts again after mounting /usr. So, this simplifies volume restoration to just one line:

ACTION=="add", KERNEL=="controlC[0-9]*", RUN+="/usr/sbin/alsactl restore %n"

plus rules for naming and permissions (partially in LFS).

The same is true for ALSA firmware loading.

Change History (2)

comment:1 by bdubbs@…, 18 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:2 by bdubbs@…, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 6013.

Note: See TracTickets for help on using tickets.