[alsa-devel] Intel HDA & Realtek issues on ASUS G751JM
Hello,
I can't get 4.0/5.1 sound working on my laptop [0] [1] with Fedora 22. With Linux 4.0 there is no output on jacks but with 4.1-rc6 I'm getting sound only on one output. Switching between pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo and pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-surround-40 only boosts the volume on the first output.
Attached is dmesg [2], lsmod [3], result of lspci -vv [4] and pacmd list-cards and list-sinks [5] and output of various information from /proc/asound while runnig 4.1-rc6.
Let me know if you need more information or how I can help.
Best regards, Nicolae Rosia
[rosia@localhost ~]$ cat /proc/asound/devices 1: : sequencer 2: [ 0] : control 3: [ 0- 3]: digital audio playback 4: [ 0- 7]: digital audio playback 5: [ 0- 8]: digital audio playback 6: [ 0- 0]: hardware dependent 7: [ 1] : control 8: [ 1- 0]: digital audio playback 9: [ 1- 0]: digital audio capture 10: [ 1- 1]: digital audio playback 11: [ 1- 0]: hardware dependent 33: : timer [rosia@localhost ~]$ cat /proc/asound/cards 0 [HDMI ]: HDA-Intel - HDA Intel HDMI HDA Intel HDMI at 0xeda14000 irq 33 1 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xeda10000 irq 32 [rosia@localhost ~]$ cat /proc/asound/modules 0 snd_hda_intel 1 snd_hda_intel [rosia@localhost ~]$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k4.1.0-0.rc6.git2.1.fc23.x86_64.
[0] http://www.emag.ro/laptop-gaming-asus-cu-procesor-intelr-coretm-i7-4710hq-2-... [1] https://www.asus.com/Notebooks_Ultrabooks/ASUS_ROG_G751JM/specifications/ [2] http://pastebin.com/rm3dPPYm [3] http://pastebin.com/gHZWjgBx [4] http://pastebin.com/UUf91Q31 [5] http://pastebin.com/ca5dcxy8
[Drop alsa-user ML, no need for cross post]
At Mon, 8 Jun 2015 19:05:44 +0300, Nicolae Rosia wrote:
Hello,
I can't get 4.0/5.1 sound working on my laptop [0] [1] with Fedora 22. With Linux 4.0 there is no output on jacks but with 4.1-rc6 I'm getting sound only on one output. Switching between pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo and pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-surround-40 only boosts the volume on the first output.
Attached is dmesg [2], lsmod [3], result of lspci -vv [4] and pacmd list-cards and list-sinks [5] and output of various information from /proc/asound while runnig 4.1-rc6.
Let me know if you need more information or how I can help.
Could you give alsa-info.sh output?
The first thing you should check is whether all jacks are properly recognized as output pins. You can check the jack detection via hdajackretask or other programs and make 1:1 mapping between pin and jack. Let us know the result.
Takashi
Could you give alsa-info.sh output?
The first thing you should check is whether all jacks are properly recognized as output pins. You can check the jack detection via hdajackretask or other programs and make 1:1 mapping between pin and jack. Let us know the result.
Takashi
Yes. http://www.alsa-project.org/db/?f=50db7d46bff0178ca661c6c5b82e2bce95d80b0a
Best regards
At Wed, 10 Jun 2015 22:43:49 +0300, Nicolae Rosia wrote:
Could you give alsa-info.sh output?
The first thing you should check is whether all jacks are properly recognized as output pins. You can check the jack detection via hdajackretask or other programs and make 1:1 mapping between pin and jack. Let us know the result.
Takashi
Yes. http://www.alsa-project.org/db/?f=50db7d46bff0178ca661c6c5b82e2bce95d80b0a
According to BIOS setup, the laptop has only one output jack one mic jack. What do you suppose to make 4.0 or 5.1 outputs working with them? Or do you mean about the surround outputs over HDMI or SPDIF?
Please clarify what you exactly tested and what didn't work in more details.
Takashi
Hi,
The laptop has 3 jacks. 5.1/4.0 works fine in Windows 8.1 and I'm not talking about HDMI/SPDIF. If you look at the laptop specification, it says 1 x Microphone-in jack 2 x Headphone-out jack (SPDIF) But the microphone-in jack can also be an output. Also, the laptop has two microphones, a pair of speakers and a subwoofer (?) I can also boot Windows and provide information, please let me know what you need.
Best regards, Nicolae Rosia
On Thu, Jun 11, 2015 at 4:24 PM, Takashi Iwai tiwai@suse.de wrote:
At Wed, 10 Jun 2015 22:43:49 +0300, Nicolae Rosia wrote:
Could you give alsa-info.sh output?
The first thing you should check is whether all jacks are properly recognized as output pins. You can check the jack detection via hdajackretask or other programs and make 1:1 mapping between pin and jack. Let us know the result.
Takashi
Yes. http://www.alsa-project.org/db/?f=50db7d46bff0178ca661c6c5b82e2bce95d80b0a
According to BIOS setup, the laptop has only one output jack one mic jack. What do you suppose to make 4.0 or 5.1 outputs working with them? Or do you mean about the surround outputs over HDMI or SPDIF?
Please clarify what you exactly tested and what didn't work in more details.
Takashi
At Thu, 11 Jun 2015 19:37:58 +0300, Nicolae Rosia wrote:
Hi,
The laptop has 3 jacks. 5.1/4.0 works fine in Windows 8.1 and I'm not talking about HDMI/SPDIF. If you look at the laptop specification, it says 1 x Microphone-in jack 2 x Headphone-out jack (SPDIF) But the microphone-in jack can also be an output. Also, the laptop has two microphones, a pair of speakers and a subwoofer (?) I can also boot Windows and provide information, please let me know what you need.
Then the BIOS on your machine doesn't provide the full pin mapping. As already mentioned, you have to figure out the pin / jack mapping by yourself. You can try hdajackretask, for example.
Takashi
Best regards, Nicolae Rosia
On Thu, Jun 11, 2015 at 4:24 PM, Takashi Iwai tiwai@suse.de wrote:
At Wed, 10 Jun 2015 22:43:49 +0300, Nicolae Rosia wrote:
Could you give alsa-info.sh output?
The first thing you should check is whether all jacks are properly recognized as output pins. You can check the jack detection via hdajackretask or other programs and make 1:1 mapping between pin and jack. Let us know the result.
Takashi
Yes. http://www.alsa-project.org/db/?f=50db7d46bff0178ca661c6c5b82e2bce95d80b0a
According to BIOS setup, the laptop has only one output jack one mic jack. What do you suppose to make 4.0 or 5.1 outputs working with them? Or do you mean about the surround outputs over HDMI or SPDIF?
Please clarify what you exactly tested and what didn't work in more details.
Takashi
The laptop has 3 jacks. 5.1/4.0 works fine in Windows 8.1 and I'm not talking about HDMI/SPDIF. If you look at the laptop specification, it says 1 x Microphone-in jack 2 x Headphone-out jack (SPDIF) But the microphone-in jack can also be an output. Also, the laptop has two microphones, a pair of speakers and a subwoofer
(?)
I can also boot Windows and provide information, please let me know what you need.
/sys/class/sound/hwC1D0/init_pin_configs: 0x12 0x90a60150 0x14 0x90170110 0x15 0x04011020 0x16 0x4000c000 0x18 0x04a11060 0x19 0x411111f0 0x1a 0x90170130 0x1b 0x411111f0 0x1d 0x40c6852d 0x1e 0x90460140 0x1f 0x411111f0
/sys/class/sound/hwC1D0/driver_pin_configs:
/sys/class/sound/hwC1D0/user_pin_configs:
/sys/class/sound/hwC1D0/init_verbs:
/sys/class/sound/hwC1D0/hints:
!!ALSA/HDA dmesg !!--------------
[ 35.145467] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 35.345395] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 35.407107] uvcvideo: Found UVC 1.00 device USB2.0 HD UVC WebCam (04f2:b414) -- [ 35.492214] iwlwifi 0000:3b:00.0: L1 Enabled - LTR Enabled [ 35.492771] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input20 [ 35.493539] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input21 [ 35.493624] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input22 [ 35.557069] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs' [ 35.564380] iwlwifi 0000:3b:00.0 wls1: renamed from wlan0 [ 35.657431] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC668: line_outs=1 (0x15/0x0/0x0/0x0/0x0) type:line [ 35.658257] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=2 (0x14/0x1a/0x0/0x0/0x0) [ 35.659068] snd_hda_codec_realtek hdaudioC1D0: hp_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 35.659870] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0 [ 35.660664] snd_hda_codec_realtek hdaudioC1D0: dig-out=0x1e/0x0 [ 35.661454] snd_hda_codec_realtek hdaudioC1D0: inputs: [ 35.662241] snd_hda_codec_realtek hdaudioC1D0: Mic=0x18 [ 35.663004] snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
Try hdajacksensetest -a to find out the two headphone jacks and mic jack by plug and unplug
As not enough volume control for 5.1, internal speaker and subwoofer
Thank you very much! I have compiled hdajacksensetest from source and found out that one pin was marked as Not connected even though it was present, and another one was marked as Microphone. I have used hdajackretask to force the retask at boot time (it didn't work at runtime - it always displays tee: /sys/class/sound/hwC1D0/reconfig: Device or resource busy) and now it looks like this: ./hdajacksensetest -c 1 -a Pin 0x12 (Internal Mic): present = No Pin 0x14 (Internal Speaker): present = No Pin 0x15 (Green Line Out, Rear side): present = Yes Pin 0x16 (Green Line Out, Rear side): present = Yes Pin 0x18 (Green Line Out, Rear side): present = Yes Pin 0x19 (Not connected): present = No Pin 0x1a (Internal Speaker): present = No Pin 0x1b (Not connected): present = No Pin 0x1d (Not connected): present = No Pin 0x1e (Internal SPDIF Out): present = No Pin 0x1f (Not connected): present = No
After this, I have modified the pulseaudio config, /etc/pulse/daemon.conf, by adding the following: default-sample-channels = 6 enable-lfe-remixing = yes and 5.1 works!
How can we fix this for other owners?
On Thu, Jun 11, 2015 at 8:11 PM, Raymond Yau superquad.vortex2@gmail.com wrote:
The laptop has 3 jacks. 5.1/4.0 works fine in Windows 8.1 and I'm not talking about HDMI/SPDIF. If you look at the laptop specification, it says 1 x Microphone-in jack 2 x Headphone-out jack (SPDIF) But the microphone-in jack can also be an output. Also, the laptop has two microphones, a pair of speakers and a subwoofer (?) I can also boot Windows and provide information, please let me know what you need.
/sys/class/sound/hwC1D0/init_pin_configs: 0x12 0x90a60150 0x14 0x90170110 0x15 0x04011020 0x16 0x4000c000 0x18 0x04a11060 0x19 0x411111f0 0x1a 0x90170130 0x1b 0x411111f0 0x1d 0x40c6852d 0x1e 0x90460140 0x1f 0x411111f0
/sys/class/sound/hwC1D0/driver_pin_configs:
/sys/class/sound/hwC1D0/user_pin_configs:
/sys/class/sound/hwC1D0/init_verbs:
/sys/class/sound/hwC1D0/hints:
!!ALSA/HDA dmesg !!--------------
[ 35.145467] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 35.345395] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 35.407107] uvcvideo: Found UVC 1.00 device USB2.0 HD UVC WebCam (04f2:b414) -- [ 35.492214] iwlwifi 0000:3b:00.0: L1 Enabled - LTR Enabled [ 35.492771] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input20 [ 35.493539] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input21 [ 35.493624] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input22 [ 35.557069] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs' [ 35.564380] iwlwifi 0000:3b:00.0 wls1: renamed from wlan0 [ 35.657431] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC668: line_outs=1 (0x15/0x0/0x0/0x0/0x0) type:line [ 35.658257] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=2 (0x14/0x1a/0x0/0x0/0x0) [ 35.659068] snd_hda_codec_realtek hdaudioC1D0: hp_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 35.659870] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0 [ 35.660664] snd_hda_codec_realtek hdaudioC1D0: dig-out=0x1e/0x0 [ 35.661454] snd_hda_codec_realtek hdaudioC1D0: inputs: [ 35.662241] snd_hda_codec_realtek hdaudioC1D0: Mic=0x18 [ 35.663004] snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
Try hdajacksensetest -a to find out the two headphone jacks and mic jack by plug and unplug
As not enough volume control for 5.1, internal speaker and subwoofer
Thank you very much! I have compiled hdajacksensetest from source and found out that one pin was marked as Not connected even though it was present, and another one was marked as Microphone. I have used hdajackretask to force the retask at boot time (it didn't work at runtime - it always displays tee: /sys/class/sound/hwC1D0/reconfig: Device or resource busy) and now it looks like this:
Do you mean hdajackretask cannot shutdown pulseaudio or you still have other applicaion using the sound card which prevent dynamic reconfiguration of snd-hda-intel ?
./hdajacksensetest -c 1 -a Pin 0x12 (Internal Mic): present = No Pin 0x14 (Internal Speaker): present = No Pin 0x15 (Green Line Out, Rear side): present = Yes Pin 0x16 (Green Line Out, Rear side): present = Yes Pin 0x18 (Green Line Out, Rear side): present = Yes Pin 0x19 (Not connected): present = No Pin 0x1a (Internal Speaker): present = No Pin 0x1b (Not connected): present = No Pin 0x1d (Not connected): present = No Pin 0x1e (Internal SPDIF Out): present = No Pin 0x1f (Not connected): present = No
Can you post the output of alsa-info.sh after you patched the line out jacks ?
Which node is the headphone spdif combo jack ?
Do both headphone jacks have headphone , headset or line out icon ?
The normal fix is to add back the missing headphone jacks
After this, I have modified the pulseaudio config, /etc/pulse/daemon.conf, by adding the following: default-sample-channels = 6 enable-lfe-remixing = yes and 5.1 works!
How can we fix this for other owners?
Do you mean switch to 5.1 profile in sound preference is not enough ?
On Fri, Jun 12, 2015 at 5:34 AM, Raymond Yau superquad.vortex2@gmail.com wrote:
Do you mean hdajackretask cannot shutdown pulseaudio or you still have other applicaion using the sound card which prevent dynamic reconfiguration of snd-hda-intel ?
I was testing using a browser on a youtube video. When I apply the changes, I lose the sound (pulseaudio gets killed), that message appears and I have to refresh the page to get sound again - but nothing changes.
Can you post the output of alsa-info.sh after you patched the line out jacks ?
http://www.alsa-project.org/db/?f=82a057b76a781edb53217b2cc096bce35459ab0a
Which node is the headphone spdif combo jack ?
Using hdajacksensetest I found out the mapping: SPDIF port (jack 1): Pin 0x16 (Green Line Out, Rear side) jack 2: Pin 0x18 (Green Line Out, Rear side) jack 3: Pin 0x15 (Green Line Out, Rear side)
Do both headphone jacks have headphone , headset or line out icon ?
You can see the icons here [0] at page 20
Do you mean switch to 5.1 profile in sound preference is not enough ?
By listening on Youtube I can't hear the center and subwoofer without modifying the pulseaudio conf
[0] http://dlcdnet.asus.com/pub/ASUS/nb/G751JM/0409_E9481.pdf?_ga=1.206896403.12...
Do you mean hdajackretask cannot shutdown pulseaudio or you still have
other
applicaion using the sound card which prevent dynamic reconfiguration of snd-hda-intel ?
I was testing using a browser on a youtube video. When I apply the changes, I lose the sound (pulseaudio gets killed), that message appears and I have to refresh the page to get sound again - but nothing changes.
Can you post the output of alsa-info.sh after you patched the line out
jacks
?
http://www.alsa-project.org/db/?f=82a057b76a781edb53217b2cc096bce35459ab0a
Which node is the headphone spdif combo jack ?
Using hdajacksensetest I found out the mapping: SPDIF port (jack 1): Pin 0x16 (Green Line Out, Rear side) jack 2: Pin 0x18 (Green Line Out, Rear side) jack 3: Pin 0x15 (Green Line Out, Rear side)
Do both headphone jacks have headphone , headset or line out icon ?
You can see the icons here [0] at page 20
Are you sure that those icons and jacks order matched with your notebook ?
The user guide seem not specific to g751jm
3) the icon is a line out symbol, arrow point out of the circles but the description is audio input jack (i.e. line in) which does not match with the specification
Neither specification nor user manual mention the support of surround 5.1
Do you mean switch to 5.1 profile in sound preference is not enough ?
By listening on Youtube I can't hear the center and subwoofer without modifying the pulseaudio conf
[0]
http://dlcdnet.asus.com/pub/ASUS/nb/G751JM/0409_E9481.pdf?_ga=1.206896403.12...
Using hdajacksensetest I found out the mapping: SPDIF port (jack 1): Pin 0x16 (Green Line Out, Rear side) jack 2: Pin 0x18 (Green Line Out, Rear side) jack 3: Pin 0x15 (Green Line Out, Rear side)
Do both headphone jacks have headphone , headset or line out icon ?
You can see the icons here [0] at page 20
Are you sure that those icons and jacks order matched with your notebook ?
The icons match the laptop, I can send you a picture if you wish, but it looks identical.
The user guide seem not specific to g751jm
- the icon is a line out symbol, arrow point out of the circles but the
description is audio input jack (i.e. line in) which does not match with the specification
Neither specification nor user manual mention the support of surround 5.1
It is curious because I have selected Analog Surround 5.1 Output in Sound Settings (GNOME), and I can test each individual speaker (5.1). It also works in Windows 8.1
The laptop has 3 jacks. 5.1/4.0 works fine in Windows 8.1 and I'm not talking about HDMI/SPDIF. If you look at the laptop specification, it says 1 x Microphone-in jack 2 x Headphone-out jack (SPDIF) But the microphone-in jack can also be an output. Also, the laptop has two microphones, a pair of speakers and a subwoofer
(?)
I can also boot Windows and provide information, please let me know what you need.
It is strange that user guide is different from specification What are the icons near the jacks ?
Headphone output and S/PDIF output combo jack port This port allows you to connect your Notebook PC to amplified speakers or headphones. You can also use this port to connect your Notebook PC to Sony/Philips Digital Interconnect Format (S/PDIF) compliant devices.
Microphone input jack port The microphone input jack port is used to connect your Notebook PC to an external microphone.
Audio Input Jack The stereo input jack (1/8 inch) can be used to connect a stereo audio source to the Notebook PC
participants (3)
-
Nicolae Rosia
-
Raymond Yau
-
Takashi Iwai