[BUG] MSI PX60 6QE Laptop : headphones jack not detected but more or less working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone, and Happy New Year to PA developers around the world ! :-)


Now I feel bad for already bothering you this early in 2017 but
basically, this is a problem that I have been experiencing since I got
this laptop.


The machine is :

an MSI Laptop , PX60 6QE series :

https://fr.msi.com/Laptop/PX60-6QE.html#hero-specification


$ lspci -vv -mm

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Slot:    00:1f.3
Class:    Audio device
Vendor:    Intel Corporation
Device:    Sunrise Point-H HD Audio
SVendor:    Micro-Star International Co., Ltd. [MSI]
SDevice:    Device 116b
Rev:    31

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


$ pactl list sinks

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sink #0
     State: SUSPENDED
     Name: alsa_output.pci-0000_00_1f.3.analog-stereo
     Description: Audio interne Stéréo analogique
     Driver: module-alsa-card.c
     Sample Specification: s16le 2ch 44100Hz
     Channel Map: front-left,front-right
     Owner Module: 6
     Mute: no
     Volume: front-left: 17484 /  27% / -34,43 dB,   front-right: 17484
/  27% / -34,43 dB
             balance 0,00
     Base Volume: 65536 / 100% / 0,00 dB
     Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
     Latency: 0 usec, configured 0 usec
     Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
     Properties:
         alsa.resolution_bits = "16"
         device.api = "alsa"
         device.class = "sound"
         alsa.class = "generic"
         alsa.subclass = "generic-mix"
         alsa.name = "ALC898 Analog"
         alsa.id = "ALC898 Analog"
         alsa.subdevice = "0"
         alsa.subdevice_name = "subdevice #0"
         alsa.device = "0"
         alsa.card = "0"
         alsa.card_name = "HDA Intel PCH"
         alsa.long_card_name = "HDA Intel PCH at 0xdd420000 irq 16"
         alsa.driver_name = "snd_hda_intel"
         device.bus_path = "pci-0000:00:1f.3"
         sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
         device.bus = "pci"
         device.vendor.id = "8086"
         device.vendor.name = "Intel Corporation"
         device.product.id = "a170"
         device.product.name = "Sunrise Point-H HD Audio"
         device.form_factor = "internal"
         device.string = "front:0"
         device.buffering.buffer_size = "352800"
         device.buffering.fragment_size = "176400"
         device.access_mode = "mmap+timer"
         device.profile.name = "analog-stereo"
         device.profile.description = "Stéréo analogique"
         device.description = "Audio interne Stéréo analogique"
         alsa.mixer_name = "Realtek ALC898"
         alsa.components = "HDA:10ec0899,1462116b,00100003
HDA:80862809,80860101,00100000"
         module-udev-detect.discovered = "1"
         device.icon_name = "audio-card-pci"
     Ports :
         analog-output-speaker: Speakers (priority: 10000)
     Port actif : analog-output-speaker
     Formats:
         pcm

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

$ lsmod | grep -i hda
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

snd_hda_codec_hdmi     45056  1
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
snd_hda_intel          32768  6
snd_hda_codec         106496  4
snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           65536  5
snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  4
snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd                    69632  20
snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



$ amixer contents -c0

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

numid=28,iface=CARD,name='HDMI/DP,pcm=3 Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=off
numid=34,iface=CARD,name='HDMI/DP,pcm=7 Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=off
numid=40,iface=CARD,name='HDMI/DP,pcm=8 Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=off
numid=19,iface=CARD,name='Internal Mic Phantom Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=on
numid=18,iface=CARD,name='Mic Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=off
numid=22,iface=CARD,name='SPDIF Phantom Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=on
numid=20,iface=CARD,name='Speaker Front Phantom Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=on
numid=21,iface=CARD,name='Speaker Surround Phantom Jack'
   ; type=BOOLEAN,access=r-------,values=1
   : values=on
numid=17,iface=MIXER,name='Master Playback Switch'
   ; type=BOOLEAN,access=rw------,values=1
   : values=on
numid=16,iface=MIXER,name='Master Playback Volume'
   ; type=INTEGER,access=rw---R--,values=1,min=0,max=87,step=0
   : values=35
   | dBscale-min=-65.25dB,step=0.75dB,mute=0
numid=49,iface=MIXER,name='PCM Playback Volume'
   ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
   : values=255,255
   | dBscale-min=-51.00dB,step=0.20dB,mute=0
numid=10,iface=MIXER,name='Mic Boost Volume'
   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
   : values=0,0
   | dBscale-min=0.00dB,step=10.00dB,mute=0
numid=7,iface=MIXER,name='Mic Playback Switch'
   ; type=BOOLEAN,access=rw------,values=2
   : values=off,off
numid=6,iface=MIXER,name='Mic Playback Volume'
   ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
   : values=0,0
   | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=9,iface=MIXER,name='Capture Switch'
   ; type=BOOLEAN,access=rw------,values=2
   : values=off,off
numid=8,iface=MIXER,name='Capture Volume'
   ; type=INTEGER,access=rw---R--,values=2,min=0,max=63,step=0
   : values=49,49
   | dBscale-min=-17.25dB,step=0.75dB,mute=0
numid=5,iface=MIXER,name='Loopback Mixing'
   ; type=ENUMERATED,access=rw------,values=1,items=2
   ; Item #0 'Disabled'
   ; Item #1 'Enabled'
   : values=0
