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 20:16:11 +0300 [thread overview]
Message-ID: <87r3fd3rqc.fsf@gmail.com> (raw)
In-Reply-To: <s5hwpp5gfx3.wl-tiwai@suse.de> (Takashi Iwai's message of "Mon, 14 Mar 2016 17:52:56 +0100")
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.
> The auto-mute feature is standard behavior. When "Auto-Mute Mode"
> control is set to "Enabled", the speaker is muted no matter what you
> set the speaker mute switch. If this isn't the case, please elaborate
> what you expected and what doesn't work.
>
>
> thanks,
>
> Takashi
--
mailto:moosotc@gmail.com
next prev parent reply other threads:[~2016-03-14 17:16 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 [this message]
2016-03-14 17:53 ` Takashi Iwai
2016-03-14 18:39 ` moosotc
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=87r3fd3rqc.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 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).