<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>104441</bug_id>
          
          <creation_ts>2005-08-31 19:21 0000</creation_ts>
          <short_desc>media-sound/alsa-utils: init script should save/restore the &apos;oss&apos; file</short_desc>
          <delta_ts>2007-02-18 02:09:05 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vapier@gentoo.org</reporter>
          <assigned_to>alsa-bugs@gentoo.org</assigned_to>
          <cc>wolf31o2@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-08-31 19:21:16 0000</bug_when>
            <thetext>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 &gt; /proc/asound/card0/pcm0p/oss</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sulla@hert.org</who>
            <bug_when>2005-09-07 11:53:42 0000</bug_when>
            <thetext>Maybe it could be done in alsa init script in the meantime, you can
always use your /etc/conf.d/local.start script.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-09-07 15:22:22 0000</bug_when>
            <thetext>i already am, but that doesnt exactly help general users</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2005-12-17 03:48:51 0000</bug_when>
            <thetext>Mike do you have an idea how to achieve this? If not, I&apos;ll see to take a look next week.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-12-17 09:35:50 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2007-02-18 02:09:05 0000</bug_when>
            <thetext>AAAAAAND finally it&apos;s fixed. I&apos;ve added support for saving and restoring the oss files, together with the move of asound.state in /var/lib/alsa, where there&apos;s space to save the oss files.

Sorry if it took a helluva lot of time.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>