From: moosotc@gmail.com
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
Date: Mon, 14 Mar 2016 21:39:26 +0300 [thread overview]
Message-ID: <87io0o52g1.fsf@gmail.com> (raw)
In-Reply-To: <s5hlh5lvtcg.wl-tiwai@suse.de> (Takashi Iwai's message of "Mon, 14 Mar 2016 18:53:51 +0100")
[-- Attachment #1: Type: text/plain, Size: 2289 bytes --]
Takashi Iwai <tiwai@suse.de> writes:
> On Mon, 14 Mar 2016 18:16:11 +0100,
> moosotc@gmail.com wrote:
>>
>> Takashi Iwai <tiwai@suse.de> writes:
>>
>> > On Mon, 14 Mar 2016 09:11:10 +0100,
>> > moosotc@gmail.com wrote:
>> >>
>> >> [1 Output of alsa-info.sh <application/octet-stream (base64)>]
>> >>
>> >>
>> >> `amixer set Speaker unmute' makes no difference
>> >> physically unplugging the headphone jack from the socket does, i.e.
>> >> `amixer set Speaker (un)mute' does the right thing.
>> >
>> > Could you give more details? The description is too concise and
>> > vague.
>> >
>>
>> I have a script to toggles sound emission by the built-in speaker:
>>
>> #!/bin/sh
>> amixer get Speaker | grep -q "\[on\]" && onoff="mute" || onoff="unmute"
>> amixer set Speaker $onoff
>> echo "$onoff"
>>
>> As we speak:
>>
>> `--> atoggle
>> Simple mixer control 'Speaker',0
>> Capabilities: pvolume pswitch
>> Playback channels: Front Left - Front Right
>> Limits: Playback 0 - 127
>> Mono:
>> Front Left: Playback 127 [100%] [0.00dB] [on]
>> Front Right: Playback 127 [100%] [0.00dB] [on]
>> unmute
>>
>> This setting is ignored when (i.e. speaker is always silent) if the
>> headphone jack is plugged in.
>>
>> This used to work in prior kernels, I believe I've shared my bisection
>> results with you in one of the earlier (personal) e-mails, if there's a
>> better way to achieve the desired result (i.e. control sound emission by
>> the speaker regardless of the headphone jack plug-status) I'll happily
>> use that instead.
>
> As mentioned, make sure that you disable auto-mute mode:
> amixer set "Auto-Mute Mode" "Disabled"
>
> If you still have no speaker output even after that, give alsa-info.sh
> output with non-working state, and also the alsa-info.sh output from
> the working state on the earlier kernel.
>
>
jack | speaker | auto-mute | spaker emits sound
000 unplugged | muted | disabled | no
001 unplugged | muted | enabled | no
010 unplugged | unmuted | disabled | yes
011 unplugged | unmuted | enabled | yes
100 plugged | muted | disabled | no
101 plugged | muted | enabled | no
110 plugged | unmuted | disabled | no
111 plugged | unmuted | enabled | no
alsa-info outputs can be found in the attached archive
[-- Attachment #2: infos --]
[-- Type: application/zip, Size: 51255 bytes --]
[-- Attachment #3: Type: text/plain, Size: 30 bytes --]
--
mailto:moosotc@gmail.com
[-- Attachment #4: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2016-03-14 18:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-14 8:11 No audio output via built-in speaker on a MacMini while headphone jack is plugged in moosotc
2016-03-14 16:52 ` Takashi Iwai
2016-03-14 17:16 ` moosotc
2016-03-14 17:53 ` Takashi Iwai
2016-03-14 18:39 ` moosotc [this message]
2016-03-15 15:24 ` Takashi Iwai
2016-03-15 15:43 ` moosotc
2016-03-15 15:49 ` Takashi Iwai
2016-03-14 18:59 ` moosotc
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=87io0o52g1.fsf@gmail.com \
--to=moosotc@gmail.com \
--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 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.