[BLFS Trac] #1953: ALSA volume restoration script can be simplified a lot

BLFS Trac trac at linuxfromscratch.org
Mon May 1 19:45:32 PDT 2006

#1953: ALSA volume restoration script can be simplified a lot
 Reporter:  alexander at linuxfromscratch.org  |       Owner:  blfs-book at linuxfromscratch.org
     Type:  task                            |      Status:  new                           
 Priority:  normal                          |   Milestone:  6.2                           
Component:  BOOK                            |     Version:  SVN                           
 Severity:  normal                          |    Keywords:                                
 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

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

 The same is true for ALSA firmware loading.

Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1953>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch

More information about the blfs-book mailing list