<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>4788</bug_id>
          
          <creation_ts>2004-07-14 13:06:40 +0400</creation_ts>
          <short_desc>alsactl restore - код ошибки</short_desc>
          <delta_ts>2006-12-17 23:13:38 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alsa-utils</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>3459</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Farygin">rider</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>mike</cc>
    
    <cc>shrek</cc>
    
    <cc>vsu</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17025</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2004-07-14 13:06:40 +0400</bug_when>
    <thetext>в случае невозможности восстановить значения уровня громкости код возврата
alsactl равен 0, хотя должен от него отличаться (ошибка выполнения).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17030</commentid>
    <comment_count>1</comment_count>
      <attachid>490</attachid>
    <who name="Anton Farygin">rider</who>
    <bug_when>2004-07-14 13:42:14 +0400</bug_when>
    <thetext>Created attachment 490
alsa-utils-1.0.5-err-restore.patch

Патч, исправляющий это для alsa-utils-1.0.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17034</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2004-07-14 14:41:31 +0400</bug_when>
    <thetext>#alsa:

&lt;gvy&gt; halo
--&gt; rider (~rider@altlinux.balabanovo.ru) has joined #alsa
&lt;crimsun_&gt; &apos;lo
&lt;gvy&gt; is there anyone who knows alsa-utils interdependencies relating return codes?
&lt;gvy&gt; there&apos;s a question whether thispatch breaks anything:
&lt;gvy&gt; https://bugzilla.altlinux.org/attachment.cgi?id=490&amp;action=view
&lt;gvy&gt; it&apos;s for alsactl not to return 0 on &quot;No state is present for card %s&quot; error
&lt;gvy&gt; or &quot;whether something relies on this behaviour&quot;
&lt;crimsun_&gt; the err = 0 assignment is there to suppress the message
&lt;crimsun_&gt; let me look more closely
&lt;gvy&gt; thanks for the time
&lt;crimsun_&gt; yeah, it looks like you need to leave err = 0 assignment in there
&lt;gvy&gt; umm... but what relies upon it?
&lt;gvy&gt; rider, can you explain your problem with zero return code? (maybe
different understanding of the case being an error or not)
&lt;rider&gt; gvy: howto detect, saved or no values for card with id to
/etc/asound.state ?
&lt;gvy&gt; errr... how to differ between &quot;we-have-saved-state&quot; and
&quot;no-state-for-this-card&quot;?
&lt;rider&gt; gvy: ugu
&lt;rider&gt; gvy: only for card with id (for example: alsactl restore 0, or alsactl
restore 1... and more)
&lt;crimsun_&gt; I&apos;m not sure why you&apos;d want to remove that line
&lt;crimsun_&gt; according to Takashi&apos;s commit, you have the assignment because you
see a condition where you can&apos;t grab state for the card, so you&apos;ll fall out
regardless.
&lt;crimsun_&gt; if you have more questions, please direct them to alsa-devel
&lt;gvy&gt; crimsun_, to handle situation where no settings are available? (actually
I&apos;m maintaining alsa userspace in ALT Linux, and rider maintains hotplug)
&lt;crimsun_&gt; either Jaroslav or Takashi can clarify the intent of that commit
&lt;gvy&gt; so should we mail them directly or via alsa-devel?
&lt;crimsun_&gt; gvy: where none are available seems to be the case. Use the
alsa-devel list.
&lt;gvy&gt; crimsun_, thanks!
&lt;crimsun_&gt; np

т.е. надо спросить tiwai@ в alsa-devel@...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26112</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2005-06-20 18:37:10 +0400</bug_when>
    <thetext>Спросил ?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26273</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-06-23 13:52:51 +0400</bug_when>
    <thetext>А меня там нет (vsu, а ты есть?).

Проверь 1.0.9, хотя подозреваю, что нифига не трогали.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32199</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-10-19 17:19:30 +0400</bug_when>
    <thetext>надо всё-таки спросить их перед тем, как переворачивать.

Серёж, так ты подписан на alsa-devel@ или нет?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37221</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2006-04-05 13:15:52 +0400</bug_when>
    <thetext>Так прикладывать или нет?  Мож в Daedalus забросить такую сборку и попросить
народ погонять?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37222</commentid>
    <comment_count>7</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2006-04-05 14:19:20 +0400</bug_when>
    <thetext>Забрось. ты мантейнер - тебе решать ;)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37225</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2006-04-05 14:46:56 +0400</bug_when>
    <thetext>Подновил, собирается.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37227</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2006-04-05 14:57:24 +0400</bug_when>
    <thetext>1.0.11-alt0.4.1 уехало в Daedalus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41398</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2006-10-16 21:35:42 +0400</bug_when>
    <thetext>Судя по отсутствию фидбэка -- никому оно уже не нужно... (если неправ,
test&amp;report pls)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>490</attachid>
            <date>2004-07-14 13:42:14 +0400</date>
            <delta_ts>2004-07-14 13:42:14 +0400</delta_ts>
            <desc>alsa-utils-1.0.5-err-restore.patch</desc>
            <filename>alsa-utils-1.0.5-err-restore.patch</filename>
            <type>text/plain</type>
            <size>378</size>
            <attacher name="Anton Farygin">rider</attacher>
            
              <data encoding="base64">ZGlmZiAtdXIgYWxzYS11dGlscy0xLjAuNS5vcmlnL2Fsc2FjdGwvYWxzYWN0bC5jIGFsc2EtdXRp
bHMtMS4wLjUvYWxzYWN0bC9hbHNhY3RsLmMKLS0tIGFsc2EtdXRpbHMtMS4wLjUub3JpZy9hbHNh
Y3RsL2Fsc2FjdGwuYwkyMDAzLTA2LTIwIDIyOjEzOjI4ICswNDAwCisrKyBhbHNhLXV0aWxzLTEu
MC41L2Fsc2FjdGwvYWxzYWN0bC5jCTIwMDQtMDctMTQgMTM6MzQ6NDIgKzA0MDAKQEAgLTEwMDEs
NyArMTAwMSw2IEBACiAJCQkJaWQgPSB0bXBpZDsKIAkJfQogCQlpZiAoZXJyIDwgMCkgewotCQkJ
ZXJyID0gMDsKIAkJCWZwcmludGYoc3RkZXJyLCAiTm8gc3RhdGUgaXMgcHJlc2VudCBmb3IgY2Fy
ZCAlc1xuIiwgaWQpOwogCQkJZ290byBfY2xvc2U7CiAJCX0K
</data>

          </attachment>
      

    </bug>

</bugzilla>