numid=15,iface=MIXER,name='IEC958 Default PCM Playback Switch'
   ; type=BOOLEAN,access=rw------,values=1
   : values=on
numid=29,iface=MIXER,name='IEC958 Playback Con Mask'
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=35,iface=MIXER,name='IEC958 Playback Con Mask',index=1
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=41,iface=MIXER,name='IEC958 Playback Con Mask',index=2
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=11,iface=MIXER,name='IEC958 Playback Con Mask',index=16
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=30,iface=MIXER,name='IEC958 Playback Pro Mask'
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=36,iface=MIXER,name='IEC958 Playback Pro Mask',index=1
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=42,iface=MIXER,name='IEC958 Playback Pro Mask',index=2
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=12,iface=MIXER,name='IEC958 Playback Pro Mask',index=16
   ; type=IEC958,access=r-------,values=1
   : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=31,iface=MIXER,name='IEC958 Playback Default'
   ; type=IEC958,access=rw------,values=1
   : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=37,iface=MIXER,name='IEC958 Playback Default',index=1
   ; type=IEC958,access=rw------,values=1
   : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=43,iface=MIXER,name='IEC958 Playback Default',index=2
   ; type=IEC958,access=rw------,values=1
   : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=13,iface=MIXER,name='IEC958 Playback Default',index=16
   ; type=IEC958,access=rw------,values=1
   : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=32,iface=MIXER,name='IEC958 Playback Switch'
   ; type=BOOLEAN,access=rw------,values=1
   : values=off
numid=38,iface=MIXER,name='IEC958 Playback Switch',index=1
   ; type=BOOLEAN,access=rw------,values=1
   : values=on
numid=44,iface=MIXER,name='IEC958 Playback Switch',index=2
   ; type=BOOLEAN,access=rw------,values=1
   : values=on
numid=14,iface=MIXER,name='IEC958 Playback Switch',index=16
   ; type=BOOLEAN,access=rw------,values=1
   : values=on
numid=4,iface=MIXER,name='Bass Speaker Playback Switch'
   ; type=BOOLEAN,access=rw------,values=2
   : values=on,on
numid=3,iface=MIXER,name='Bass Speaker Playback Volume'
   ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0
   : values=87,87
   | dBscale-min=-65.25dB,step=0.75dB,mute=0
numid=24,iface=MIXER,name='Beep Playback Switch'
   ; type=BOOLEAN,access=rw------,values=2
   : values=off,off
numid=23,iface=MIXER,name='Beep Playback Volume'
   ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
   : values=0,0
   | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=2,iface=MIXER,name='Speaker Playback Switch'
   ; type=BOOLEAN,access=rw------,values=2
   : values=on,on
numid=1,iface=MIXER,name='Speaker Playback Volume'
   ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0
   : values=47,47
   | dBscale-min=-65.25dB,step=0.75dB,mute=0
numid=26,iface=PCM,name='Capture Channel Map'
   ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
   : values=0,0
   | container
     | chmap-fixed=FL,FR

numid=25,iface=PCM,name='Playback Channel Map'
   ; type=INTEGER,access=r----R--,values=4,min=0,max=36,step=0
   : values=3,4,0,0
   | container
     | chmap-fixed=FL,FR
     | chmap-fixed=FL,FR,LFE,LFE

numid=27,iface=PCM,name='Playback Channel Map',device=1
   ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
   : values=0,0
   | container
     | chmap-fixed=FL,FR

numid=33,iface=PCM,name='ELD',device=3
   ; type=BYTES,access=r--v----,values=0
   : values=
numid=46,iface=PCM,name='Playback Channel Map',device=3
   ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
   : values=0,0,0,0,0,0,0,0
   | container
     | chmap-variable=FL,FR

numid=39,iface=PCM,name='ELD',device=7
   ; type=BYTES,access=r--v----,values=0
   : values=
numid=47,iface=PCM,name='Playback Channel Map',device=7
   ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
   : values=0,0,0,0,0,0,0,0
   | container
     | chmap-variable=FL,FR

numid=45,iface=PCM,name='ELD',device=8
   ; type=BYTES,access=r--v----,values=0
   : values=
numid=48,iface=PCM,name='Playback Channel Map',device=8
   ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
   : values=0,0,0,0,0,0,0,0
   | container
     | chmap-variable=FL,FR

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


I'm using Arch Linux :

$ uname -rmso

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Linux 4.8.6-1-ARCH x86_64 GNU/Linux
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


$pulseaudio --version

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

pulseaudio 9.0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Now this laptop features 2 x 3.5mm jack ports for headphones and Mic
respectively.


My problem is that the headphone port is not detected by PA (or Alsa? or
the driver? I know not), whereas it works as intended on Windows.

When I plug in the jack, I get incredibly loud sound and the main
speakers do not mute.
The main volume control also keeps working as intended on the main
speakers, but do not affect the headphones volume at all, unless I slide
all the way left to mute.
This is quite dangerous as I have to regulate volume per applications,
and some of them simply do  not retain changes made through Pavucontrol
or the gnome sound configuration interface.

NOTE :

When the headphones are plugged, their volume can be regulated by using
the "PCM" control for the "hda intel" device in alsamixer, while the
"Master" control operates on the speakers.

Could you help me figure this out?

Thank you for all your amazing work on this project again!

DX



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux