On Mon, 06 Nov 2000, David Woodhouse wrote: > [EMAIL PROTECTED] said: > > So set them on startup. NOT when the driver is first loaded. Put it > > in the rc.d scripts. > > No. You should initialise the hardware completely when the driver is > reloaded. Although the expected case is that the levels just happen to be > the same as the last time the module was loaded, you can't know that the > machine hasn't been suspended and resumed since then. If suspend/resume changes the settings of the card, you need to deal with that as a separate issue - otherwise resume isn't restoring things properly. Perhaps you need to prevent module unloading. Just restoring the correct settings when the driver is loaded is definitely too late. > [EMAIL PROTECTED] said: > > No need. Let userspace save it somewhere, if that's needed. > > Don't troll, James. Reread the thread and see why doing it in userspace is > too late. Why is it too late? There is no need for the driver to set *any* volume levels on load. When told to load the driver, just LOAD the DRIVER. Don't reset the card, or make ANY changes. James. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Persistent module storage [was Linux 2.4 Status /... Jamie Lokier
- Re: Persistent module storage [was Linux 2.4 Status /... David Woodhouse
- Re: Persistent module storage [was Linux 2.4 Status /... Tim Riker
- Re: Persistent module storage [was Linux 2.4 Status /... Alan Cox
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... Horst von Brand
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... Horst von Brand
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... David Woodhouse
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... Paul Jakma
- Re: Persistent module storage [was Linux 2.4 Status /... Horst von Brand
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... Gerhard Mack
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... Gerhard Mack
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... Gerhard Mack
- Re: Persistent module storage [was Linux 2.4 Status /... James A . Sutherland
- Re: Persistent module storage [was Linux 2.4 Status /... Horst von Brand

