Summary: | media-sound/alsa-utils: init script should save/restore the 'oss' file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | Current packages | Assignee: | Gentoo ALSA team <alsa-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | wolf31o2 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
SpanKY
2005-08-31 19:21:16 UTC
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. |