On Thursday 28 January 2010 21:42:12 Michal Suchanek wrote: > Hello > > I use OSS4 on Linux with some onboard hda_intel codec. > > Whenever the modules fail to load (typically due to incompatibility > with a new kernel) the OSS scripts clear the sound settings.
sound settings are loaded and saved via the 'savemixer' userland utility, which is ran automatically and OSS start and stop by the 'soundon' and 'soundoff' scripts. 'soundoff' is the script running savemixer. If the osscore module is not loaded, than soundoff should have aborted before running savemixer... This shouldn't happen. Which version of OSS are you using? > > This is very annoying since the default sound level is too loud (which > is obviously relative to the other equipment used with the soundcard). If you're using hdaudio and a recent version of OSS, setting mixer_muted=1 in /usr/lib/oss/conf/osscore.conf might help here too. > > The other issue is that due to a driver bug a mute control has to be > frobbed to stop the soundcard from replaying some noise from the PC > internals (it changes as the disk works for example). What's your card and driver? > > Would it be possible to leave the settings for cards that are not > present intact? This would probably help things like USB soundcards, > too. This is doable. savemixer would have to parse mixer.save before/while saving the current setting, and keep entries where the handle doesn't exist on loaded system. Yours, Yair K. _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel