[Pkg-alsa-devel] Bug#844501: Bug#844501: alsa-firmware-loaders: udev rule causes race condition which blocks us-122 initialisation (with fix!)

Elimar Riesebieter riesebie at lxtec.de
Thu Nov 24 07:22:04 UTC 2016


Control: severity -1 normal

The package isn't unusable for always most users.

* Jaime T <enopatch at gmail.com> [2016-11-16 13:34 +0000]:

> On 16 November 2016 at 10:50, jaimet <enopatch at gmail.com> wrote:
> > My udev-fu is very weak, but after stumbling around with "udevadm
> > monitor" for a bit, I replaced that udev rule line with:
> >
> > SUBSYSTEM=="sound", ACTION=="add", KERNEL=="hwC2D0", RUN+="/lib/udev/tascam_fpga"
> 
> It now appears that my udev-fu is even weaker than I thought: "hwC2D0"
> is obviously an "arbitrary-card-ordering-dependent" reference which
> breaks if my sound cards are discovered in a different order. A much
> better alternative (that is *not* order-dependent) is:
> 
> SUBSYSTEM=="sound", ACTION=="add", ATTR{id}=="USX2Y",
> RUN+="/lib/udev/tascam_fpga"
> 
> Apologies for the noise. J :-)

So should we close this bug?

Elimar
-- 
  Experience is something you don't get until
  just after you need it!



More information about the Pkg-alsa-devel mailing list