alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Raymond Yau <superquad.vortex2@gmail.com>
To: Ian Munsie <darkstarsword@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: No sound from internal speaker on 2013 Macbook Air 6, 1
Date: Tue, 10 Sep 2013 00:24:43 +0800	[thread overview]
Message-ID: <CAN8ccibUb-ghJZ6C6dD4BBtpeTKcGARKbStfrA=cQM9FhvaFgA@mail.gmail.com> (raw)
In-Reply-To: <CAH4=b6L=+_zZ0MeELKkVi_wnLDCDi1ETCCp5PH9rgXn8JgNfZg@mail.gmail.com>

>
>
> One other weird thing I noticed while testing this is that setting the
> volume to 0% and/or muting does the controls does not seem to
> completely mute the sound - it is just really quiet (quiet enough not
> to be an issue for me). Some observations:
>
> __Speakers__
> Master: Mute AND/OR Speakers: Mute
> --> Speakers are muted.
>
> Master: 0% AND Speakers: 0%
> --> Sound still comes from speakers, but is very quiet.
>
> Master: 0%
> --> speaker control affects volume.
>
> __Headphones__
> Master: 0% AND/OR Headphones: 0%
> --> Sound still comes from headphones at low volume
> (if either control is 0%, the volume of the other control has no
> effect - both have to be non-zero to raise the volume).
>
> Master: Mute AND/OR Headphones: Mute
> --> Sound still comes from headphones, though is fairly quiet (much
> lower than 0%).
>

Because the driver select the amp at the pin complex of the headphone
instead of the amp at the audio output

These amps have different dB min

Node 0x02 [Audio Output] wcaps 0xd043d: Stereo Amp-Out Stripe
  Device: name="ID 4208 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-Out vals:  [0x7f 0x7f]
  Converter: stream=8, channel=0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x03 [Audio Output] wcaps 0xd043d: Stereo Amp-Out Stripe
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-Out vals:  [0x7f 0x7f]
  Converter: stream=8, channel=0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Delay: 13 samples

Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x42, nsteps=0x42, stepsize=0x03, mute=1
  Amp-Out vals:  [0x42 0x42]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x032b401f: [Jack] HP Out at Ext Left
    Conn = Comb, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02

  parent reply	other threads:[~2013-09-09 16:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-24 13:25 No sound from internal speaker on 2013 Macbook Air 6, 1 Ian Munsie
2013-08-26  1:55 ` Raymond Yau
2013-09-09  8:01   ` Ian Munsie
2013-09-09  9:03     ` Takashi Iwai
2013-09-09  9:44       ` Ian Munsie
2013-09-09  9:48         ` Takashi Iwai
2013-09-09 13:26           ` Ian Munsie
2013-09-09 14:08             ` Takashi Iwai
2013-09-09 14:48               ` Ian Munsie
2013-09-09 14:58                 ` Takashi Iwai
2013-09-09 15:48                   ` Ian Munsie
2013-09-09 16:05                     ` Takashi Iwai
2013-09-09 16:30                       ` Ian Munsie
2013-09-13 13:00                         ` Takashi Iwai
2013-09-09 16:24                     ` Raymond Yau [this message]
2013-09-09 16:32                       ` Ian Munsie
  -- strict thread matches above, loose matches on Subject: below --
2013-09-16  9:44 Ben Whitten

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='CAN8ccibUb-ghJZ6C6dD4BBtpeTKcGARKbStfrA=cQM9FhvaFgA@mail.gmail.com' \
    --to=superquad.vortex2@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=darkstarsword@gmail.com \
    --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).