From: Rimas Kudelis <rq@akl.lt>
To: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Cc: alsa-devel@lists.sourceforge.net, Rimas Kudelis <rq@akl.lt>
Subject: Re: Test model
Date: Wed, 22 Feb 2006 08:40:24 +0200 [thread overview]
Message-ID: <43FC0758.6080902@akl.lt> (raw)
In-Reply-To: <200602212320.k1LNKRX7028237@auster.physics.adelaide.edu.au>
Hello,
> Hmm, ok. So for this test we had:
> - MIC1 pin mode set to 50pc / 80pc
> - The mode of the pin we've worked out previously is connected to the
> Line-In jack was set to line-out or headphone (it wouldn't matter which)
> - The "MIC1 Playback Volume" was set high-ish and "MIC1 Playback Switch"
> was unmuted (so you can hear it through your speakers)
> - The "Input Source" was set to "MIC1"
> - The "Input Source" volume control was turned up high and was unmuted.
> - "Input Source" *might* have to be enabled too - I can't recall if alsamixer
> has a control for this or not.
>
> If you can't recall for sure, it might be worth running through this
> checklist next time you have access to the computer.
>
> Also note that alsamixer does not select any particular ADC for capture. All
> it does is sets up up the signal routing to the available ADCs. "Input
> Source" refers to pcm0 while "Input Source 1" refers to pcm1. Unless
>
I'd vote for "Input Source 0" and "Input Source 1" though. Numbering
both controls would make sense, imho.
> otherwise instructed, capture programs will *always* capture from "Input
> Source", not "Input Source 1" - that is, it will always capture from pcm0
> unless you tell it otherwise. The method of "telling it otherwise" depends
> on the recording program and is a function which must be provided by the
> program. If the program doesn't allow you to select the pcm to use as
> source then it's stuck with pcm0.
>
Ah. I thought that it's enough to select it for capture in alsamixer...
>>> The initverbs for the test model unmute both the input and output of NIDs
>>> 0x0f to 0x15, so they are ready for whichever mode is configured by the mode
>>> switch. This is why there are no explicit switches in the mixer for this.
>>> Having switches for this would add significantly to the number of things a
>>> tester would have to think about. It was clear from my tests that having
>>> both input and output unmuted didn't cause any trouble (beyond perhaps
>>> contributing to a slight increase in the noise level when sampling), so
>>> there was no basis to include manual switches for these.
>>>
>> That's why I said it should probably go to the extended test model.
>> However, on the other hand, if unmuting those ports indeed increases
>> noise level, maybe it would indeed be better to mute certain unused
>> ports in certain models that don't have anything connected to them anyways.
>>
> Let's put this into perspective: we're talking about an *inaudible* increase
> in the noise floor - probably much less than 1 dB, although I am yet to
> measure it explicitly. This is why there is really no practically
> observable problem in enabling both the input and output simultaneously.
>
Nor is there a problem in disabling them for models known not to use
relevant pins at all.
>> Another thing: hda_local.h defines six pinctl values:
>> #define PIN_IN 0x20
>> #define PIN_VREF80 0x24
>> #define PIN_VREF50 0x21
>> #define PIN_OUT 0x40
>> #define PIN_HP 0xc0
>> #define PIN_HP_AMP 0x80
>> Did you miss the PIN_HP_AMP option when adding channel mode switchers,
>> or is it not available for ALC260, or what? If it's available in ALC260,
>> I think it should be added to the list of options. Just to make sure
>> we're not missing anything...
>>
>
> It wasn't missed. You'll notice that PIN_HP_AMP sets a single bit (bit 7)
> while PIN_HP sets two (bits 6 and 7). Bit 7 enables the headphone amp in a
> retasking pin while bit 6 enables the pin's output. PIN_HP_AMP is provided
> for convenience for those times when the amp bit itself needs to be directly
> manipulated - it's not actually a completely specified mode since it doesn't
> make practical sense to enable the power amplifier without also enabling
> output (otherwise the amplifier would be amplifying a muted signal). To
> perhaps make this clearer, the PIN_HP definition could be thought of as
> being
>
> #define PIN_HP (PIN_OUT | PIN_HP_AMP)
>
Oh, I see.
>> Another weird detail. Look at the picture here:
>> http://notebooky.idnes.cz/obrazek/acer_tm4600_aspire1690_09.jpg. On my
>> mothers notebook (which is almost identical to the one in the pic), the
>> outside of Line In and Mic jacks is made of metal, while the outside of
>> Headphones jack is made of black plastic. I wonder what is the reason
>> for this...
>>
> No idea. Someone in the design section obviously had a reason. Perhaps
> they've done some odd ground isolation arrangement for the headphone output,
> but I think it's more likely to be either purely for looks. Either that or
> space constrains required that they use sockets with different dimensions,
> and those with a size suitable for the headphone socket only came in plastic.
>
Well that would be a weird reason IMO.
> In any case I very much doubt that this is relevant to the problems at hand.
>
>
>>>> Well, having no sound from internal speakers in Linux, while having it
>>>> in Windows, doesn't seem sensible too... ;) It's as I said - when no
>>>> sane options are left, it's probably the time to try those that seem
>>>> insane. Just to make sure.
>>>>
>>>>
>>> No arguments there. I can't help but think that we're missing something
>>> though.
>>>
>> I think so too. However, there's one weird thing - one user of a similar
>> laptop said on Ubuntu forums that the sound worked for him initially.
>>
>
> Do you have a URL to the post?
>
http://ubuntuforums.org/showthread.php?t=99222
Bye,
Rimas.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
next prev parent reply other threads:[~2006-02-22 6:40 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 22:49 Test model Rimas Kudelis
2006-02-15 23:48 ` Jonathan Woithe
2006-02-16 9:29 ` Rimas Kudelis
2006-02-16 10:05 ` Rimas Kudelis
2006-02-17 2:05 ` Jonathan Woithe
2006-02-16 10:08 ` Paulo Matias
2006-02-16 16:52 ` Rimas Kudelis
2006-02-17 2:14 ` Jonathan Woithe
2006-02-17 2:12 ` Jonathan Woithe
2006-02-17 1:59 ` Jonathan Woithe
2006-02-17 12:07 ` Rimas Kudelis
2006-02-17 12:57 ` Paulo Matias
2006-02-17 13:17 ` Rimas Kudelis
2006-02-17 18:18 ` Rimas Kudelis
2006-02-17 18:24 ` Paulo Matias
2006-02-17 18:36 ` Rimas Kudelis
2006-02-20 0:44 ` Jonathan Woithe
2006-02-17 18:40 ` Paulo Matias
2006-02-20 0:27 ` Jonathan Woithe
2006-02-19 17:05 ` Rimas Kudelis
2006-02-19 23:33 ` Jonathan Woithe
2006-02-20 5:32 ` Rimas Kudelis
2006-02-20 6:32 ` Jonathan Woithe
2006-02-20 7:13 ` Rimas Kudelis
2006-02-20 23:17 ` Jonathan Woithe
2006-02-21 10:17 ` Rimas Kudelis
2006-02-21 23:20 ` Jonathan Woithe
2006-02-22 6:40 ` Rimas Kudelis [this message]
2006-02-22 23:50 ` Jonathan Woithe
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=43FC0758.6080902@akl.lt \
--to=rq@akl.lt \
--cc=alsa-devel@lists.sourceforge.net \
--cc=jwoithe@physics.adelaide.edu.au \
/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.