From: "Ivan N. Zlatev" <contact@i-nz.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Strange findings about the microphone in SigmaTel STAC9221 A1
Date: Tue, 15 May 2007 15:41:40 +0100 [thread overview]
Message-ID: <3db1ec7f0705150741k72427556y6b91d9ab13cba5c5@mail.gmail.com> (raw)
In-Reply-To: <s5hps52gtmx.wl%tiwai@suse.de>
On 5/15/07, Takashi Iwai <tiwai@suse.de> wrote:
> If this is 100% reproducible, you'll see likely a difference in
> /proc/asound/card0/codec#* file between working and non-working
> states. Could you attach codec files in both states?
>
I have to do 4 things to enable the microphone (a built-in one) as
follows (with diffs of codec between steps)
1) Turn on capture and mux on and set them on max
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
- Amp-Out vals: [0x00 0x00]
+ Amp-Out vals: [0x04 0x04]
Connection: 7
0x0e* 0x15 0x0f 0x0b 0x0c 0x0d 0x0a
Node 0x17 [Audio Selector] wcaps 0x300903: Stereo Amp-In
Amp-In caps: N/A
- Amp-In vals: [0x80 0x80]
+ Amp-In vals: [0x0e 0x0e]
Connection: 1
0x12
2) Switch from Mic to Front Mic - no changes
3) Switch from Front Mic back to Mic
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
Amp-Out vals: [0x04 0x04]
Connection: 7
- 0x0e* 0x15 0x0f 0x0b 0x0c 0x0d 0x0a
+ 0x0e 0x15 0x0f 0x0b* 0x0c 0x0d 0x0a
4) Put Capture on minimum and the mic will start recording with dodgy quality.
Node 0x17 [Audio Selector] wcaps 0x300903: Stereo Amp-In
Amp-In caps: N/A
- Amp-In vals: [0x0e 0x0e]
+ Amp-In vals: [0x00 0x00]
On 5/15/07, Takashi Iwai <tiwai@suse.de> wrote:
> The quality problem is perhaps because of the wrong pin setting.
> It's set in Hi-Z without vref. But it's a bit strange because
> stac92xx_get_vref() should return the proper vref value. Could you
> check whether this really gets called and which value is returned,
> e.g. by adding printk() there?
It doesn't get called according to my tests.
I've also tested with Alsa HG, but I can no longer make the mic work
with the steps descrived, not to mention that with imac-intel model I
get no sound.
Regards.
--
Ivan N. Zlatev
Web: http://www.i-nZ.net
"It's all some kind of whacked out conspiracy."
next prev parent reply other threads:[~2007-05-15 14:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-11 9:48 Strange findings about the microphone in SigmaTel STAC9221 A1 Ivan N. Zlatev
2007-05-15 12:26 ` Takashi Iwai
2007-05-15 14:41 ` Ivan N. Zlatev [this message]
2007-05-15 15:06 ` Takashi Iwai
2007-05-15 17:11 ` Ivan N. Zlatev
2007-05-15 17:23 ` Ivan N. Zlatev
2007-05-18 17:12 ` Takashi Iwai
2007-05-19 20:28 ` Ivan N. Zlatev
2007-05-19 21:23 ` Ivan N. Zlatev
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=3db1ec7f0705150741k72427556y6b91d9ab13cba5c5@mail.gmail.com \
--to=contact@i-nz.net \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).