linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Lenovo P50 headphone issue
@ 2020-10-09  7:14 Fabio Coatti
  2020-10-09  8:06 ` Hui Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Coatti @ 2020-10-09  7:14 UTC (permalink / raw)
  To: LKML, hui.wang

Hi All,
I'm experiencing issues with a Lenovo P50 regarding headphones. It has
some similarities with the issue fixed in 5.8.13 with
commit ad0643252831ede7d6ab7b70a4f03768e032e6b4
Author: Hui Wang <hui.wang@canonical.com>
Date:   Mon Sep 14 14:51:18 2020 +0800

    ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged

I've been seeing this behavior since some time and now I'm running 5.8.14
Description: sometimes when I start the laptop with headphones plugged
in, no sound comes out of the headphones. The only thing I can hear is
the "usual" click when the kernel boots. Sound config in the gui
reports headphones plugged, nothing seems really wrong but no sound.
Removing headphones does not help: sound can be heard from laptop
loudspeakers but  to get back the sound on headphones I have to unplug
the jack, reboot the laptop and once booted, inserting the headphones
makes everything work as  expected. Gui tools report everything as
expected: headphones inserted, volume is ok and so on.
Below you can find the dmesg boot messages related to sound devices.
If you need more details please let me know.
If I picked the wrong address to report the issue please let me know,
I'll try to contact the relevant sources.
Please note that I'm not subscribed to this list even though I monitor
it, so being in CC: will be really appreciated.
Many thanks for any answer.
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
autoconfig for ALC298: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
hp_outs=2 (0x17/0x21/0x0/0x0/0x0)
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:    mono:
mono_out=0x0
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:      Dock Mic=0x19
[Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
Internal Mic=0x12
[Fri Oct  9 08:20:05 2020] videodev: Linux video capture interface: v2.00
[Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=3 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=7 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=8 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=9 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
[Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=10 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
[Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=11 as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
[Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Mic as
/devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Dock Mic as
/devices/pci0000:00/0000:00:1f.3/sound/card0/input23
[Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Dock Headphone as
/devices/pci0000:00/0000:00:1f.3/sound/card0/input24
[Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Headphone as
/devices/pci0000:00/0000:00:1f.3/sound/card0/input25
--
Fabio

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Lenovo P50 headphone issue
  2020-10-09  7:14 Lenovo P50 headphone issue Fabio Coatti
@ 2020-10-09  8:06 ` Hui Wang
  2020-10-09  9:36   ` Fabio Coatti
  0 siblings, 1 reply; 3+ messages in thread
From: Hui Wang @ 2020-10-09  8:06 UTC (permalink / raw)
  To: Fabio Coatti, LKML; +Cc: Fabio Coatti

Hi Fabio,

Looks like the P50 has a different codec, it is alc298, and I don't have 
the P50 to debug. It is better to report a bug to bugzilla against the 
upstream kernel and cc the realtek engineers to take a look.

Regards,

Hui.

On 2020/10/9 下午3:14, Fabio Coatti wrote:
> Hi All,
> I'm experiencing issues with a Lenovo P50 regarding headphones. It has
> some similarities with the issue fixed in 5.8.13 with
> commit ad0643252831ede7d6ab7b70a4f03768e032e6b4
> Author: Hui Wang <hui.wang@canonical.com>
> Date:   Mon Sep 14 14:51:18 2020 +0800
>
>      ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged
>
> I've been seeing this behavior since some time and now I'm running 5.8.14
> Description: sometimes when I start the laptop with headphones plugged
> in, no sound comes out of the headphones. The only thing I can hear is
> the "usual" click when the kernel boots. Sound config in the gui
> reports headphones plugged, nothing seems really wrong but no sound.
> Removing headphones does not help: sound can be heard from laptop
> loudspeakers but  to get back the sound on headphones I have to unplug
> the jack, reboot the laptop and once booted, inserting the headphones
> makes everything work as  expected. Gui tools report everything as
> expected: headphones inserted, volume is ok and so on.
> Below you can find the dmesg boot messages related to sound devices.
> If you need more details please let me know.
> If I picked the wrong address to report the issue please let me know,
> I'll try to contact the relevant sources.
> Please note that I'm not subscribed to this list even though I monitor
> it, so being in CC: will be really appreciated.
> Many thanks for any answer.
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> autoconfig for ALC298: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> hp_outs=2 (0x17/0x21/0x0/0x0/0x0)
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:    mono:
> mono_out=0x0
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:    inputs:
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:      Dock Mic=0x19
> [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> Internal Mic=0x12
> [Fri Oct  9 08:20:05 2020] videodev: Linux video capture interface: v2.00
> [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=3 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
> [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=7 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
> [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=8 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
> [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=9 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
> [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=10 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
> [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=11 as
> /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
> [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Mic as
> /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
> [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Dock Mic as
> /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
> [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Dock Headphone as
> /devices/pci0000:00/0000:00:1f.3/sound/card0/input24
> [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Headphone as
> /devices/pci0000:00/0000:00:1f.3/sound/card0/input25
> --
> Fabio

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Lenovo P50 headphone issue
  2020-10-09  8:06 ` Hui Wang
