[alsa-devel] Intel HDA & Realtek issues on ASUS G751JM

Nicolae Rosia nicolae.rosia at gmail.com
Thu Jun 11 20:22:54 CEST 2015


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 at 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


More information about the Alsa-devel mailing list