Re: [PATCH 2/2] sound: make OSS device number claiming optional

From: Alan Cox
Date: Wed Aug 05 2009 - 07:15:27 EST


> Not really :) The soundcore is only for OSS device files. As long as
> you use only ALSA-native APIs, you don't need it. But, currently it's
> loaded and initialized just because of the module dependency. This is
> no bug but also not an intended feature.

Sure for the ALSA device node it makes sense because ALSA is the mux for
it. Fortunately soundcore is tiny anyway.

> > This makes it worse.
>
> Well, the only regression would be the case where you create static
> /dev/dsp (or else) devices and let auto-loading through sound-slot-*
> or sound-service-*-* aliases. Of course, this still works if you
> load soundcore in some way.

Unless some ugly cuse hack got there first.

> What I suggested in the above is to cut off an unneeded dependency
> between soundcore and ALSA-native stuff instead of hacking soundcore.
> It won't change anything else, so everything else can coexist as
> before.

Agreed - but that is really a separate issue to having something break
the soundcore by being rude.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/