Bug 104441 - media-sound/alsa-utils: init script should save/restore the 'oss' file
|
Bug#:
104441
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: alsa-bugs@gentoo.org
|
Reported By: vapier@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: media-sound/alsa-utils: init script should save/restore the 'oss' file
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-08-31 19:21 0000
|
the alsa init script should save and restore the oss files:
/proc/asound/*/pcm??/oss
that way people dont have to keep doing this everytime they reboot:
echo quake3.x86 0 0 direct > /proc/asound/card0/pcm0p/oss
Maybe it could be done in alsa init script in the meantime, you can
always use your /etc/conf.d/local.start script.
i already am, but that doesnt exactly help general users
Mike do you have an idea how to achieve this? If not, I'll see to take a look
next week.
start():
iterate over the /proc/asound/*/pcm??/oss files and cat them into a local cache
stop():
iterate over the files in the cache and cat them into the /proc oss files
AAAAAAND finally it's fixed. I've added support for saving and restoring the
oss files, together with the move of asound.state in /var/lib/alsa, where
there's space to save the oss files.
Sorry if it took a helluva lot of time.