At Mon, 30 Sep 2002 09:55:14 +0200, Duncan Sands wrote: > > On Friday 27 September 2002 19:53, Takashi Iwai wrote: > > except for the check of /proc/asound, the hotplug problem can be > > sorted to the following: > > > > 1. hotplug may be called before alsa init script. > > > > 2. hotplug needs to manage the mixer configuration of plugged / > > unplugged devices dynamically. > > > > 3. alsa initscript itself should be independent from hotplug. > > > > they are not all but certainly a major part of the problems. > > > > > > the first one is not easy, because the network devices can belong to > > hotplug, too. the scenario is like this: > > many alsa files are located under /usr > > -> a networkfs (e.g. NFS) is required before the alsa service > > -> the network must be initialized in prior > > -> the network base = hotplug is needed to run before alsa! > > > > the second problem is also tough. > > alsa driver needs to access the device to get the current mixer > > values, but at the remove callback of hotplug, the device was actually > > unplugged... probably implementing cache would be necessary. > > Another point to keep in mind here, is that a lot of people are now > using journaled filesystems, and may just turn off the computer > without shutting down. You could say that they deserve what they > get, but I'm not so sure. Imagine someone using alsamixer to change > mixer settings. They quit alsamixer then turn off the machine. Are > they wrong to expect the mixer settings to still be there on reboot?
yes. the infromation will be lost. > After all, they "saved the settings" when they left alsamixer didn't they? no, the setting is on memory, thus not saved when you turn the power off. he can run "alsactl store" manually (or write a equivalent wrapper script for alsamixer) instead. but this should not be standard, i think. Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel