Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: noreply@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0000337]: "alsactl restore" always fails
Date: Tue, 22 Jun 2004 21:35:22 +0200	[thread overview]
Message-ID: <55852ab7908ad15eedde30d345e41ddf@bugtrack.alsa-project.org> (raw)


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000337
======================================================================
Reported By:                kuulasma
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Bug ID:                     337
Category:                   PCI - nm256
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Debian sarge
Kernel Version:             Linux 2.6.6-1-686
======================================================================
Date Submitted:             06-16-2004 22:04 CEST
Last Modified:              06-22-2004 21:35 CEST
======================================================================
Summary:                    "alsactl restore" always fails
Description: 
Dell Latitude CPt with an NM256ZX fails always to restore previously saved
state. Command "alsactl store" succesfully stores current state but
"alsactl restore" always fails to restore previous state. The OSS driver
works fine.

Example:
----------------------------------------------------------
# alsactl restore
alsactl: set_control:966: Cannot write control '2:0:0:CD Playback
Switch:0' : Invalid argument
----------------------------------------------------------
======================================================================

----------------------------------------------------------------------
 tiwai - 06-22-2004 18:51 CEST 
----------------------------------------------------------------------
Can you toggle CD mute on alsamixer, or like 'amixer set CD mute'?

----------------------------------------------------------------------
 kuulasma - 06-22-2004 21:35 CEST 
----------------------------------------------------------------------
I tried to toggle CD mute but new setting are not stored. If I try to mute
CD or change volyme, new settings are ignored. alsamixer doesn't save CD
volyme and mute state. Other controls work just like I expect them to
work. Once I open alsamixer CD settings are as follows: volyme 100 and
unmuted.

If I edit /var/lib/alsa/asound.state file manually and remove sections
control.14 and control.15, I can issue command 'alsactl restore'
succesfully (without error message). But once I store settings ('alsactl
store'), illegal control.14 and control.15 are stored in asound.state
file. 

Just in case you need following information:

# lsmod | grep snd
snd_nm256              69188  1 
snd_ac97_codec         65188  1 snd_nm256
snd_pcm_oss            54436  0 
snd_mixer_oss          20096  2 snd_pcm_oss
snd_pcm                98148  2 snd_nm256,snd_pcm_oss
snd_page_alloc         11460  1 snd_pcm
snd_timer              25380  1 snd_pcm
snd                    54692  6
snd_nm256,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10336  2 snd

Bug History
Date Modified  Username       Field                    Change              
======================================================================
06-16-04 22:04 kuulasma       New Bug                                      
06-16-04 22:04 kuulasma       Distribution              => Debian sarge    
06-16-04 22:04 kuulasma       Kernel Version            => Linux 2.6.6-1-686
06-17-04 14:12 kuulasma       Bug Monitored: kuulasma                      
06-22-04 18:51 tiwai          Bugnote Added: 0001333                       
06-22-04 21:35 kuulasma       Bugnote Added: 0001334                       
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

             reply	other threads:[~2004-06-22 19:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22 19:35 noreply [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-24 11:40 [ALSA - driver 0000337]: "alsactl restore" always fails bugtrack
2004-07-16 10:02 noreply
2004-07-02  5:12 noreply
2004-06-30 14:29 noreply
2004-06-22 16:51 noreply
2004-06-16 20:04 noreply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55852ab7908ad15eedde30d345e41ddf@bugtrack.alsa-project.org \
    --to=noreply@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox