Comment 17 for bug 1274401

Revision history for this message
Raymond (superquad-vortex2) wrote :

Can you repeat the above test with node 0x3d since you cannot just add back node 0x3e without node 0x3d

the nodes of vt1802 seem similar to vt1812 except these two nodes are hidden

Node 0x3d [Audio Selector] wcaps 0x300501: Stereo
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x08* 0x09
Node 0x3e [Audio Mixer] wcaps 0x200500: Mono
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x1c

http://git.kernel.org/cgit/linux/kernel/git/tiwai/hda-emu.git/tree/codecs/vt1812-clevo-b5130m?id=HEAD

to add back both node 0x3d and 0x3e

need to revert this patch and

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=ef4da45828603df57e5e21b8aa21a66ce309f79b

fix codec->num_nodes from 0x3c to 0x3e for codec vt1802

static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node)
{
 int i;
 hda_nid_t nid;

 codec->num_nodes = snd_hda_get_sub_nodes(codec, fg_node,
       &codec->start_nid);