From: Paul Menzel <pmenzel+alsa-devel@molgen.mpg.de>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Cc: alsa-devel@alsa-project.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Plugged in headphones ignored
Date: Fri, 26 Jul 2019 14:57:11 +0200 [thread overview]
Message-ID: <65ac36a7-fdce-77ce-c48e-86bff8699e9c@molgen.mpg.de> (raw)
In-Reply-To: <8a3566f3-9a75-eab4-b191-530d7be5afc9@molgen.mpg.de>
[-- Attachment #1: Type: text/plain, Size: 5237 bytes --]
Dear Linux folks,
On 6/27/19 1:02 PM, Paul Menzel wrote:
> On a Dell OptiPlex 5040 with Linux 5.2-rc6 plugging in a
> head phone into the front case connector, it is detected
> just fine and Xfce shows a notification.
>
> Then logging out, turning off the monitor connected over
> DisplayPort at the end of the day, and turning the monitor
> back on the next morning, logging in, the state is
> forgotten. I need to unplug the head phone and plug it
> back in.
This is still happening in Linux 5.3-rc1. Additionally, the
problem also shows up, when starting the (powered-off)
system with the headphones plugged in. No sound is played.
After unplugging the headphones, the internal speaker
outputs the sound. Plugging the headphones back in, sound
comes over the headphones.
Here is the difference in of the states.
```
> diff -u alsa-info-1.txt alsa-info-2.txt
--- alsa-info-1.txt 2019-07-26 14:44:06.156811664 +0200
+++ alsa-info-2.txt 2019-07-26 14:44:19.901891301 +0200
@@ -3,7 +3,7 @@
!!ALSA Information Script v 0.4.64
!!################################
-!!Script ran on: Fri Jul 26 12:44:05 UTC 2019
+!!Script ran on: Fri Jul 26 12:44:19 UTC 2019
!!Linux Distribution
@@ -208,7 +208,7 @@
Control: name="Speaker Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
- Amp-Out vals: [0x57 0x57]
+ Amp-Out vals: [0x00 0x00]
Converter: stream=1, channel=0
PCM:
rates [0x60]: 44100 48000
@@ -221,7 +221,7 @@
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC3234 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
- Amp-Out vals: [0x00 0x00]
+ Amp-Out vals: [0x57 0x57]
Converter: stream=1, channel=0
PCM:
rates [0x60]: 44100 48000
@@ -326,7 +326,7 @@
Control: name="Speaker Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
- Amp-Out vals: [0x00 0x00]
+ Amp-Out vals: [0x80 0x80]
Pincap 0x00010014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x90170110: [Fixed] Speaker at Int N/A
@@ -444,7 +444,7 @@
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
- Amp-Out vals: [0x80 0x80]
+ Amp-Out vals: [0x00 0x00]
Pincap 0x0001001c: OUT HP EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x0221101f: [Jack] HP Out at Ext Front
@@ -587,8 +587,8 @@
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
- Front Left: Playback [off]
- Front Right: Playback [off]
+ Front Left: Playback [on]
+ Front Right: Playback [on]
Simple mixer control 'Headphone Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
@@ -608,15 +608,15 @@
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
- Front Left: Playback 0 [0%] [-65.25dB]
- Front Right: Playback 0 [0%] [-65.25dB]
+ Front Left: Playback 87 [100%] [0.00dB]
+ Front Right: Playback 87 [100%] [0.00dB]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
- Front Left: Playback 87 [100%] [0.00dB] [on]
- Front Right: Playback 87 [100%] [0.00dB] [on]
+ Front Left: Playback 0 [0%] [-65.25dB] [off]
+ Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
@@ -698,8 +698,8 @@
control.1 {
iface MIXER
name 'Headphone+LO Playback Volume'
- value.0 0
- value.1 0
+ value.0 87
+ value.1 87
comment {
access 'read write'
type INTEGER
@@ -707,8 +707,8 @@
range '0 - 87'
dbmin -6525
dbmax 0
- dbvalue.0 -6525
- dbvalue.1 -6525
+ dbvalue.0 0
+ dbvalue.1 0
}
}
control.2 {
@@ -725,8 +725,8 @@
control.3 {
iface MIXER
name 'Headphone Playback Switch'
- value.0 false
- value.1 false
+ value.0 true
+ value.1 true
comment {
access 'read write'
type BOOLEAN
@@ -736,8 +736,8 @@
control.4 {
iface MIXER
name 'Speaker Playback Volume'
- value.0 87
- value.1 87
+ value.0 0
+ value.1 0
comment {
access 'read write'
type INTEGER
@@ -745,15 +745,15 @@
range '0 - 87'
dbmin -6525
dbmax 0
- dbvalue.0 0
- dbvalue.1 0
+ dbvalue.0 -6525
+ dbvalue.1 -6525
}
}
control.5 {
iface MIXER
name 'Speaker Playback Switch'
- value.0 true
- value.1 true
+ value.0 false
+ value.1 false
comment {
access 'read write'
type BOOLEAN
```
Is
```
- Front Left: Playback [off]
- Front Right: Playback [off]
+ Front Left: Playback [on]
+ Front Right: Playback [on]
```
the cause?
> Please find the output alsa-config.sh for the non-working
> (1) and replugged (2) situations attached.
>
> Is that a Linux kernel problem, or a user space issue?
Kind regards,
Paul
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]
prev parent reply other threads:[~2019-07-26 12:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 11:02 Paul Menzel
2019-07-26 12:57 ` Paul Menzel [this message]
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=65ac36a7-fdce-77ce-c48e-86bff8699e9c@molgen.mpg.de \
--to=pmenzel+alsa-devel@molgen.mpg.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/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
all inboxes | Powered by JetHome®