Re: Persistent module storage [was Linux 2.4 Status / TODO page]

From: David Woodhouse (dwmw2@infradead.org)
Date: Mon Nov 06 2000 - 10:34:54 EST


jas88@cam.ac.uk said:
> Irrelevant. The current mixer settings don't matter: what matters is
> that the driver does not change them.

It does matter. The sound driver needs to be able to _read_ the current
levels. Almost all mixer programs will start by doing this, to set the
slider to the correct place.

> > The driver needs to reset the card to the desired levels.

> What desired levels? The only desired levels are the current ones,
> which the driver does not and (sometimes) cannot know. Leave well
> alone.

It does not know them. Correct. But with persistent module storage, it
_could_ know them. It cannot know them the _first_ time the module is
loaded after booting. That's fine. On subsequent loads, it can and
should DTRT.

--
dwmw2

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



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:19 EST