[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697867: unblock: alsa-utils/1.0.25-4



On Mon, Jan 21, 2013 at 21:15:54 +0100, Cyril Brulebois wrote:

> Julien Cristau <jcristau@debian.org> (12/01/2013):
> > OK as far as I'm concerned, but needs a d-i ack.
> 
> * Drop debian/udev.{rules,script} entirely and just rely on upstream's
>   simpler udev rule file. Our rules were wrong or pointless.
> 
> If you have more intel on the impacts of that change, you've got all
> my attention. Either way, I guess we want that into rc1 to spot any
> regressions coming from alsa-utils, so ACK.
> 
1.0.25-3 does not install an udev rule.

squeeze has
KERNEL=="controlC[0-7]", ACTION=="add", RUN+="/lib/udev/alsa-utils"

with /lib/udev/alsa-utils being:
#!/bin/sh -e
#
# udev script for alsa-utils

(
        . /lib/udev/hotplug.functions
        wait_for_file /usr/sbin/alsactl
        DEV_BASENAME="${DEVNAME##*/}"
        N="${DEV_BASENAME#controlC}"
        exec /etc/init.d/alsa-utils start $N
) &

1.0.25-4 does:
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS=="card*", \
        TEST=="/usr/sbin/alsactl", RUN+="/usr/sbin/alsactl restore $attr{number}

Compared to current wheezy, that means hw that shows up after
/etc/init.d/alsa-utils is run gets correctly restored.  Compared to
squeeze it probably doesn't make a difference.

Added the unblock-udeb, thanks.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: