about alc880 no sound at ecs g420 and eapd coef

尤晓杰 yxj790222 at 163.com
Mon Mar 9 19:27:05 CET 2020


dear friend, I am using ecs g420 laptop, use options snd-hda-intel model=generic the speaker and mic correctly, 2 pop sounds,when the kernel load(left channel) and the x11 load(right channel), but with standard way  only one pop sound when kernel load and silent always. the mic is ok. I have got  datasheet of alc880 and see the eapd function, but in your code I see this need coef parameter. so what should I write using verb to open eapd?the physical connexion in summary: an externel amplifier in charge of jack sense to mute speaker, connected with the 0x14 hp out, 0x18 mic in,0x1c cd in, 0x1e spif out,0x1d pcbeep in , no jack sense. eapd shared with spdif in. all are correct with default of datasheet's describe. I use verb to dectt each pin widget's capability , take 0x14 as exaple, no eapd capability.To set 0x14's eapd with hda-verb /dev/snd/hwC0D0 0x70c 0x2, failed to read it again alwas 0. and bios also reported 0x16, I think it is bios's bug. if not changing source code , to use "Early Patching" method to deal with it without changing source code, is it feasible? could you give me some idea? thanks!!!!


dmesg:

[    8.009944] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC880: line_outs=2 (0x14/0x16/0x0/0x0/0x0) type:hp
[    8.014023] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.017999] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.021625] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    8.024255] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
[    8.026741] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    8.038468] mc: Linux media interface: v0.10
[    8.067515] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    8.078984] snd_hda_codec_realtek hdaudioC0D0:      CD=0x1c
[    8.290306] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13





Node 0x02 [Audio Output] wcaps 0x411: Stereo
  Device: name="ALC880 Analog", type="Audio", device=0
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals: [0x00 0x00] [0x80 0x80]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals: [0x40 0x40]
  Connection: 2
     0x02 0x0b
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Control: name="CD Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=4, ofs=0
  Control: name="CD Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=4, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=5, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=5, ofs=0
  Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
  Amp-In vals: [0x41 0x41] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x41 0x41] [0x41 0x41] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=1, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense
  Pin Default 0x01211110: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=0x00, enabled=0
  Connection: 1
     0x0c
Codec: 0x10ec0880
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10ec0880
Subsystem Id: 0x10191205
Revision Id: 0x100800
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0





More information about the Alsa-devel mailing list