Front panel HeadPhone Jack undetectable

Bug #1804991 reported by Yoshiba
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Runing Ubuntu 18.10 x86_64 with kernel Ubuntu 4.18.0-11.12-generic 4.18.12. Found front panel audio jack detection issue. Front panel HeadPhone Jack shows unplugged in the Output Devices tab of PulseAudio Volume Control despite headphones plugged in.

Tags: cosmic
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
tags: added: cosmic
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Yoshiba (yoshibatora)
description: updated
Revision history for this message
Hui Wang (hui.wang) wrote :

Please run 'sudo hdajacksensetest -c 1 -a' without headphone plugged.

Then plug the headphone in the green jack on the front panel

run 'sudo hdajacksensetest -c 1 -a' once again.

please upload the output of twice operations.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Yoshiba (yoshibatora) wrote :

Output without headphone plugged in.
Pin 0x11 (Not connected): present = No
Pin 0x12 (Not connected): present = No
Pin 0x14 (Green Line Out, Rear side): present = No
Pin 0x15 (Not connected): present = No
Pin 0x16 (Not connected): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Pink Mic, Rear side): present = No
Pin 0x19 (Pink Mic, Front side): present = No
Pin 0x1a (Blue Line In, Rear side): present = No
Pin 0x1b (Green Headphone, Front side): present = No
Pin 0x1c (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x1f (Not connected): present = No
Output with headphone plugged in.
Pin 0x11 (Not connected): present = No
Pin 0x12 (Not connected): present = No
Pin 0x14 (Green Line Out, Rear side): present = No
Pin 0x15 (Not connected): present = No
Pin 0x16 (Not connected): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Pink Mic, Rear side): present = No
Pin 0x19 (Pink Mic, Front side): present = No
Pin 0x1a (Blue Line In, Rear side): present = No
Pin 0x1b (Green Headphone, Front side): present = No
Pin 0x1c (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x1f (Not connected): present = No

Revision history for this message
Yoshiba (yoshibatora) wrote :

Select HeadPhones manually can use the front HeadPhones port.

Revision history for this message
Yoshiba (yoshibatora) wrote :

When manually selected the HeadPhones in the Output Devices menu, I can use the front headphone and the alsamixer shows below.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Yoshiba (yoshibatora) wrote :

aplay -L
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
hdmi:CARD=Generic,DEV=1
    HD-Audio Generic, HDMI 1
    HDMI Audio Output
dmix:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct sample mixing device
dmix:CARD=Generic,DEV=7
    HD-Audio Generic, HDMI 1
    Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct sample snooping device
dsnoop:CARD=Generic,DEV=7
    HD-Audio Generic, HDMI 1
    Direct sample snooping device
hw:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct hardware device without any conversions
hw:CARD=Generic,DEV=7
    HD-Audio Generic, HDMI 1
    Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Hardware device with all software conversions
plughw:CARD=Generic,DEV=7
    HD-Audio Generic, HDMI 1
    Hardware device with all software conversions
sysdefault:CARD=Generic_1
    HD-Audio Generic, ALC887-VD Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Front speakers
surround21:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Direct sample mixing device
dsnoop:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Direct sample snooping device
hw:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Direct hardware device without any conversions
plughw:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Hardware device with all software conversions

Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Yoshiba (yoshibatora) wrote :
Revision history for this message
Hui Wang (hui.wang) wrote :

So it looks like the front headphone jack can't detect plug/unplug from hardware level.

you may have a try with this:
edit /etc/modprobe/alsa-base.conf and add options snd-hda-intel model=,no-front-hp,

This workaround will set this headphone jack as phantom jack, so it always shows up in the output device.

Revision history for this message
Yoshiba (yoshibatora) wrote :

I added "options snd-hda-intel model=no-front-hp" in the file below but still not working.
/etc/modprobe.d/alsa-base.conf

Revision history for this message
Hui Wang (hui.wang) wrote :

@Yoshiba,

it is "options snd-hda-intel model=,no-front-hp" rather than "options snd-hda-intel model=no-front-hp".

If there is no comma, the no-front-hp will be asssgned to sound car #0, if there is comma, it will be assigned to sound card #1.

Revision history for this message
Yoshiba (yoshibatora) wrote :

Tried above but still not working. Has to manually enable.

Revision history for this message
Hui Wang (hui.wang) wrote :

If you have time, please generate an alsa-info.txt (through running $alsa-info.sh) with the "options snd-hda-intel model=,no-front-hp" added.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.