All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Cushman <rcushman_linux@earthlink.net>
To: alsa-devel@alsa-project.org
Subject: Inexplicable mixer control creation
Date: Tue, 13 Mar 2007 20:21:08 -0400	[thread overview]
Message-ID: <45F73FF4.1000902@earthlink.net> (raw)
In-Reply-To: <s5hodmyr6j9.wl%tiwai@suse.de>

In attempting to implement my proposed mixer control name changes (see 
"[Alsa-devel] RFC: Enhance AD AC '97 mixer control names") I have 
encountered behavior that makes no sense to me:  If module 
snd_ac97_codec does not create a control with the name 'PCM Playback 
Volume' then something else creates a control with that name.  Not 
surprisingly, this phantom control serves no useful purpose in my 
environment, as it has no affect on AC '97 control registers.

Configuration details:  Using Fedora Core 5 kernel 2.6.18-1.2239.fc5 
(i686) with the latest ALSA-driver source from Mercurial.

Details:
- I have ruled out the possibility that module snd_ac97_codec or 
snd_intel8x0 could be creating the control, because the following steps 
cause the control to disappear:
# modprobe -r snd_intel8x0
# modprobe -r snd_ac97_codec
# modprobe snd_ac97_codec
# modprobe snd_intel8x0
- I have also ruled out (using calls to printk) the possibility of the 
control being created via calls to snd_ac97_cnew(), 
snd_ac97_cmute_new_stereo() or snd_ac97_cvol_new().
- The phantom control appears after booting to runlevel 3 or 5.
- If removed using the above modprobe commands, the phantom control will 
appear after logging into a KDE session.
- If removed using the above modprobe commands, the phantom control does 
not appear after logging into a Gnome session.

Any suggestions for how I might track down the source of this phantom 
control would be welcome.

Randy Cushman



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  reply	other threads:[~2007-03-14  0:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-09 15:53 RFC: Enhance AD AC '97 mixer control names Randy Cushman
2007-03-12 12:27 ` Takashi Iwai
2007-03-14  0:21   ` Randy Cushman [this message]
2007-03-16 15:27     ` Inexplicable mixer control creation Takashi Iwai
2007-03-16 17:45       ` Randy Cushman

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=45F73FF4.1000902@earthlink.net \
    --to=rcushman_linux@earthlink.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.