[alsa-devel] [PATCHES] Integrate minimal systemd support in alsa-utils

Lennart Poettering mznyfn at 0pointer.de
Tue Nov 23 03:16:58 CET 2010


Up to this point most distributions have been using different init
scripts/udev rules files to save/restore mixer settings at
boot/hotplug/shutdown. Please see my two attached patches for alsa-utils
which add standardized, simplified support for this.

The first patch is stolen from Debian/Ubuntu, which moves asound.state
to /var/lib, which is a more appropriate place, since /etc might be

The second patch includes a minimal udev rule (executed synchronously,
enabled on all systems, regardless of systemd is used or not) and two
systemd service files (executed asynchronously at boot/shutdown, only
enabled if built with systemd support).

Given that most big distributions are moving to adopt systemd sooner or
later it would be great to have support for this in the upstream package
to avoid further balkanization how things are done here.


Lennart Poettering - Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-asound.state-location-to-var-lib-alsa.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20101123/f225c116/attachment.bin 

More information about the Alsa-devel mailing list