tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: spkr vs spkr_synth module
On Tue, Dec 13, 2016 at 05:30:55AM +0800, Paul Goyette wrote:
> On Mon, 12 Dec 2016, Martin Husemann wrote:
>
> > On Mon, Dec 12, 2016 at 02:15:12PM +0100, Manuel Bouyer wrote:
> > > Sure, we need to decide what happens when both drivers are present.
> > > Also, how does one choose to which audio adapter is spkr_synth attached ?
> >
> > And where to document how to disable this anyoing feature ;-)
>
> Which feature?
>
> The behavior with both drivers built-in doesn't really affect anyone, since
> the default kernels for i386 and amd64 contain only the "old" spkr driver;
> spkr_synth is commented out, and needs to be explicitly enabled in the
> kernel configuration. A simple comment in the GENERIC file can take care of
> the "pick one or the other" requirement.
>
> Also, that comment could easily be expanded to "if you select the spkr_synth
> driver, make sure you select the correct audio? device as parent".
>
> For those architectures on which spkr_synth is enabled by default (most
> others), the device is explicitly attached at audio0.
I feel that this should be more flexible. Maybe each audio device should
have its spkr_synth (in addition to the pcppi one where is exists);
then we just need a way to configure which one to use in wscons.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index