[Pkg-alsa-devel] Bug#618806: Bug#618806: drop depends on udev

Elimar Riesebieter riesebie at lxtec.de
Mon Mar 21 18:34:50 UTC 2011


* Karl Hammar [110320 22:08 +0100]:
> Elimar:
> > tags 618806 wontfix
> > thanks
> > * Karl Hammar [110319 16:08 +0100]:
> > > Elimar:
> > > > * Karl Hammar [110318 17:00 +0100]:
> > > > > Package: alsa-utils
> > > > > Version: 1.0.16-2
> > > > > Severity: important
> > > > > Tags: squeeze sid
[...]
> This is not a bug report about v.1.0.16. It is a bug report about later
> version.

Your bug is filed against Version: 1.0.16-2

> Your "wontfix" decision is based on false data, please remove the
> "wontfix".



> To tell you the truth, I happened to upgrade alsa-utils to the
> squeeze version and my system broke due to udev, 

So why the bug against alsa-utils and not udev?

> so I could not file a bug report with that version. So this seems like a
> moment 22 situation.

> But ok, let's look at the source.
> 
>   $ apt-get source alsa-utils
>   $ cd alsa-utils-1.0.23
>   $ find . -type f | xargs grep udev  
>   ./debian/changelog:  * Added udev to Depends: (closes: #539983).
> ...
>   ./debian/changelog:      + Don't "alsactl restore" if udev is active.
>   ./debian/changelog.ALSA:    -alsactl: Allow card specification by device name (support for udev)
>   ./debian/udev.script:# udev script for alsa-utils
>   ./debian/udev.script:   . /lib/udev/hotplug.functions
>   ./debian/NEWS:  unnecessary for a very long time, with the introduction of udev
>   ./debian/control: lsb-base (>= 3.0-9), linux-sound-base (>= 1.0.15-1), udev
>   ./debian/control:Conflicts: udev (<< 0.060), alsa-base (<< 1.0.9b-3)
>   ./debian/init:# Required-Start:    $remote_fs udev
>   ./debian/postrm:        # Remove udev configfile
>   ./debian/postrm:        rm -f /lib/udev/rules.d/80-alsa.rules
>   ./debian/preinst:       # Remove udev rules symlink and alsa-utils.rules since it is stored as
>   ./debian/preinst:       # /lib/udev/rules.d/80-alsa.rules
>   ./debian/preinst:       L="/etc/udev/rules.d/z60_alsa-utils.rules"
>   ./debian/preinst:       rm_conffile /etc/udev/alsa-utils.rules
>   ./debian/udev.rules:KERNEL=="controlC[0-7]", ACTION=="add", RUN+="/lib/udev/alsa-utils"
>   ./debian/rules: install $(INSTALL_UAG) -m644 debian/udev.rules \
>   ./debian/rules:         debian/alsa-utils/lib/udev/rules.d/80-alsa.rules
>   ./debian/rules: install $(INSTALL_UAG) -m755 debian/udev.script \
>   ./debian/rules:         debian/alsa-utils/lib/udev/alsa-utils
>   ./debian/dirs:lib/udev/rules.d
>   ./debian/dirs:lib/udev
>   ./debian/README.Debian:For modular drivers on a udev system, the /lib/alsa/udev script runs
>   $
> 
> >From the above we see that there is nothing in the upstream source
> nor any debian patch (./debian/patches) that has any relationship to
> udev. Which means that the binaries in alsa-utils don't need udev and
> will run just fine without it.

From above you can see that we are using a udev rule which runs
/lib/udev/alsa-utils.

And please check
http://www.alsa-project.org/main/index.php/Changes_v1.0.23_v1.0.24 were udev is
used to make the initialation of the big amount of existing sound devices much
more easier. We will definitively append on udev in the future but maybe resign
/etc/init.d/alsa-utils in the advantage of the new udev hook up and the
configure option "--with-udev-rules-dir".

I can't help you to set up udev in your system. This should be done by your
self with the help of the Debian community.

Elimar

-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20110321/fdc4af67/attachment.pgp>


More information about the Pkg-alsa-devel mailing list