@ 2020-10-09  9:36   ` Fabio Coatti
  0 siblings, 0 replies; 3+ messages in thread
From: Fabio Coatti @ 2020-10-09  9:36 UTC (permalink / raw)
  To: Hui Wang, oder_chiou; +Cc: LKML

Thanks,
I opened a bugzilla entry here:
https://bugzilla.kernel.org/show_bug.cgi?id=209595
and CC'ed current realtek maintainer.

Many thanks for the suggestion.

Il giorno ven 9 ott 2020 alle ore 10:06 Hui Wang
<hui.wang@canonical.com> ha scritto:
>
> Hi Fabio,
>
> Looks like the P50 has a different codec, it is alc298, and I don't have
> the P50 to debug. It is better to report a bug to bugzilla against the
> upstream kernel and cc the realtek engineers to take a look.
>
> Regards,
>
> Hui.
>
> On 2020/10/9 下午3:14, Fabio Coatti wrote:
> > Hi All,
> > I'm experiencing issues with a Lenovo P50 regarding headphones. It has
> > some similarities with the issue fixed in 5.8.13 with
> > commit ad0643252831ede7d6ab7b70a4f03768e032e6b4
> > Author: Hui Wang <hui.wang@canonical.com>
> > Date:   Mon Sep 14 14:51:18 2020 +0800
> >
> >      ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged
> >
> > I've been seeing this behavior since some time and now I'm running 5.8.14
> > Description: sometimes when I start the laptop with headphones plugged
> > in, no sound comes out of the headphones. The only thing I can hear is
> > the "usual" click when the kernel boots. Sound config in the gui
> > reports headphones plugged, nothing seems really wrong but no sound.
> > Removing headphones does not help: sound can be heard from laptop
> > loudspeakers but  to get back the sound on headphones I have to unplug
> > the jack, reboot the laptop and once booted, inserting the headphones
> > makes everything work as  expected. Gui tools report everything as
> > expected: headphones inserted, volume is ok and so on.
> > Below you can find the dmesg boot messages related to sound devices.
> > If you need more details please let me know.
> > If I picked the wrong address to report the issue please let me know,
> > I'll try to contact the relevant sources.
> > Please note that I'm not subscribed to this list even though I monitor
> > it, so being in CC: will be really appreciated.
> > Many thanks for any answer.
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> > autoconfig for ALC298: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> > speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> > hp_outs=2 (0x17/0x21/0x0/0x0/0x0)
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:    mono:
> > mono_out=0x0
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:    inputs:
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:      Dock Mic=0x19
> > [Fri Oct  9 08:20:05 2020] snd_hda_codec_realtek hdaudioC0D0:
> > Internal Mic=0x12
> > [Fri Oct  9 08:20:05 2020] videodev: Linux video capture interface: v2.00
> > [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=3 as
> > /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
> > [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=7 as
> > /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
> > [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=8 as
> > /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
> > [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=9 as
> > /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
> > [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=10 as
> > /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
> > [Fri Oct  9 08:20:05 2020] input: HDA NVidia HDMI/DP,pcm=11 as
> > /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
> > [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Mic as
> > /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
> > [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Dock Mic as
> > /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
> > [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Dock Headphone as
> > /devices/pci0000:00/0000:00:1f.3/sound/card0/input24
> > [Fri Oct  9 08:20:05 2020] input: HDA Intel PCH Headphone as
> > /devices/pci0000:00/0000:00:1f.3/sound/card0/input25
> > --
> > Fabio



-- 
Fabio

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-09  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09  7:14 Lenovo P50 headphone issue Fabio Coatti
2020-10-09  8:06 ` Hui Wang
2020-10-09  9:36   ` Fabio Coatti

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).