Specifying the order of sound devices
Derek Broughton
news at pointerstop.ca
Mon Apr 10 19:24:47 BST 2006
Scott James Remnant wrote:
> It does seem to make sense, though; given the problem:
>
> * two drivers, fullmac and softmac.
> * no way to tell from general device information which to use.
> * softmac supports all devices.
> * fullmac is preferred for those it can support.
> * fullmac fails to bind to those it can't support.
>
> That automatically suggests to me the following pseudo-code:
>
> if (fullmac_bind (device) < 0)
> softmac_bind (device);
>
> As we can't tell the result of a driver's binding attempt from
> user-space, it would appear to be necessary for this to be done in the
> kernel.
Please forgive a completely uninformed interjection here, but wouldn't that
be simple to do in the softmac driver itself - make the softmac driver the
default, and have it attempt to bind the fullmac driver?
--
derek
More information about the sounder
mailing list