Skip to contentSkip to conversation

ASUS Phoebus (CMI8888) HDA Support

DISCUSSION Vincent Lejeune 2 participants 14 messages Aug 3, 2014 – Aug 7, 2014 1 message not in the archive Sound

lore
Share & tools
lore
#0 lore raw

Hi,

I just found this thread http://thread.gmane.org/gmane.linux.alsa.devel/116096
I'm trying to find what can make the CMI8888 not work in non single_cmd mode and it looks more and more like a DMA issue.
I don't have an "iommu mode" option in my bios like Geoffrey McRae, it looks like an AMD only option, and using bigger page size/alignement constraint didnt solve the issue. However I added some code to dump the content of the rirb buffer in the update_rirb() function and I copied it below.

The first command seems to be correctly handled the second time it is send to the hardware. As the AZX_DCAPS_*DELAY_RIRB doesnt change anything, I'm starting to think that the corb engine may require some delay to be processed.
Is there a way to spy the dma transfer request from the device point of view ? I'd like to know when the cmi8888 request a dma read from the corb buffer and when it requests a dma write to the rirb buffer to determine if it parses the corb buffer correctly or not.

In addition the first value returned is very odd : 13f68888. The pci id of the phoebus is 13f6:5011. What does the 100f0001 cmd mean ? hda-decode-verb tells me the verb is "0x0"...

[ 4038.467696] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[ 4038.467723] snd_hda_intel 0000:01:00.1: irq 50 for MSI/MSI-X
[ 4038.467836] snd_hda_intel 0000:02:00.0: Disabling MSI
[ 4038.469852] snd_hda_intel 0000:01:00.1: Pointers values : rirblbase : ffff8800, corbbase : ffff8000
[ 4038.469887] snd_hda_intel 0000:01:00.1: no codecs initialized
[ 4038.471618] snd_hda_intel 0000:02:00.0: Pointers values : rirblbase : ffff7800, corbbase : ffff7000
[ 4038.471721] snd_hda_intel 0000:02:00.0: corb write @ 1 value 100f0000
[ 4038.471780] snd_hda_intel 0000:02:00.0: rirb content @ 0 : 0 0
[ 4038.471782] snd_hda_intel 0000:02:00.0: rirb content @ 1 : 0 0
[ 4038.471783] snd_hda_intel 0000:02:00.0: rirb content @ 2 : 0 0
[ 4038.471784] snd_hda_intel 0000:02:00.0: rirb content @ 3 : 0 0
[ 4038.471785] snd_hda_intel 0000:02:00.0: rirb content @ 4 : 0 0
[ 4038.471785] snd_hda_intel 0000:02:00.0: rirb content @ 5 : 0 0
[ 4038.471786] snd_hda_intel 0000:02:00.0: rirb content @ 6 : 0 0
[ 4038.471787] snd_hda_intel 0000:02:00.0: rirb content @ 7 : 0 0
[ 4038.471788] snd_hda_intel 0000:02:00.0: rirb content @ 8 : 0 0
[ 4038.471789] snd_hda_intel 0000:02:00.0: rirb content @ 9 : 0 0
[ 4038.471789] snd_hda_intel 0000:02:00.0: rirb content @ 10 : 0 0
[ 4038.471790] snd_hda_intel 0000:02:00.0: rirb content @ 11 : 0 0
[ 4038.471791] snd_hda_intel 0000:02:00.0: rirb content @ 12 : 0 0
[ 4038.471792] snd_hda_intel 0000:02:00.0: rirb content @ 13 : 0 0
[ 4038.471792] snd_hda_intel 0000:02:00.0: rirb content @ 14 : 0 0
[ 4038.471793] snd_hda_intel 0000:02:00.0: rirb content @ 15 : 0 0
[ 4038.471794] snd_hda_intel 0000:02:00.0: rirb content @ 16 : 0 0
[ 4038.471794] snd_hda_intel 0000:02:00.0: rirb content @ 17 : 0 0
[ 4038.471795] snd_hda_intel 0000:02:00.0: rirb content @ 18 : 0 0
[ 4038.471796] snd_hda_intel 0000:02:00.0: rirb content @ 19 : 0 0
[ 4038.471797] snd_hda_intel 0000:02:00.0: rirb content @ 20 : 0 0
[ 4038.471797] snd_hda_intel 0000:02:00.0: rirb content @ 21 : 0 0
[ 4038.471798] snd_hda_intel 0000:02:00.0: rirb content @ 22 : 0 0
[ 4038.471799] snd_hda_intel 0000:02:00.0: rirb content @ 23 : 0 0
[ 4038.471800] snd_hda_intel 0000:02:00.0: rirb content @ 24 : 0 0
[ 4038.471800] snd_hda_intel 0000:02:00.0: rirb content @ 25 : 0 0
[ 4038.471801] snd_hda_intel 0000:02:00.0: rirb content @ 26 : 0 0
[ 4038.471802] snd_hda_intel 0000:02:00.0: rirb content @ 27 : 0 0
[ 4038.471803] snd_hda_intel 0000:02:00.0: rirb content @ 28 : 0 0
[ 4038.471803] snd_hda_intel 0000:02:00.0: rirb content @ 29 : 0 0
[ 4038.471804] snd_hda_intel 0000:02:00.0: rirb content @ 30 : 0 0
[ 4038.471805] snd_hda_intel 0000:02:00.0: rirb content @ 31 : 0 0
[ 4038.471806] snd_hda_intel 0000:02:00.0: rirb content @ 32 : 0 0
[ 4038.471806] snd_hda_intel 0000:02:00.0: rirb content @ 33 : 0 0
[ 4038.471807] snd_hda_intel 0000:02:00.0: rirb content @ 34 : 0 0
[ 4038.471808] snd_hda_intel 0000:02:00.0: rirb content @ 35 : 0 0
[ 4038.471809] snd_hda_intel 0000:02:00.0: rirb content @ 36 : 0 0
[ 4038.471809] snd_hda_intel 0000:02:00.0: rirb content @ 37 : 0 0
[ 4038.471810] snd_hda_intel 0000:02:00.0: rirb content @ 38 : 0 0
[ 4038.471811] snd_hda_intel 0000:02:00.0: rirb content @ 39 : 0 0
[ 4038.471811] snd_hda_intel 0000:02:00.0: rirb content @ 40 : 0 0
[ 4038.471812] snd_hda_intel 0000:02:00.0: rirb content @ 41 : 0 0
[ 4038.471813] snd_hda_intel 0000:02:00.0: rirb content @ 42 : 0 0
[ 4038.471814] snd_hda_intel 0000:02:00.0: rirb content @ 43 : 0 0
[ 4038.471814] snd_hda_intel 0000:02:00.0: rirb content @ 44 : 0 0
[ 4038.471815] snd_hda_intel 0000:02:00.0: rirb content @ 45 : 0 0
[ 4038.471816] snd_hda_intel 0000:02:00.0: rirb content @ 46 : 0 0
[ 4038.471816] snd_hda_intel 0000:02:00.0: rirb content @ 47 : 0 0
[ 4038.471817] snd_hda_intel 0000:02:00.0: rirb content @ 48 : 0 0
[ 4038.471818] snd_hda_intel 0000:02:00.0: rirb content @ 49 : 0 0
[ 4038.471819] snd_hda_intel 0000:02:00.0: rirb content @ 50 : 0 0
[ 4038.471819] snd_hda_intel 0000:02:00.0: rirb content @ 51 : 0 0
[ 4038.471820] snd_hda_intel 0000:02:00.0: rirb content @ 52 : 0 0
[ 4038.471821] snd_hda_intel 0000:02:00.0: rirb content @ 53 : 0 0
[ 4038.471821] snd_hda_intel 0000:02:00.0: rirb content @ 54 : 0 0
[ 4038.471822] snd_hda_intel 0000:02:00.0: rirb content @ 55 : 0 0
[ 4038.471823] snd_hda_intel 0000:02:00.0: rirb content @ 56 : 0 0
[ 4038.471824] snd_hda_intel 0000:02:00.0: rirb content @ 57 : 0 0
[ 4038.471824] snd_hda_intel 0000:02:00.0: rirb content @ 58 : 0 0
[ 4038.471825] snd_hda_intel 0000:02:00.0: rirb content @ 59 : 0 0
[ 4038.471826] snd_hda_intel 0000:02:00.0: rirb content @ 60 : 0 0
[ 4038.471827] snd_hda_intel 0000:02:00.0: rirb content @ 61 : 0 0
[ 4038.471828] snd_hda_intel 0000:02:00.0: rirb content @ 62 : 0 0
[ 4038.471828] snd_hda_intel 0000:02:00.0: rirb content @ 63 : 0 0
[ 4038.471829] snd_hda_intel 0000:02:00.0: rirb content @ 64 : 0 0
[ 4038.471830] snd_hda_intel 0000:02:00.0: rirb content @ 65 : 0 0
[ 4038.471831] snd_hda_intel 0000:02:00.0: rirb content @ 66 : 0 0
[ 4038.471831] snd_hda_intel 0000:02:00.0: rirb content @ 67 : 0 0
[ 4038.471832] snd_hda_intel 0000:02:00.0: rirb content @ 68 : 0 0
[ 4038.471833] snd_hda_intel 0000:02:00.0: rirb content @ 69 : 0 0
[ 4038.471833] snd_hda_intel 0000:02:00.0: rirb content @ 70 : 0 0
[ 4038.471834] snd_hda_intel 0000:02:00.0: rirb content @ 71 : 0 0
[ 4038.471835] snd_hda_intel 0000:02:00.0: rirb content @ 72 : 0 0
[ 4038.471836] snd_hda_intel 0000:02:00.0: rirb content @ 73 : 0 0
[ 4038.471836] snd_hda_intel 0000:02:00.0: rirb content @ 74 : 0 0
[ 4038.471837] snd_hda_intel 0000:02:00.0: rirb content @ 75 : 0 0
[ 4038.471838] snd_hda_intel 0000:02:00.0: rirb content @ 76 : 0 0
[ 4038.471838] snd_hda_intel 0000:02:00.0: rirb content @ 77 : 0 0
[ 4038.471839] snd_hda_intel 0000:02:00.0: rirb content @ 78 : 0 0
[ 4038.471840] snd_hda_intel 0000:02:00.0: rirb content @ 79 : 0 0
[ 4038.471841] snd_hda_intel 0000:02:00.0: rirb content @ 80 : 0 0
[ 4038.471841] snd_hda_intel 0000:02:00.0: rirb content @ 81 : 0 0
[ 4038.471842] snd_hda_intel 0000:02:00.0: rirb content @ 82 : 0 0
[ 4038.471843] snd_hda_intel 0000:02:00.0: rirb content @ 83 : 0 0
[ 4038.471844] snd_hda_intel 0000:02:00.0: rirb content @ 84 : 0 0
[ 4038.471844] snd_hda_intel 0000:02:00.0: rirb content @ 85 : 0 0
[ 4038.471845] snd_hda_intel 0000:02:00.0: rirb content @ 86 : 0 0
[ 4038.471846] snd_hda_intel 0000:02:00.0: rirb content @ 87 : 0 0
[ 4038.471846] snd_hda_intel 0000:02:00.0: rirb content @ 88 : 0 0
[ 4038.471847] snd_hda_intel 0000:02:00.0: rirb content @ 89 : 0 0
[ 4038.471848] snd_hda_intel 0000:02:00.0: rirb content @ 90 : 0 0
[ 4038.471849] snd_hda_intel 0000:02:00.0: rirb content @ 91 : 0 0
[ 4038.471849] snd_hda_intel 0000:02:00.0: rirb content @ 92 : 0 0
[ 4038.471850] snd_hda_intel 0000:02:00.0: rirb content @ 93 : 0 0
[ 4038.471851] snd_hda_intel 0000:02:00.0: rirb content @ 94 : 0 0
[ 4038.471851] snd_hda_intel 0000:02:00.0: rirb content @ 95 : 0 0
[ 4038.471852] snd_hda_intel 0000:02:00.0: rirb content @ 96 : 0 0
[ 4038.471853] snd_hda_intel 0000:02:00.0: rirb content @ 97 : 0 0
[ 4038.471854] snd_hda_intel 0000:02:00.0: rirb content @ 98 : 0 0
[ 4038.471854] snd_hda_intel 0000:02:00.0: rirb content @ 99 : 0 0
[ 4038.471855] snd_hda_intel 0000:02:00.0: rirb content @ 100 : 0 0
[ 4038.471856] snd_hda_intel 0000:02:00.0: rirb content @ 101 : 0 0
[ 4038.471857] snd_hda_intel 0000:02:00.0: rirb content @ 102 : 0 0
[ 4038.471858] snd_hda_intel 0000:02:00.0: rirb content @ 103 : 0 0
[ 4038.471858] snd_hda_intel 0000:02:00.0: rirb content @ 104 : 0 0
[ 4038.471859] snd_hda_intel 0000:02:00.0: rirb content @ 105 : 0 0
[ 4038.471860] snd_hda_intel 0000:02:00.0: rirb content @ 106 : 0 0
[ 4038.471860] snd_hda_intel 0000:02:00.0: rirb content @ 107 : 0 0
[ 4038.471861] snd_hda_intel 0000:02:00.0: rirb content @ 108 : 0 0
[ 4038.471862] snd_hda_intel 0000:02:00.0: rirb content @ 109 : 0 0
[ 4038.471863] snd_hda_intel 0000:02:00.0: rirb content @ 110 : 0 0
[ 4038.471863] snd_hda_intel 0000:02:00.0: rirb content @ 111 : 0 0
[ 4038.471864] snd_hda_intel 0000:02:00.0: rirb content @ 112 : 0 0
[ 4038.471865] snd_hda_intel 0000:02:00.0: rirb content @ 113 : 0 0
[ 4038.471866] snd_hda_intel 0000:02:00.0: rirb content @ 114 : 0 0
[ 4038.471866] snd_hda_intel 0000:02:00.0: rirb content @ 115 : 0 0
[ 4038.471867] snd_hda_intel 0000:02:00.0: rirb content @ 116 : 0 0
[ 4038.471868] snd_hda_intel 0000:02:00.0: rirb content @ 117 : 0 0
[ 4038.471868] snd_hda_intel 0000:02:00.0: rirb content @ 118 : 0 0
[ 4038.471869] snd_hda_intel 0000:02:00.0: rirb content @ 119 : 0 0
[ 4038.471870] snd_hda_intel 0000:02:00.0: rirb content @ 120 : 0 0
[ 4038.471871] snd_hda_intel 0000:02:00.0: rirb content @ 121 : 0 0
[ 4038.471871] snd_hda_intel 0000:02:00.0: rirb content @ 122 : 0 0
[ 4038.471872] snd_hda_intel 0000:02:00.0: rirb content @ 123 : 0 0
[ 4038.471873] snd_hda_intel 0000:02:00.0: rirb content @ 124 : 0 0
[ 4038.471873] snd_hda_intel 0000:02:00.0: rirb content @ 125 : 0 0
[ 4038.471874] snd_hda_intel 0000:02:00.0: rirb content @ 126 : 0 0
[ 4038.471875] snd_hda_intel 0000:02:00.0: rirb content @ 127 : 0 0
[ 4038.471876] snd_hda_intel 0000:02:00.0: rirb content @ 128 : 0 0
[ 4038.471876] snd_hda_intel 0000:02:00.0: rirb content @ 129 : 0 0
[ 4038.471877] snd_hda_intel 0000:02:00.0: rirb content @ 130 : 0 0
[ 4038.471878] snd_hda_intel 0000:02:00.0: rirb content @ 131 : 0 0
[ 4038.471878] snd_hda_intel 0000:02:00.0: rirb content @ 132 : 0 0
[ 4038.471879] snd_hda_intel 0000:02:00.0: rirb content @ 133 : 0 0
[ 4038.471880] snd_hda_intel 0000:02:00.0: rirb content @ 134 : 0 0
[ 4038.471881] snd_hda_intel 0000:02:00.0: rirb content @ 135 : 0 0
[ 4038.471881] snd_hda_intel 0000:02:00.0: rirb content @ 136 : 0 0
[ 4038.471882] snd_hda_intel 0000:02:00.0: rirb content @ 137 : 0 0
[ 4038.471883] snd_hda_intel 0000:02:00.0: rirb content @ 138 : 0 0
[ 4038.471884] snd_hda_intel 0000:02:00.0: rirb content @ 139 : 0 0
[ 4038.471885] snd_hda_intel 0000:02:00.0: rirb content @ 140 : 0 0
[ 4038.471885] snd_hda_intel 0000:02:00.0: rirb content @ 141 : 0 0
[ 4038.471886] snd_hda_intel 0000:02:00.0: rirb content @ 142 : 0 0
[ 4038.471887] snd_hda_intel 0000:02:00.0: rirb content @ 143 : 0 0
[ 4038.471888] snd_hda_intel 0000:02:00.0: rirb content @ 144 : 0 0
[ 4038.471888] snd_hda_intel 0000:02:00.0: rirb content @ 145 : 0 0
[ 4038.471889] snd_hda_intel 0000:02:00.0: rirb content @ 146 : 0 0
[ 4038.471890] snd_hda_intel 0000:02:00.0: rirb content @ 147 : 0 0
[ 4038.471891] snd_hda_intel 0000:02:00.0: rirb content @ 148 : 0 0
[ 4038.471891] snd_hda_intel 0000:02:00.0: rirb content @ 149 : 0 0
[ 4038.471892] snd_hda_intel 0000:02:00.0: rirb content @ 150 : 0 0
[ 4038.471893] snd_hda_intel 0000:02:00.0: rirb content @ 151 : 0 0
[ 4038.471893] snd_hda_intel 0000:02:00.0: rirb content @ 152 : 0 0
[ 4038.471894] snd_hda_intel 0000:02:00.0: rirb content @ 153 : 0 0
[ 4038.471895] snd_hda_intel 0000:02:00.0: rirb content @ 154 : 0 0
[ 4038.471896] snd_hda_intel 0000:02:00.0: rirb content @ 155 : 0 0
[ 4038.471896] snd_hda_intel 0000:02:00.0: rirb content @ 156 : 0 0
[ 4038.471897] snd_hda_intel 0000:02:00.0: rirb content @ 157 : 0 0
[ 4038.471898] snd_hda_intel 0000:02:00.0: rirb content @ 158 : 0 0
[ 4038.471898] snd_hda_intel 0000:02:00.0: rirb content @ 159 : 0 0
[ 4038.471899] snd_hda_intel 0000:02:00.0: rirb content @ 160 : 0 0
[ 4038.471900] snd_hda_intel 0000:02:00.0: rirb content @ 161 : 0 0
[ 4038.471901] snd_hda_intel 0000:02:00.0: rirb content @ 162 : 0 0
[ 4038.471901] snd_hda_intel 0000:02:00.0: rirb content @ 163 : 0 0
[ 4038.471902] snd_hda_intel 0000:02:00.0: rirb content @ 164 : 0 0
[ 4038.471903] snd_hda_intel 0000:02:00.0: rirb content @ 165 : 0 0
[ 4038.471903] snd_hda_intel 0000:02:00.0: rirb content @ 166 : 0 0
[ 4038.471904] snd_hda_intel 0000:02:00.0: rirb content @ 167 : 0 0
[ 4038.471905] snd_hda_intel 0000:02:00.0: rirb content @ 168 : 0 0
[ 4038.471906] snd_hda_intel 0000:02:00.0: rirb content @ 169 : 0 0
[ 4038.471906] snd_hda_intel 0000:02:00.0: rirb content @ 170 : 0 0
[ 4038.471907] snd_hda_intel 0000:02:00.0: rirb content @ 171 : 0 0
[ 4038.471908] snd_hda_intel 0000:02:00.0: rirb content @ 172 : 0 0
[ 4038.471909] snd_hda_intel 0000:02:00.0: rirb content @ 173 : 0 0
[ 4038.471909] snd_hda_intel 0000:02:00.0: rirb content @ 174 : 0 0
[ 4038.471910] snd_hda_intel 0000:02:00.0: rirb content @ 175 : 0 0
[ 4038.471911] snd_hda_intel 0000:02:00.0: rirb content @ 176 : 0 0
[ 4038.471912] snd_hda_intel 0000:02:00.0: rirb content @ 177 : 0 0
[ 4038.471912] snd_hda_intel 0000:02:00.0: rirb content @ 178 : 0 0
[ 4038.471913] snd_hda_intel 0000:02:00.0: rirb content @ 179 : 0 0
[ 4038.471914] snd_hda_intel 0000:02:00.0: rirb content @ 180 : 0 0
[ 4038.471915] snd_hda_intel 0000:02:00.0: rirb content @ 181 : 0 0
[ 4038.471915] snd_hda_intel 0000:02:00.0: rirb content @ 182 : 0 0
[ 4038.471916] snd_hda_intel 0000:02:00.0: rirb content @ 183 : 0 0
[ 4038.471917] snd_hda_intel 0000:02:00.0: rirb content @ 184 : 0 0
[ 4038.471917] snd_hda_intel 0000:02:00.0: rirb content @ 185 : 0 0
[ 4038.471918] snd_hda_intel 0000:02:00.0: rirb content @ 186 : 0 0
[ 4038.471919] snd_hda_intel 0000:02:00.0: rirb content @ 187 : 0 0
[ 4038.471920] snd_hda_intel 0000:02:00.0: rirb content @ 188 : 0 0
[ 4038.471920] snd_hda_intel 0000:02:00.0: rirb content @ 189 : 0 0
[ 4038.471921] snd_hda_intel 0000:02:00.0: rirb content @ 190 : 0 0
[ 4038.471922] snd_hda_intel 0000:02:00.0: rirb content @ 191 : 0 0
[ 4038.471922] snd_hda_intel 0000:02:00.0: rirb content @ 192 : 0 0
[ 4038.471923] snd_hda_intel 0000:02:00.0: rirb content @ 193 : 0 0
[ 4038.471924] snd_hda_intel 0000:02:00.0: rirb content @ 194 : 0 0
[ 4038.471925] snd_hda_intel 0000:02:00.0: rirb content @ 195 : 0 0
[ 4038.471925] snd_hda_intel 0000:02:00.0: rirb content @ 196 : 0 0
[ 4038.471926] snd_hda_intel 0000:02:00.0: rirb content @ 197 : 0 0
[ 4038.471927] snd_hda_intel 0000:02:00.0: rirb content @ 198 : 0 0
[ 4038.471928] snd_hda_intel 0000:02:00.0: rirb content @ 199 : 0 0
[ 4038.471928] snd_hda_intel 0000:02:00.0: rirb content @ 200 : 0 0
[ 4038.471929] snd_hda_intel 0000:02:00.0: rirb content @ 201 : 0 0
[ 4038.471930] snd_hda_intel 0000:02:00.0: rirb content @ 202 : 0 0
[ 4038.471930] snd_hda_intel 0000:02:00.0: rirb content @ 203 : 0 0
[ 4038.471931] snd_hda_intel 0000:02:00.0: rirb content @ 204 : 0 0
[ 4038.471932] snd_hda_intel 0000:02:00.0: rirb content @ 205 : 0 0
[ 4038.471933] snd_hda_intel 0000:02:00.0: rirb content @ 206 : 0 0
[ 4038.471933] snd_hda_intel 0000:02:00.0: rirb content @ 207 : 0 0
[ 4038.471934] snd_hda_intel 0000:02:00.0: rirb content @ 208 : 0 0
[ 4038.471935] snd_hda_intel 0000:02:00.0: rirb content @ 209 : 0 0
[ 4038.471935] snd_hda_intel 0000:02:00.0: rirb content @ 210 : 0 0
[ 4038.471936] snd_hda_intel 0000:02:00.0: rirb content @ 211 : 0 0
[ 4038.471937] snd_hda_intel 0000:02:00.0: rirb content @ 212 : 0 0
[ 4038.471938] snd_hda_intel 0000:02:00.0: rirb content @ 213 : 0 0
[ 4038.471938] snd_hda_intel 0000:02:00.0: rirb content @ 214 : 0 0
[ 4038.471939] snd_hda_intel 0000:02:00.0: rirb content @ 215 : 0 0
[ 4038.471940] snd_hda_intel 0000:02:00.0: rirb content @ 216 : 0 0
[ 4038.471941] snd_hda_intel 0000:02:00.0: rirb content @ 217 : 0 0
[ 4038.471941] snd_hda_intel 0000:02:00.0: rirb content @ 218 : 0 0
[ 4038.471942] snd_hda_intel 0000:02:00.0: rirb content @ 219 : 0 0
[ 4038.471943] snd_hda_intel 0000:02:00.0: rirb content @ 220 : 0 0
[ 4038.471944] snd_hda_intel 0000:02:00.0: rirb content @ 221 : 0 0
[ 4038.471944] snd_hda_intel 0000:02:00.0: rirb content @ 222 : 0 0
[ 4038.471945] snd_hda_intel 0000:02:00.0: rirb content @ 223 : 0 0
[ 4038.471946] snd_hda_intel 0000:02:00.0: rirb content @ 224 : 0 0
[ 4038.471947] snd_hda_intel 0000:02:00.0: rirb content @ 225 : 0 0
[ 4038.471947] snd_hda_intel 0000:02:00.0: rirb content @ 226 : 0 0
[ 4038.471948] snd_hda_intel 0000:02:00.0: rirb content @ 227 : 0 0
[ 4038.471949] snd_hda_intel 0000:02:00.0: rirb content @ 228 : 0 0
[ 4038.471949] snd_hda_intel 0000:02:00.0: rirb content @ 229 : 0 0
[ 4038.471950] snd_hda_intel 0000:02:00.0: rirb content @ 230 : 0 0
[ 4038.471951] snd_hda_intel 0000:02:00.0: rirb content @ 231 : 0 0
[ 4038.471952] snd_hda_intel 0000:02:00.0: rirb content @ 232 : 0 0
[ 4038.471952] snd_hda_intel 0000:02:00.0: rirb content @ 233 : 0 0
[ 4038.471953] snd_hda_intel 0000:02:00.0: rirb content @ 234 : 0 0
[ 4038.471954] snd_hda_intel 0000:02:00.0: rirb content @ 235 : 0 0
[ 4038.471954] snd_hda_intel 0000:02:00.0: rirb content @ 236 : 0 0
[ 4038.471955] snd_hda_intel 0000:02:00.0: rirb content @ 237 : 0 0
[ 4038.471956] snd_hda_intel 0000:02:00.0: rirb content @ 238 : 0 0
[ 4038.471957] snd_hda_intel 0000:02:00.0: rirb content @ 239 : 0 0
[ 4038.471957] snd_hda_intel 0000:02:00.0: rirb content @ 240 : 0 0
[ 4038.471958] snd_hda_intel 0000:02:00.0: rirb content @ 241 : 0 0
[ 4038.471959] snd_hda_intel 0000:02:00.0: rirb content @ 242 : 0 0
[ 4038.471959] snd_hda_intel 0000:02:00.0: rirb content @ 243 : 0 0
[ 4038.471960] snd_hda_intel 0000:02:00.0: rirb content @ 244 : 0 0
[ 4038.471961] snd_hda_intel 0000:02:00.0: rirb content @ 245 : 0 0
[ 4038.471962] snd_hda_intel 0000:02:00.0: rirb content @ 246 : 0 0
[ 4038.471962] snd_hda_intel 0000:02:00.0: rirb content @ 247 : 0 0
[ 4038.471963] snd_hda_intel 0000:02:00.0: rirb content @ 248 : 0 0
[ 4038.471964] snd_hda_intel 0000:02:00.0: rirb content @ 249 : 0 0
[ 4038.471965] snd_hda_intel 0000:02:00.0: rirb content @ 250 : 0 0
[ 4038.471965] snd_hda_intel 0000:02:00.0: rirb content @ 251 : 0 0
[ 4038.471966] snd_hda_intel 0000:02:00.0: rirb content @ 252 : 0 0
[ 4038.471967] snd_hda_intel 0000:02:00.0: rirb content @ 253 : 0 0
[ 4038.471968] snd_hda_intel 0000:02:00.0: rirb content @ 254 : 0 0
[ 4038.471968] snd_hda_intel 0000:02:00.0: rirb content @ 255 : 0 0
[ 4038.471969] snd_hda_intel 0000:02:00.0: rirb pos 1 : 0 0
[ 4038.471970] snd_hda_intel 0000:02:00.0: spurious response 0x0:0x0, rp = 1, wp = 1
[ 4038.471971] ------------[ cut here ]------------
[ 4038.471973] WARNING: CPU: 0 PID: 0 at sound/pci/hda/hda_controller.c:1212 azx_update_rirb+0x1a5/0x220 [snd_hda_controller]()
[ 4038.471974] BUG?
[ 4038.471974] Modules linked in: snd_hda_intel snd_hda_controller snd_hda_codec_generic snd_hda_codec snd_hwdep snd_pcm nls_utf8 isofs fuse ip6t_rpfilter bnep bluetooth ip6t_REJECT cfg80211 xt_conntrack rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw x86_pkg_temp_thermal coretemp kvm_intel vfat fat uas kvm usb_storage mxm_wmi snd_seq snd_seq_device crct10dif_pclmul crc32_pclmul crc32c_intel joydev snd_timer ghash_clmulni_intel mei_me snd mei microcode serio_raw pcspkr soundcore shpchp wmi video i2c_hid dw_dmac dw_dmac_core i2c_designware_platform
[ 4038.471995]  acpi_pad i2c_designware_core radeon i2c_algo_bit drm_kms_helper ttm drm sdhci_acpi sdhci mmc_core alx i2c_core mdio [last unloaded: snd_hda_controller]
[ 4038.472001] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W     3.16.0-rc4+ #2
[ 4038.472001] Hardware name: Gigabyte Technology Co., Ltd. G1.Sniper Z97/G1.Sniper Z97, BIOS F6 05/30/2014
[ 4038.472002]  0000000000000000 92922082461d2d28 ffff88021ec03d90 ffffffff816ff2e2
[ 4038.472003]  ffff88021ec03dd8 ffff88021ec03dc8 ffffffff8108bead ffff8800d79d3800
[ 4038.472005]  0000000000000000 0000000000000001 0000000000000000 0000000000000000
[ 4038.472006] Call Trace:
[ 4038.472007]  <IRQ>  [<ffffffff816ff2e2>] dump_stack+0x45/0x56
[ 4038.472013]  [<ffffffff8108bead>] warn_slowpath_common+0x7d/0xa0
[ 4038.472014]  [<ffffffff8108bf2c>] warn_slowpath_fmt+0x5c/0x80
[ 4038.472016]  [<ffffffffa0304645>] azx_update_rirb+0x1a5/0x220 [snd_hda_controller]
[ 4038.472017]  [<ffffffffa03048c9>] azx_interrupt+0x179/0x1c0 [snd_hda_controller]
[ 4038.472020]  [<ffffffff810e697e>] handle_irq_event_percpu+0x3e/0x1a0
[ 4038.472021]  [<ffffffff810e6b16>] handle_irq_event+0x36/0x60
[ 4038.472023]  [<ffffffff810e9ebc>] handle_fasteoi_irq+0x7c/0x140
[ 4038.472026]  [<ffffffff81015eff>] handle_irq+0xbf/0x150
[ 4038.472029]  [<ffffffff810b33fa>] ? atomic_notifier_call_chain+0x1a/0x20
[ 4038.472032]  [<ffffffff8170968f>] do_IRQ+0x4f/0xf0
[ 4038.472033]  [<ffffffff8170746d>] common_interrupt+0x6d/0x6d
[ 4038.472033]  <EOI>  [<ffffffff81597792>] ? cpuidle_enter_state+0x52/0xc0
[ 4038.472037]  [<ffffffff815978b7>] cpuidle_enter+0x17/0x20
[ 4038.472039]  [<ffffffff810d3035>] cpu_startup_entry+0x315/0x440
[ 4038.472042]  [<ffffffff816f1427>] rest_init+0x77/0x80
[ 4038.472045]  [<ffffffff81d280e1>] start_kernel+0x465/0x486
[ 4038.472046]  [<ffffffff81d27a85>] ? set_init_arg+0x53/0x53
[ 4038.472048]  [<ffffffff81d27120>] ? early_idt_handlers+0x120/0x120
[ 4038.472049]  [<ffffffff81d275ee>] x86_64_start_reservations+0x2a/0x2c
[ 4038.472050]  [<ffffffff81d2773d>] x86_64_start_kernel+0x14d/0x170
[ 4038.472051] ---[ end trace 63c0b6054db2a1ea ]---
[ 4039.472815] snd_hda_intel 0000:02:00.0: Codec #1 probe error; disabling it...
[ 4039.477032] snd_hda_intel 0000:02:00.0: Pointers values : rirblbase : ffff7800, corbbase : ffff7000
[ 4039.477038] snd_hda_intel 0000:02:00.0: corb write @ 1 value 100f0000
[ 4039.477113] snd_hda_intel 0000:02:00.0: rirb content @ 0 : 0 0
[ 4039.477115] snd_hda_intel 0000:02:00.0: rirb content @ 1 : 13f68888 1
[ 4039.477116] snd_hda_intel 0000:02:00.0: rirb content @ 2 : 0 0
[ 4039.477117] snd_hda_intel 0000:02:00.0: rirb content @ 3 : 0 0
[ 4039.477118] snd_hda_intel 0000:02:00.0: rirb content @ 4 : 0 0
[ 4039.477118] snd_hda_intel 0000:02:00.0: rirb content @ 5 : 0 0
[ 4039.477119] snd_hda_intel 0000:02:00.0: rirb content @ 6 : 0 0
[ 4039.477120] snd_hda_intel 0000:02:00.0: rirb content @ 7 : 0 0
[ 4039.477121] snd_hda_intel 0000:02:00.0: rirb content @ 8 : 0 0
[ 4039.477121] snd_hda_intel 0000:02:00.0: rirb content @ 9 : 0 0
[ 4039.477122] snd_hda_intel 0000:02:00.0: rirb content @ 10 : 0 0
[ 4039.477123] snd_hda_intel 0000:02:00.0: rirb content @ 11 : 0 0
[ 4039.477124] snd_hda_intel 0000:02:00.0: rirb content @ 12 : 0 0
[ 4039.477125] snd_hda_intel 0000:02:00.0: rirb content @ 13 : 0 0
[ 4039.477125] snd_hda_intel 0000:02:00.0: rirb content @ 14 : 0 0
[ 4039.477126] snd_hda_intel 0000:02:00.0: rirb content @ 15 : 0 0
[ 4039.477127] snd_hda_intel 0000:02:00.0: rirb content @ 16 : 0 0
[ 4039.477128] snd_hda_intel 0000:02:00.0: rirb content @ 17 : 0 0
[ 4039.477128] snd_hda_intel 0000:02:00.0: rirb content @ 18 : 0 0
[ 4039.477129] snd_hda_intel 0000:02:00.0: rirb content @ 19 : 0 0
[ 4039.477130] snd_hda_intel 0000:02:00.0: rirb content @ 20 : 0 0
[ 4039.477131] snd_hda_intel 0000:02:00.0: rirb content @ 21 : 0 0
[ 4039.477131] snd_hda_intel 0000:02:00.0: rirb content @ 22 : 0 0
[ 4039.477132] snd_hda_intel 0000:02:00.0: rirb content @ 23 : 0 0
[ 4039.477133] snd_hda_intel 0000:02:00.0: rirb content @ 24 : 0 0
[ 4039.477134] snd_hda_intel 0000:02:00.0: rirb content @ 25 : 0 0
[ 4039.477134] snd_hda_intel 0000:02:00.0: rirb content @ 26 : 0 0
[ 4039.477135] snd_hda_intel 0000:02:00.0: rirb content @ 27 : 0 0
[ 4039.477136] snd_hda_intel 0000:02:00.0: rirb content @ 28 : 0 0
[ 4039.477137] snd_hda_intel 0000:02:00.0: rirb content @ 29 : 0 0
[ 4039.477137] snd_hda_intel 0000:02:00.0: rirb content @ 30 : 0 0
[ 4039.477138] snd_hda_intel 0000:02:00.0: rirb content @ 31 : 0 0
[ 4039.477139] snd_hda_intel 0000:02:00.0: rirb content @ 32 : 0 0
[ 4039.477140] snd_hda_intel 0000:02:00.0: rirb content @ 33 : 0 0
[ 4039.477140] snd_hda_intel 0000:02:00.0: rirb content @ 34 : 0 0
[ 4039.477141] snd_hda_intel 0000:02:00.0: rirb content @ 35 : 0 0
[ 4039.477142] snd_hda_intel 0000:02:00.0: rirb content @ 36 : 0 0
[ 4039.477143] snd_hda_intel 0000:02:00.0: rirb content @ 37 : 0 0
[ 4039.477143] snd_hda_intel 0000:02:00.0: rirb content @ 38 : 0 0
[ 4039.477144] snd_hda_intel 0000:02:00.0: rirb content @ 39 : 0 0
[ 4039.477145] snd_hda_intel 0000:02:00.0: rirb content @ 40 : 0 0
[ 4039.477146] snd_hda_intel 0000:02:00.0: rirb content @ 41 : 0 0
[ 4039.477146] snd_hda_intel 0000:02:00.0: rirb content @ 42 : 0 0
[ 4039.477147] snd_hda_intel 0000:02:00.0: rirb content @ 43 : 0 0
[ 4039.477148] snd_hda_intel 0000:02:00.0: rirb content @ 44 : 0 0
[ 4039.477149] snd_hda_intel 0000:02:00.0: rirb content @ 45 : 0 0
[ 4039.477149] snd_hda_intel 0000:02:00.0: rirb content @ 46 : 0 0
[ 4039.477150] snd_hda_intel 0000:02:00.0: rirb content @ 47 : 0 0
[ 4039.477151] snd_hda_intel 0000:02:00.0: rirb content @ 48 : 0 0
[ 4039.477152] snd_hda_intel 0000:02:00.0: rirb content @ 49 : 0 0
[ 4039.477152] snd_hda_intel 0000:02:00.0: rirb content @ 50 : 0 0
[ 4039.477153] snd_hda_intel 0000:02:00.0: rirb content @ 51 : 0 0
[ 4039.477154] snd_hda_intel 0000:02:00.0: rirb content @ 52 : 0 0
[ 4039.477155] snd_hda_intel 0000:02:00.0: rirb content @ 53 : 0 0
[ 4039.477155] snd_hda_intel 0000:02:00.0: rirb content @ 54 : 0 0
[ 4039.477156] snd_hda_intel 0000:02:00.0: rirb content @ 55 : 0 0
[ 4039.477157] snd_hda_intel 0000:02:00.0: rirb content @ 56 : 0 0
[ 4039.477158] snd_hda_intel 0000:02:00.0: rirb content @ 57 : 0 0
[ 4039.477158] snd_hda_intel 0000:02:00.0: rirb content @ 58 : 0 0
[ 4039.477159] snd_hda_intel 0000:02:00.0: rirb content @ 59 : 0 0
[ 4039.477160] snd_hda_intel 0000:02:00.0: rirb content @ 60 : 0 0
[ 4039.477161] snd_hda_intel 0000:02:00.0: rirb content @ 61 : 0 0
[ 4039.477161] snd_hda_intel 0000:02:00.0: rirb content @ 62 : 0 0
[ 4039.477162] snd_hda_intel 0000:02:00.0: rirb content @ 63 : 0 0
[ 4039.477163] snd_hda_intel 0000:02:00.0: rirb content @ 64 : 0 0
[ 4039.477164] snd_hda_intel 0000:02:00.0: rirb content @ 65 : 0 0
[ 4039.477164] snd_hda_intel 0000:02:00.0: rirb content @ 66 : 0 0
[ 4039.477165] snd_hda_intel 0000:02:00.0: rirb content @ 67 : 0 0
[ 4039.477166] snd_hda_intel 0000:02:00.0: rirb content @ 68 : 0 0
[ 4039.477167] snd_hda_intel 0000:02:00.0: rirb content @ 69 : 0 0
[ 4039.477167] snd_hda_intel 0000:02:00.0: rirb content @ 70 : 0 0
[ 4039.477168] snd_hda_intel 0000:02:00.0: rirb content @ 71 : 0 0
[ 4039.477169] snd_hda_intel 0000:02:00.0: rirb content @ 72 : 0 0
[ 4039.477170] snd_hda_intel 0000:02:00.0: rirb content @ 73 : 0 0
[ 4039.477170] snd_hda_intel 0000:02:00.0: rirb content @ 74 : 0 0
[ 4039.477171] snd_hda_intel 0000:02:00.0: rirb content @ 75 : 0 0
[ 4039.477172] snd_hda_intel 0000:02:00.0: rirb content @ 76 : 0 0
[ 4039.477173] snd_hda_intel 0000:02:00.0: rirb content @ 77 : 0 0
[ 4039.477174] snd_hda_intel 0000:02:00.0: rirb content @ 78 : 0 0
[ 4039.477174] snd_hda_intel 0000:02:00.0: rirb content @ 79 : 0 0
[ 4039.477175] snd_hda_intel 0000:02:00.0: rirb content @ 80 : 0 0
[ 4039.477176] snd_hda_intel 0000:02:00.0: rirb content @ 81 : 0 0
[ 4039.477177] snd_hda_intel 0000:02:00.0: rirb content @ 82 : 0 0
[ 4039.477177] snd_hda_intel 0000:02:00.0: rirb content @ 83 : 0 0
[ 4039.477178] snd_hda_intel 0000:02:00.0: rirb content @ 84 : 0 0
[ 4039.477179] snd_hda_intel 0000:02:00.0: rirb content @ 85 : 0 0
[ 4039.477180] snd_hda_intel 0000:02:00.0: rirb content @ 86 : 0 0
[ 4039.477180] snd_hda_intel 0000:02:00.0: rirb content @ 87 : 0 0
[ 4039.477181] snd_hda_intel 0000:02:00.0: rirb content @ 88 : 0 0
[ 4039.477182] snd_hda_intel 0000:02:00.0: rirb content @ 89 : 0 0
[ 4039.477183] snd_hda_intel 0000:02:00.0: rirb content @ 90 : 0 0
[ 4039.477183] snd_hda_intel 0000:02:00.0: rirb content @ 91 : 0 0
[ 4039.477184] snd_hda_intel 0000:02:00.0: rirb content @ 92 : 0 0
[ 4039.477185] snd_hda_intel 0000:02:00.0: rirb content @ 93 : 0 0
[ 4039.477186] snd_hda_intel 0000:02:00.0: rirb content @ 94 : 0 0
[ 4039.477186] snd_hda_intel 0000:02:00.0: rirb content @ 95 : 0 0
[ 4039.477187] snd_hda_intel 0000:02:00.0: rirb content @ 96 : 0 0
[ 4039.477188] snd_hda_intel 0000:02:00.0: rirb content @ 97 : 0 0
[ 4039.477189] snd_hda_intel 0000:02:00.0: rirb content @ 98 : 0 0
[ 4039.477189] snd_hda_intel 0000:02:00.0: rirb content @ 99 : 0 0
[ 4039.477190] snd_hda_intel 0000:02:00.0: rirb content @ 100 : 0 0
[ 4039.477191] snd_hda_intel 0000:02:00.0: rirb content @ 101 : 0 0
[ 4039.477192] snd_hda_intel 0000:02:00.0: rirb content @ 102 : 0 0
[ 4039.477192] snd_hda_intel 0000:02:00.0: rirb content @ 103 : 0 0
[ 4039.477193] snd_hda_intel 0000:02:00.0: rirb content @ 104 : 0 0
[ 4039.477194] snd_hda_intel 0000:02:00.0: rirb content @ 105 : 0 0
[ 4039.477195] snd_hda_intel 0000:02:00.0: rirb content @ 106 : 0 0
[ 4039.477195] snd_hda_intel 0000:02:00.0: rirb content @ 107 : 0 0
[ 4039.477196] snd_hda_intel 0000:02:00.0: rirb content @ 108 : 0 0
[ 4039.477197] snd_hda_intel 0000:02:00.0: rirb content @ 109 : 0 0
[ 4039.477198] snd_hda_intel 0000:02:00.0: rirb content @ 110 : 0 0
[ 4039.477199] snd_hda_intel 0000:02:00.0: rirb content @ 111 : 0 0
[ 4039.477199] snd_hda_intel 0000:02:00.0: rirb content @ 112 : 0 0
[ 4039.477200] snd_hda_intel 0000:02:00.0: rirb content @ 113 : 0 0
[ 4039.477201] snd_hda_intel 0000:02:00.0: rirb content @ 114 : 0 0
[ 4039.477202] snd_hda_intel 0000:02:00.0: rirb content @ 115 : 0 0
[ 4039.477203] snd_hda_intel 0000:02:00.0: rirb content @ 116 : 0 0
[ 4039.477203] snd_hda_intel 0000:02:00.0: rirb content @ 117 : 0 0
[ 4039.477204] snd_hda_intel 0000:02:00.0: rirb content @ 118 : 0 0
[ 4039.477205] snd_hda_intel 0000:02:00.0: rirb content @ 119 : 0 0
[ 4039.477206] snd_hda_intel 0000:02:00.0: rirb content @ 120 : 0 0
[ 4039.477206] snd_hda_intel 0000:02:00.0: rirb content @ 121 : 0 0
[ 4039.477207] snd_hda_intel 0000:02:00.0: rirb content @ 122 : 0 0
[ 4039.477208] snd_hda_intel 0000:02:00.0: rirb content @ 123 : 0 0
[ 4039.477209] snd_hda_intel 0000:02:00.0: rirb content @ 124 : 0 0
[ 4039.477209] snd_hda_intel 0000:02:00.0: rirb content @ 125 : 0 0
[ 4039.477210] snd_hda_intel 0000:02:00.0: rirb content @ 126 : 0 0
[ 4039.477211] snd_hda_intel 0000:02:00.0: rirb content @ 127 : 0 0
[ 4039.477212] snd_hda_intel 0000:02:00.0: rirb content @ 128 : 0 0
[ 4039.477213] snd_hda_intel 0000:02:00.0: rirb content @ 129 : 0 0
[ 4039.477213] snd_hda_intel 0000:02:00.0: rirb content @ 130 : 0 0
[ 4039.477214] snd_hda_intel 0000:02:00.0: rirb content @ 131 : 0 0
[ 4039.477215] snd_hda_intel 0000:02:00.0: rirb content @ 132 : 0 0
[ 4039.477215] snd_hda_intel 0000:02:00.0: rirb content @ 133 : 0 0
[ 4039.477216] snd_hda_intel 0000:02:00.0: rirb content @ 134 : 0 0
[ 4039.477217] snd_hda_intel 0000:02:00.0: rirb content @ 135 : 0 0
[ 4039.477218] snd_hda_intel 0000:02:00.0: rirb content @ 136 : 0 0
[ 4039.477219] snd_hda_intel 0000:02:00.0: rirb content @ 137 : 0 0
[ 4039.477219] snd_hda_intel 0000:02:00.0: rirb content @ 138 : 0 0
[ 4039.477220] snd_hda_intel 0000:02:00.0: rirb content @ 139 : 0 0
[ 4039.477221] snd_hda_intel 0000:02:00.0: rirb content @ 140 : 0 0
[ 4039.477221] snd_hda_intel 0000:02:00.0: rirb content @ 141 : 0 0
[ 4039.477222] snd_hda_intel 0000:02:00.0: rirb content @ 142 : 0 0
[ 4039.477223] snd_hda_intel 0000:02:00.0: rirb content @ 143 : 0 0
[ 4039.477224] snd_hda_intel 0000:02:00.0: rirb content @ 144 : 0 0
[ 4039.477224] snd_hda_intel 0000:02:00.0: rirb content @ 145 : 0 0
[ 4039.477225] snd_hda_intel 0000:02:00.0: rirb content @ 146 : 0 0
[ 4039.477226] snd_hda_intel 0000:02:00.0: rirb content @ 147 : 0 0
[ 4039.477227] snd_hda_intel 0000:02:00.0: rirb content @ 148 : 0 0
[ 4039.477228] snd_hda_intel 0000:02:00.0: rirb content @ 149 : 0 0
[ 4039.477228] snd_hda_intel 0000:02:00.0: rirb content @ 150 : 0 0
[ 4039.477229] snd_hda_intel 0000:02:00.0: rirb content @ 151 : 0 0
[ 4039.477230] snd_hda_intel 0000:02:00.0: rirb content @ 152 : 0 0
[ 4039.477231] snd_hda_intel 0000:02:00.0: rirb content @ 153 : 0 0
[ 4039.477232] snd_hda_intel 0000:02:00.0: rirb content @ 154 : 0 0
[ 4039.477232] snd_hda_intel 0000:02:00.0: rirb content @ 155 : 0 0
[ 4039.477233] snd_hda_intel 0000:02:00.0: rirb content @ 156 : 0 0
[ 4039.477234] snd_hda_intel 0000:02:00.0: rirb content @ 157 : 0 0
[ 4039.477235] snd_hda_intel 0000:02:00.0: rirb content @ 158 : 0 0
[ 4039.477235] snd_hda_intel 0000:02:00.0: rirb content @ 159 : 0 0
[ 4039.477236] snd_hda_intel 0000:02:00.0: rirb content @ 160 : 0 0
[ 4039.477237] snd_hda_intel 0000:02:00.0: rirb content @ 161 : 0 0
[ 4039.477238] snd_hda_intel 0000:02:00.0: rirb content @ 162 : 0 0
[ 4039.477238] snd_hda_intel 0000:02:00.0: rirb content @ 163 : 0 0
[ 4039.477239] snd_hda_intel 0000:02:00.0: rirb content @ 164 : 0 0
[ 4039.477240] snd_hda_intel 0000:02:00.0: rirb content @ 165 : 0 0
[ 4039.477240] snd_hda_intel 0000:02:00.0: rirb content @ 166 : 0 0
[ 4039.477241] snd_hda_intel 0000:02:00.0: rirb content @ 167 : 0 0
[ 4039.477242] snd_hda_intel 0000:02:00.0: rirb content @ 168 : 0 0
[ 4039.477243] snd_hda_intel 0000:02:00.0: rirb content @ 169 : 0 0
[ 4039.477244] snd_hda_intel 0000:02:00.0: rirb content @ 170 : 0 0
[ 4039.477244] snd_hda_intel 0000:02:00.0: rirb content @ 171 : 0 0
[ 4039.477245] snd_hda_intel 0000:02:00.0: rirb content @ 172 : 0 0
[ 4039.477246] snd_hda_intel 0000:02:00.0: rirb content @ 173 : 0 0
[ 4039.477246] snd_hda_intel 0000:02:00.0: rirb content @ 174 : 0 0
[ 4039.477247] snd_hda_intel 0000:02:00.0: rirb content @ 175 : 0 0
[ 4039.477248] snd_hda_intel 0000:02:00.0: rirb content @ 176 : 0 0
[ 4039.477249] snd_hda_intel 0000:02:00.0: rirb content @ 177 : 0 0
[ 4039.477249] snd_hda_intel 0000:02:00.0: rirb content @ 178 : 0 0
[ 4039.477250] snd_hda_intel 0000:02:00.0: rirb content @ 179 : 0 0
[ 4039.477251] snd_hda_intel 0000:02:00.0: rirb content @ 180 : 0 0
[ 4039.477252] snd_hda_intel 0000:02:00.0: rirb content @ 181 : 0 0
[ 4039.477252] snd_hda_intel 0000:02:00.0: rirb content @ 182 : 0 0
[ 4039.477253] snd_hda_intel 0000:02:00.0: rirb content @ 183 : 0 0
[ 4039.477254] snd_hda_intel 0000:02:00.0: rirb content @ 184 : 0 0
[ 4039.477255] snd_hda_intel 0000:02:00.0: rirb content @ 185 : 0 0
[ 4039.477255] snd_hda_intel 0000:02:00.0: rirb content @ 186 : 0 0
[ 4039.477256] snd_hda_intel 0000:02:00.0: rirb content @ 187 : 0 0
[ 4039.477257] snd_hda_intel 0000:02:00.0: rirb content @ 188 : 0 0
[ 4039.477258] snd_hda_intel 0000:02:00.0: rirb content @ 189 : 0 0
[ 4039.477259] snd_hda_intel 0000:02:00.0: rirb content @ 190 : 0 0
[ 4039.477259] snd_hda_intel 0000:02:00.0: rirb content @ 191 : 0 0
[ 4039.477260] snd_hda_intel 0000:02:00.0: rirb content @ 192 : 0 0
[ 4039.477261] snd_hda_intel 0000:02:00.0: rirb content @ 193 : 0 0
[ 4039.477262] snd_hda_intel 0000:02:00.0: rirb content @ 194 : 0 0
[ 4039.477262] snd_hda_intel 0000:02:00.0: rirb content @ 195 : 0 0
[ 4039.477263] snd_hda_intel 0000:02:00.0: rirb content @ 196 : 0 0
[ 4039.477264] snd_hda_intel 0000:02:00.0: rirb content @ 197 : 0 0
[ 4039.477265] snd_hda_intel 0000:02:00.0: rirb content @ 198 : 0 0
[ 4039.477265] snd_hda_intel 0000:02:00.0: rirb content @ 199 : 0 0
[ 4039.477266] snd_hda_intel 0000:02:00.0: rirb content @ 200 : 0 0
[ 4039.477267] snd_hda_intel 0000:02:00.0: rirb content @ 201 : 0 0
[ 4039.477268] snd_hda_intel 0000:02:00.0: rirb content @ 202 : 0 0
[ 4039.477268] snd_hda_intel 0000:02:00.0: rirb content @ 203 : 0 0
[ 4039.477269] snd_hda_intel 0000:02:00.0: rirb content @ 204 : 0 0
[ 4039.477270] snd_hda_intel 0000:02:00.0: rirb content @ 205 : 0 0
[ 4039.477271] snd_hda_intel 0000:02:00.0: rirb content @ 206 : 0 0
[ 4039.477271] snd_hda_intel 0000:02:00.0: rirb content @ 207 : 0 0
[ 4039.477272] snd_hda_intel 0000:02:00.0: rirb content @ 208 : 0 0
[ 4039.477273] snd_hda_intel 0000:02:00.0: rirb content @ 209 : 0 0
[ 4039.477274] snd_hda_intel 0000:02:00.0: rirb content @ 210 : 0 0
[ 4039.477274] snd_hda_intel 0000:02:00.0: rirb content @ 211 : 0 0
[ 4039.477275] snd_hda_intel 0000:02:00.0: rirb content @ 212 : 0 0
[ 4039.477276] snd_hda_intel 0000:02:00.0: rirb content @ 213 : 0 0
[ 4039.477276] snd_hda_intel 0000:02:00.0: rirb content @ 214 : 0 0
[ 4039.477277] snd_hda_intel 0000:02:00.0: rirb content @ 215 : 0 0
[ 4039.477278] snd_hda_intel 0000:02:00.0: rirb content @ 216 : 0 0
[ 4039.477279] snd_hda_intel 0000:02:00.0: rirb content @ 217 : 0 0
[ 4039.477279] snd_hda_intel 0000:02:00.0: rirb content @ 218 : 0 0
[ 4039.477280] snd_hda_intel 0000:02:00.0: rirb content @ 219 : 0 0
[ 4039.477281] snd_hda_intel 0000:02:00.0: rirb content @ 220 : 0 0
[ 4039.477282] snd_hda_intel 0000:02:00.0: rirb content @ 221 : 0 0
[ 4039.477282] snd_hda_intel 0000:02:00.0: rirb content @ 222 : 0 0
[ 4039.477283] snd_hda_intel 0000:02:00.0: rirb content @ 223 : 0 0
[ 4039.477284] snd_hda_intel 0000:02:00.0: rirb content @ 224 : 0 0
[ 4039.477285] snd_hda_intel 0000:02:00.0: rirb content @ 225 : 0 0
[ 4039.477286] snd_hda_intel 0000:02:00.0: rirb content @ 226 : 0 0
[ 4039.477286] snd_hda_intel 0000:02:00.0: rirb content @ 227 : 0 0
[ 4039.477287] snd_hda_intel 0000:02:00.0: rirb content @ 228 : 0 0
[ 4039.477288] snd_hda_intel 0000:02:00.0: rirb content @ 229 : 0 0
[ 4039.477289] snd_hda_intel 0000:02:00.0: rirb content @ 230 : 0 0
[ 4039.477289] snd_hda_intel 0000:02:00.0: rirb content @ 231 : 0 0
[ 4039.477290] snd_hda_intel 0000:02:00.0: rirb content @ 232 : 0 0
[ 4039.477291] snd_hda_intel 0000:02:00.0: rirb content @ 233 : 0 0
[ 4039.477292] snd_hda_intel 0000:02:00.0: rirb content @ 234 : 0 0
[ 4039.477292] snd_hda_intel 0000:02:00.0: rirb content @ 235 : 0 0
[ 4039.477293] snd_hda_intel 0000:02:00.0: rirb content @ 236 : 0 0
[ 4039.477294] snd_hda_intel 0000:02:00.0: rirb content @ 237 : 0 0
[ 4039.477295] snd_hda_intel 0000:02:00.0: rirb content @ 238 : 0 0
[ 4039.477295] snd_hda_intel 0000:02:00.0: rirb content @ 239 : 0 0
[ 4039.477296] snd_hda_intel 0000:02:00.0: rirb content @ 240 : 0 0
[ 4039.477297] snd_hda_intel 0000:02:00.0: rirb content @ 241 : 0 0
[ 4039.477298] snd_hda_intel 0000:02:00.0: rirb content @ 242 : 0 0
[ 4039.477298] snd_hda_intel 0000:02:00.0: rirb content @ 243 : 0 0
[ 4039.477299] snd_hda_intel 0000:02:00.0: rirb content @ 244 : 0 0
[ 4039.477300] snd_hda_intel 0000:02:00.0: rirb content @ 245 : 0 0
[ 4039.477300] snd_hda_intel 0000:02:00.0: rirb content @ 246 : 0 0
[ 4039.477301] snd_hda_intel 0000:02:00.0: rirb content @ 247 : 0 0
[ 4039.477302] snd_hda_intel 0000:02:00.0: rirb content @ 248 : 0 0
[ 4039.477303] snd_hda_intel 0000:02:00.0: rirb content @ 249 : 0 0
[ 4039.477303] snd_hda_intel 0000:02:00.0: rirb content @ 250 : 0 0
[ 4039.477304] snd_hda_intel 0000:02:00.0: rirb content @ 251 : 0 0
[ 4039.477305] snd_hda_intel 0000:02:00.0: rirb content @ 252 : 0 0
[ 4039.477306] snd_hda_intel 0000:02:00.0: rirb content @ 253 : 0 0
[ 4039.477306] snd_hda_intel 0000:02:00.0: rirb content @ 254 : 0 0
[ 4039.477307] snd_hda_intel 0000:02:00.0: rirb content @ 255 : 0 0
[ 4039.477308] snd_hda_intel 0000:02:00.0: rirb pos 1 : 13f68888 1
[ 4039.477318] snd_hda_intel 0000:02:00.0: corb write @ 2 value 100f0001
[ 4039.477373] snd_hda_intel 0000:02:00.0: rirb content @ 0 : 0 0
[ 4039.477374] snd_hda_intel 0000:02:00.0: rirb content @ 1 : 13f68888 1
[ 4039.477375] snd_hda_intel 0000:02:00.0: rirb content @ 2 : 0 0
[ 4039.477376] snd_hda_intel 0000:02:00.0: rirb content @ 3 : 0 0
[ 4039.477376] snd_hda_intel 0000:02:00.0: rirb content @ 4 : 0 0
[ 4039.477377] snd_hda_intel 0000:02:00.0: rirb content @ 5 : 0 0
[ 4039.477378] snd_hda_intel 0000:02:00.0: rirb content @ 6 : 0 0
[ 4039.477379] snd_hda_intel 0000:02:00.0: rirb content @ 7 : 0 0
[ 4039.477379] snd_hda_intel 0000:02:00.0: rirb content @ 8 : 0 0
[ 4039.477380] snd_hda_intel 0000:02:00.0: rirb content @ 9 : 0 0
[ 4039.477381] snd_hda_intel 0000:02:00.0: rirb content @ 10 : 0 0
[ 4039.477382] snd_hda_intel 0000:02:00.0: rirb content @ 11 : 0 0
[ 4039.477383] snd_hda_intel 0000:02:00.0: rirb content @ 12 : 0 0
[ 4039.477384] snd_hda_intel 0000:02:00.0: rirb content @ 13 : 0 0
[ 4039.477384] snd_hda_intel 0000:02:00.0: rirb content @ 14 : 0 0
[ 4039.477385] snd_hda_intel 0000:02:00.0: rirb content @ 15 : 0 0
[ 4039.477386] snd_hda_intel 0000:02:00.0: rirb content @ 16 : 0 0
[ 4039.477387] snd_hda_intel 0000:02:00.0: rirb content @ 17 : 0 0
[ 4039.477387] snd_hda_intel 0000:02:00.0: rirb content @ 18 : 0 0
[ 4039.477388] snd_hda_intel 0000:02:00.0: rirb content @ 19 : 0 0
[ 4039.477389] snd_hda_intel 0000:02:00.0: rirb content @ 20 : 0 0
[ 4039.477390] snd_hda_intel 0000:02:00.0: rirb content @ 21 : 0 0
[ 4039.477390] snd_hda_intel 0000:02:00.0: rirb content @ 22 : 0 0
[ 4039.477391] snd_hda_intel 0000:02:00.0: rirb content @ 23 : 0 0
[ 4039.477392] snd_hda_intel 0000:02:00.0: rirb content @ 24 : 0 0
[ 4039.477393] snd_hda_intel 0000:02:00.0: rirb content @ 25 : 0 0
[ 4039.477393] snd_hda_intel 0000:02:00.0: rirb content @ 26 : 0 0
[ 4039.477394] snd_hda_intel 0000:02:00.0: rirb content @ 27 : 0 0
[ 4039.477395] snd_hda_intel 0000:02:00.0: rirb content @ 28 : 0 0
[ 4039.477396] snd_hda_intel 0000:02:00.0: rirb content @ 29 : 0 0
[ 4039.477396] snd_hda_intel 0000:02:00.0: rirb content @ 30 : 0 0
[ 4039.477397] snd_hda_intel 0000:02:00.0: rirb content @ 31 : 0 0
[ 4039.477398] snd_hda_intel 0000:02:00.0: rirb content @ 32 : 0 0
[ 4039.477399] snd_hda_intel 0000:02:00.0: rirb content @ 33 : 0 0
[ 4039.477399] snd_hda_intel 0000:02:00.0: rirb content @ 34 : 0 0
[ 4039.477400] snd_hda_intel 0000:02:00.0: rirb content @ 35 : 0 0
[ 4039.477401] snd_hda_intel 0000:02:00.0: rirb content @ 36 : 0 0
[ 4039.477402] snd_hda_intel 0000:02:00.0: rirb content @ 37 : 0 0
[ 4039.477402] snd_hda_intel 0000:02:00.0: rirb content @ 38 : 0 0
[ 4039.477403] snd_hda_intel 0000:02:00.0: rirb content @ 39 : 0 0
[ 4039.477404] snd_hda_intel 0000:02:00.0: rirb content @ 40 : 0 0
[ 4039.477405] snd_hda_intel 0000:02:00.0: rirb content @ 41 : 0 0
[ 4039.477405] snd_hda_intel 0000:02:00.0: rirb content @ 42 : 0 0
[ 4039.477406] snd_hda_intel 0000:02:00.0: rirb content @ 43 : 0 0
[ 4039.477407] snd_hda_intel 0000:02:00.0: rirb content @ 44 : 0 0
[ 4039.477408] snd_hda_intel 0000:02:00.0: rirb content @ 45 : 0 0
[ 4039.477409] snd_hda_intel 0000:02:00.0: rirb content @ 46 : 0 0
[ 4039.477409] snd_hda_intel 0000:02:00.0: rirb content @ 47 : 0 0
[ 4039.477410] snd_hda_intel 0000:02:00.0: rirb content @ 48 : 0 0
[ 4039.477411] snd_hda_intel 0000:02:00.0: rirb content @ 49 : 0 0
[ 4039.477412] snd_hda_intel 0000:02:00.0: rirb content @ 50 : 0 0
[ 4039.477412] snd_hda_intel 0000:02:00.0: rirb content @ 51 : 0 0
[ 4039.477413] snd_hda_intel 0000:02:00.0: rirb content @ 52 : 0 0
[ 4039.477414] snd_hda_intel 0000:02:00.0: rirb content @ 53 : 0 0
[ 4039.477415] snd_hda_intel 0000:02:00.0: rirb content @ 54 : 0 0
[ 4039.477415] snd_hda_intel 0000:02:00.0: rirb content @ 55 : 0 0
[ 4039.477416] snd_hda_intel 0000:02:00.0: rirb content @ 56 : 0 0
[ 4039.477417] snd_hda_intel 0000:02:00.0: rirb content @ 57 : 0 0
[ 4039.477418] snd_hda_intel 0000:02:00.0: rirb content @ 58 : 0 0
[ 4039.477419] snd_hda_intel 0000:02:00.0: rirb content @ 59 : 0 0
[ 4039.477420] snd_hda_intel 0000:02:00.0: rirb content @ 60 : 0 0
[ 4039.477421] snd_hda_intel 0000:02:00.0: rirb content @ 61 : 0 0
[ 4039.477421] snd_hda_intel 0000:02:00.0: rirb content @ 62 : 0 0
[ 4039.477422] snd_hda_intel 0000:02:00.0: rirb content @ 63 : 0 0
[ 4039.477423] snd_hda_intel 0000:02:00.0: rirb content @ 64 : 0 0
[ 4039.477424] snd_hda_intel 0000:02:00.0: rirb content @ 65 : 0 0
[ 4039.477424] snd_hda_intel 0000:02:00.0: rirb content @ 66 : 0 0
[ 4039.477425] snd_hda_intel 0000:02:00.0: rirb content @ 67 : 0 0
[ 4039.477426] snd_hda_intel 0000:02:00.0: rirb content @ 68 : 0 0
[ 4039.477427] snd_hda_intel 0000:02:00.0: rirb content @ 69 : 0 0
[ 4039.477427] snd_hda_intel 0000:02:00.0: rirb content @ 70 : 0 0
[ 4039.477428] snd_hda_intel 0000:02:00.0: rirb content @ 71 : 0 0
[ 4039.477429] snd_hda_intel 0000:02:00.0: rirb content @ 72 : 0 0
[ 4039.477430] snd_hda_intel 0000:02:00.0: rirb content @ 73 : 0 0
[ 4039.477430] snd_hda_intel 0000:02:00.0: rirb content @ 74 : 0 0
[ 4039.477431] snd_hda_intel 0000:02:00.0: rirb content @ 75 : 0 0
[ 4039.477432] snd_hda_intel 0000:02:00.0: rirb content @ 76 : 0 0
[ 4039.477433] snd_hda_intel 0000:02:00.0: rirb content @ 77 : 0 0
[ 4039.477433] snd_hda_intel 0000:02:00.0: rirb content @ 78 : 0 0
[ 4039.477434] snd_hda_intel 0000:02:00.0: rirb content @ 79 : 0 0
[ 4039.477435] snd_hda_intel 0000:02:00.0: rirb content @ 80 : 0 0
[ 4039.477436] snd_hda_intel 0000:02:00.0: rirb content @ 81 : 0 0
[ 4039.477437] snd_hda_intel 0000:02:00.0: rirb content @ 82 : 0 0
[ 4039.477437] snd_hda_intel 0000:02:00.0: rirb content @ 83 : 0 0
[ 4039.477438] snd_hda_intel 0000:02:00.0: rirb content @ 84 : 0 0
[ 4039.477439] snd_hda_intel 0000:02:00.0: rirb content @ 85 : 0 0
[ 4039.477440] snd_hda_intel 0000:02:00.0: rirb content @ 86 : 0 0
[ 4039.477440] snd_hda_intel 0000:02:00.0: rirb content @ 87 : 0 0
[ 4039.477441] snd_hda_intel 0000:02:00.0: rirb content @ 88 : 0 0
[ 4039.477442] snd_hda_intel 0000:02:00.0: rirb content @ 89 : 0 0
[ 4039.477443] snd_hda_intel 0000:02:00.0: rirb content @ 90 : 0 0
[ 4039.477443] snd_hda_intel 0000:02:00.0: rirb content @ 91 : 0 0
[ 4039.477444] snd_hda_intel 0000:02:00.0: rirb content @ 92 : 0 0
[ 4039.477445] snd_hda_intel 0000:02:00.0: rirb content @ 93 : 0 0
[ 4039.477446] snd_hda_intel 0000:02:00.0: rirb content @ 94 : 0 0
[ 4039.477446] snd_hda_intel 0000:02:00.0: rirb content @ 95 : 0 0
[ 4039.477447] snd_hda_intel 0000:02:00.0: rirb content @ 96 : 0 0
[ 4039.477448] snd_hda_intel 0000:02:00.0: rirb content @ 97 : 0 0
[ 4039.477449] snd_hda_intel 0000:02:00.0: rirb content @ 98 : 0 0
[ 4039.477449] snd_hda_intel 0000:02:00.0: rirb content @ 99 : 0 0
[ 4039.477450] snd_hda_intel 0000:02:00.0: rirb content @ 100 : 0 0
[ 4039.477451] snd_hda_intel 0000:02:00.0: rirb content @ 101 : 0 0
[ 4039.477452] snd_hda_intel 0000:02:00.0: rirb content @ 102 : 0 0
[ 4039.477452] snd_hda_intel 0000:02:00.0: rirb content @ 103 : 0 0
[ 4039.477453] snd_hda_intel 0000:02:00.0: rirb content @ 104 : 0 0
[ 4039.477454] snd_hda_intel 0000:02:00.0: rirb content @ 105 : 0 0
[ 4039.477455] snd_hda_intel 0000:02:00.0: rirb content @ 106 : 0 0
[ 4039.477455] snd_hda_intel 0000:02:00.0: rirb content @ 107 : 0 0
[ 4039.477456] snd_hda_intel 0000:02:00.0: rirb content @ 108 : 0 0
[ 4039.477457] snd_hda_intel 0000:02:00.0: rirb content @ 109 : 0 0
[ 4039.477458] snd_hda_intel 0000:02:00.0: rirb content @ 110 : 0 0
[ 4039.477458] snd_hda_intel 0000:02:00.0: rirb content @ 111 : 0 0
[ 4039.477459] snd_hda_intel 0000:02:00.0: rirb content @ 112 : 0 0
[ 4039.477460] snd_hda_intel 0000:02:00.0: rirb content @ 113 : 0 0
[ 4039.477461] snd_hda_intel 0000:02:00.0: rirb content @ 114 : 0 0
[ 4039.477461] snd_hda_intel 0000:02:00.0: rirb content @ 115 : 0 0
[ 4039.477462] snd_hda_intel 0000:02:00.0: rirb content @ 116 : 0 0
[ 4039.477463] snd_hda_intel 0000:02:00.0: rirb content @ 117 : 0 0
[ 4039.477464] snd_hda_intel 0000:02:00.0: rirb content @ 118 : 0 0
[ 4039.477464] snd_hda_intel 0000:02:00.0: rirb content @ 119 : 0 0
[ 4039.477465] snd_hda_intel 0000:02:00.0: rirb content @ 120 : 0 0
[ 4039.477466] snd_hda_intel 0000:02:00.0: rirb content @ 121 : 0 0
[ 4039.477467] snd_hda_intel 0000:02:00.0: rirb content @ 122 : 0 0
[ 4039.477468] snd_hda_intel 0000:02:00.0: rirb content @ 123 : 0 0
[ 4039.477469] snd_hda_intel 0000:02:00.0: rirb content @ 124 : 0 0
[ 4039.477469] snd_hda_intel 0000:02:00.0: rirb content @ 125 : 0 0
[ 4039.477470] snd_hda_intel 0000:02:00.0: rirb content @ 126 : 0 0
[ 4039.477471] snd_hda_intel 0000:02:00.0: rirb content @ 127 : 0 0
[ 4039.477472] snd_hda_intel 0000:02:00.0: rirb content @ 128 : 0 0
[ 4039.477473] snd_hda_intel 0000:02:00.0: rirb content @ 129 : 0 0
[ 4039.477474] snd_hda_intel 0000:02:00.0: rirb content @ 130 : 0 0
[ 4039.477475] snd_hda_intel 0000:02:00.0: rirb content @ 131 : 0 0
[ 4039.477475] snd_hda_intel 0000:02:00.0: rirb content @ 132 : 0 0
[ 4039.477476] snd_hda_intel 0000:02:00.0: rirb content @ 133 : 0 0
[ 4039.477477] snd_hda_intel 0000:02:00.0: rirb content @ 134 : 0 0
[ 4039.477478] snd_hda_intel 0000:02:00.0: rirb content @ 135 : 0 0
[ 4039.477478] snd_hda_intel 0000:02:00.0: rirb content @ 136 : 0 0
[ 4039.477479] snd_hda_intel 0000:02:00.0: rirb content @ 137 : 0 0
[ 4039.477480] snd_hda_intel 0000:02:00.0: rirb content @ 138 : 0 0
[ 4039.477481] snd_hda_intel 0000:02:00.0: rirb content @ 139 : 0 0
[ 4039.477481] snd_hda_intel 0000:02:00.0: rirb content @ 140 : 0 0
[ 4039.477482] snd_hda_intel 0000:02:00.0: rirb content @ 141 : 0 0
[ 4039.477483] snd_hda_intel 0000:02:00.0: rirb content @ 142 : 0 0
[ 4039.477484] snd_hda_intel 0000:02:00.0: rirb content @ 143 : 0 0
[ 4039.477484] snd_hda_intel 0000:02:00.0: rirb content @ 144 : 0 0
[ 4039.477485] snd_hda_intel 0000:02:00.0: rirb content @ 145 : 0 0
[ 4039.477486] snd_hda_intel 0000:02:00.0: rirb content @ 146 : 0 0
[ 4039.477487] snd_hda_intel 0000:02:00.0: rirb content @ 147 : 0 0
[ 4039.477487] snd_hda_intel 0000:02:00.0: rirb content @ 148 : 0 0
[ 4039.477488] snd_hda_intel 0000:02:00.0: rirb content @ 149 : 0 0
[ 4039.477489] snd_hda_intel 0000:02:00.0: rirb content @ 150 : 0 0
[ 4039.477490] snd_hda_intel 0000:02:00.0: rirb content @ 151 : 0 0
[ 4039.477490] snd_hda_intel 0000:02:00.0: rirb content @ 152 : 0 0
[ 4039.477491] snd_hda_intel 0000:02:00.0: rirb content @ 153 : 0 0
[ 4039.477492] snd_hda_intel 0000:02:00.0: rirb content @ 154 : 0 0
[ 4039.477493] snd_hda_intel 0000:02:00.0: rirb content @ 155 : 0 0
[ 4039.477494] snd_hda_intel 0000:02:00.0: rirb content @ 156 : 0 0
[ 4039.477494] snd_hda_intel 0000:02:00.0: rirb content @ 157 : 0 0
[ 4039.477495] snd_hda_intel 0000:02:00.0: rirb content @ 158 : 0 0
[ 4039.477496] snd_hda_intel 0000:02:00.0: rirb content @ 159 : 0 0
[ 4039.477497] snd_hda_intel 0000:02:00.0: rirb content @ 160 : 0 0
[ 4039.477497] snd_hda_intel 0000:02:00.0: rirb content @ 161 : 0 0
[ 4039.477498] snd_hda_intel 0000:02:00.0: rirb content @ 162 : 0 0
[ 4039.477499] snd_hda_intel 0000:02:00.0: rirb content @ 163 : 0 0
[ 4039.477500] snd_hda_intel 0000:02:00.0: rirb content @ 164 : 0 0
[ 4039.477501] snd_hda_intel 0000:02:00.0: rirb content @ 165 : 0 0
[ 4039.477501] snd_hda_intel 0000:02:00.0: rirb content @ 166 : 0 0
[ 4039.477502] snd_hda_intel 0000:02:00.0: rirb content @ 167 : 0 0
[ 4039.477503] snd_hda_intel 0000:02:00.0: rirb content @ 168 : 0 0
[ 4039.477504] snd_hda_intel 0000:02:00.0: rirb content @ 169 : 0 0
[ 4039.477504] snd_hda_intel 0000:02:00.0: rirb content @ 170 : 0 0
[ 4039.477505] snd_hda_intel 0000:02:00.0: rirb content @ 171 : 0 0
[ 4039.477506] snd_hda_intel 0000:02:00.0: rirb content @ 172 : 0 0
[ 4039.477507] snd_hda_intel 0000:02:00.0: rirb content @ 173 : 0 0
[ 4039.477507] snd_hda_intel 0000:02:00.0: rirb content @ 174 : 0 0
[ 4039.477508] snd_hda_intel 0000:02:00.0: rirb content @ 175 : 0 0
[ 4039.477509] snd_hda_intel 0000:02:00.0: rirb content @ 176 : 0 0
[ 4039.477510] snd_hda_intel 0000:02:00.0: rirb content @ 177 : 0 0
[ 4039.477510] snd_hda_intel 0000:02:00.0: rirb content @ 178 : 0 0
[ 4039.477511] snd_hda_intel 0000:02:00.0: rirb content @ 179 : 0 0
[ 4039.477512] snd_hda_intel 0000:02:00.0: rirb content @ 180 : 0 0
[ 4039.477513] snd_hda_intel 0000:02:00.0: rirb content @ 181 : 0 0
[ 4039.477513] snd_hda_intel 0000:02:00.0: rirb content @ 182 : 0 0
[ 4039.477514] snd_hda_intel 0000:02:00.0: rirb content @ 183 : 0 0
[ 4039.477515] snd_hda_intel 0000:02:00.0: rirb content @ 184 : 0 0
[ 4039.477516] snd_hda_intel 0000:02:00.0: rirb content @ 185 : 0 0
[ 4039.477516] snd_hda_intel 0000:02:00.0: rirb content @ 186 : 0 0
[ 4039.477517] snd_hda_intel 0000:02:00.0: rirb content @ 187 : 0 0
[ 4039.477518] snd_hda_intel 0000:02:00.0: rirb content @ 188 : 0 0
[ 4039.477519] snd_hda_intel 0000:02:00.0: rirb content @ 189 : 0 0
[ 4039.477520] snd_hda_intel 0000:02:00.0: rirb content @ 190 : 0 0
[ 4039.477521] snd_hda_intel 0000:02:00.0: rirb content @ 191 : 0 0
[ 4039.477522] snd_hda_intel 0000:02:00.0: rirb content @ 192 : 0 0
[ 4039.477522] snd_hda_intel 0000:02:00.0: rirb content @ 193 : 0 0
[ 4039.477523] snd_hda_intel 0000:02:00.0: rirb content @ 194 : 0 0
[ 4039.477524] snd_hda_intel 0000:02:00.0: rirb content @ 195 : 0 0
[ 4039.477525] snd_hda_intel 0000:02:00.0: rirb content @ 196 : 0 0
[ 4039.477526] snd_hda_intel 0000:02:00.0: rirb content @ 197 : 0 0
[ 4039.477526] snd_hda_intel 0000:02:00.0: rirb content @ 198 : 0 0
[ 4039.477527] snd_hda_intel 0000:02:00.0: rirb content @ 199 : 0 0
[ 4039.477528] snd_hda_intel 0000:02:00.0: rirb content @ 200 : 0 0
[ 4039.477529] snd_hda_intel 0000:02:00.0: rirb content @ 201 : 0 0
[ 4039.477529] snd_hda_intel 0000:02:00.0: rirb content @ 202 : 0 0
[ 4039.477530] snd_hda_intel 0000:02:00.0: rirb content @ 203 : 0 0
[ 4039.477531] snd_hda_intel 0000:02:00.0: rirb content @ 204 : 0 0
[ 4039.477532] snd_hda_intel 0000:02:00.0: rirb content @ 205 : 0 0
[ 4039.477532] snd_hda_intel 0000:02:00.0: rirb content @ 206 : 0 0
[ 4039.477533] snd_hda_intel 0000:02:00.0: rirb content @ 207 : 0 0
[ 4039.477534] snd_hda_intel 0000:02:00.0: rirb content @ 208 : 0 0
[ 4039.477535] snd_hda_intel 0000:02:00.0: rirb content @ 209 : 0 0
[ 4039.477535] snd_hda_intel 0000:02:00.0: rirb content @ 210 : 0 0
[ 4039.477536] snd_hda_intel 0000:02:00.0: rirb content @ 211 : 0 0
[ 4039.477537] snd_hda_intel 0000:02:00.0: rirb content @ 212 : 0 0
[ 4039.477538] snd_hda_intel 0000:02:00.0: rirb content @ 213 : 0 0
[ 4039.477538] snd_hda_intel 0000:02:00.0: rirb content @ 214 : 0 0
[ 4039.477539] snd_hda_intel 0000:02:00.0: rirb content @ 215 : 0 0
[ 4039.477540] snd_hda_intel 0000:02:00.0: rirb content @ 216 : 0 0
[ 4039.477541] snd_hda_intel 0000:02:00.0: rirb content @ 217 : 0 0
[ 4039.477541] snd_hda_intel 0000:02:00.0: rirb content @ 218 : 0 0
[ 4039.477542] snd_hda_intel 0000:02:00.0: rirb content @ 219 : 0 0
[ 4039.477543] snd_hda_intel 0000:02:00.0: rirb content @ 220 : 0 0
[ 4039.477544] snd_hda_intel 0000:02:00.0: rirb content @ 221 : 0 0
[ 4039.477544] snd_hda_intel 0000:02:00.0: rirb content @ 222 : 0 0
[ 4039.477545] snd_hda_intel 0000:02:00.0: rirb content @ 223 : 0 0
[ 4039.477546] snd_hda_intel 0000:02:00.0: rirb content @ 224 : 0 0
[ 4039.477547] snd_hda_intel 0000:02:00.0: rirb content @ 225 : 0 0
[ 4039.477547] snd_hda_intel 0000:02:00.0: rirb content @ 226 : 0 0
[ 4039.477548] snd_hda_intel 0000:02:00.0: rirb content @ 227 : 0 0
[ 4039.477549] snd_hda_intel 0000:02:00.0: rirb content @ 228 : 0 0
[ 4039.477550] snd_hda_intel 0000:02:00.0: rirb content @ 229 : 0 0
[ 4039.477550] snd_hda_intel 0000:02:00.0: rirb content @ 230 : 0 0
[ 4039.477551] snd_hda_intel 0000:02:00.0: rirb content @ 231 : 0 0
[ 4039.477552] snd_hda_intel 0000:02:00.0: rirb content @ 232 : 0 0
[ 4039.477553] snd_hda_intel 0000:02:00.0: rirb content @ 233 : 0 0
[ 4039.477553] snd_hda_intel 0000:02:00.0: rirb content @ 234 : 0 0
[ 4039.477554] snd_hda_intel 0000:02:00.0: rirb content @ 235 : 0 0
[ 4039.477555] snd_hda_intel 0000:02:00.0: rirb content @ 236 : 0 0
[ 4039.477556] snd_hda_intel 0000:02:00.0: rirb content @ 237 : 0 0
[ 4039.477556] snd_hda_intel 0000:02:00.0: rirb content @ 238 : 0 0
[ 4039.477557] snd_hda_intel 0000:02:00.0: rirb content @ 239 : 0 0
[ 4039.477558] snd_hda_intel 0000:02:00.0: rirb content @ 240 : 0 0
[ 4039.477559] snd_hda_intel 0000:02:00.0: rirb content @ 241 : 0 0
[ 4039.477559] snd_hda_intel 0000:02:00.0: rirb content @ 242 : 0 0
[ 4039.477560] snd_hda_intel 0000:02:00.0: rirb content @ 243 : 0 0
[ 4039.477561] snd_hda_intel 0000:02:00.0: rirb content @ 244 : 0 0
[ 4039.477562] snd_hda_intel 0000:02:00.0: rirb content @ 245 : 0 0
[ 4039.477562] snd_hda_intel 0000:02:00.0: rirb content @ 246 : 0 0
[ 4039.477563] snd_hda_intel 0000:02:00.0: rirb content @ 247 : 0 0
[ 4039.477564] snd_hda_intel 0000:02:00.0: rirb content @ 248 : 0 0
[ 4039.477565] snd_hda_intel 0000:02:00.0: rirb content @ 249 : 0 0
[ 4039.477565] snd_hda_intel 0000:02:00.0: rirb content @ 250 : 0 0
[ 4039.477566] snd_hda_intel 0000:02:00.0: rirb content @ 251 : 0 0
[ 4039.477567] snd_hda_intel 0000:02:00.0: rirb content @ 252 : 0 0
[ 4039.477568] snd_hda_intel 0000:02:00.0: rirb content @ 253 : 0 0
[ 4039.477568] snd_hda_intel 0000:02:00.0: rirb content @ 254 : 0 0
[ 4039.477569] snd_hda_intel 0000:02:00.0: rirb content @ 255 : 0 0
[ 4039.477570] snd_hda_intel 0000:02:00.0: rirb pos 2 : 0 0
[ 4039.477571] snd_hda_intel 0000:02:00.0: spurious response 0x0:0x0, rp = 2, wp = 2
[ 4039.477572] ------------[ cut here ]------------
[ 4039.477575] WARNING: CPU: 0 PID: 0 at sound/pci/hda/hda_controller.c:1212 azx_update_rirb+0x1a5/0x220 [snd_hda_controller]()
[ 4039.477576] BUG?
[ 4039.477576] Modules linked in: snd_hda_intel snd_hda_controller snd_hda_codec_generic snd_hda_codec snd_hwdep snd_pcm nls_utf8 isofs fuse ip6t_rpfilter bnep bluetooth ip6t_REJECT cfg80211 xt_conntrack rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw x86_pkg_temp_thermal coretemp kvm_intel vfat fat uas kvm usb_storage mxm_wmi snd_seq snd_seq_device crct10dif_pclmul crc32_pclmul crc32c_intel joydev snd_timer ghash_clmulni_intel mei_me snd mei microcode serio_raw pcspkr soundcore shpchp wmi video i2c_hid dw_dmac dw_dmac_core i2c_designware_platform
[ 4039.477599]  acpi_pad i2c_designware_core radeon i2c_algo_bit drm_kms_helper ttm drm sdhci_acpi sdhci mmc_core alx i2c_core mdio [last unloaded: snd_hda_controller]
[ 4039.477605] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W     3.16.0-rc4+ #2
[ 4039.477606] Hardware name: Gigabyte Technology Co., Ltd. G1.Sniper Z97/G1.Sniper Z97, BIOS F6 05/30/2014
[ 4039.477607]  0000000000000000 92922082461d2d28 ffff88021ec03d90 ffffffff816ff2e2
[ 4039.477608]  ffff88021ec03dd8 ffff88021ec03dc8 ffffffff8108bead ffff8800d79d3800
[ 4039.477609]  0000000000000000 0000000000000002 0000000000000000 0000000000000000
[ 4039.477611] Call Trace:
[ 4039.477612]  <IRQ>  [<ffffffff816ff2e2>] dump_stack+0x45/0x56
[ 4039.477617]  [<ffffffff8108bead>] warn_slowpath_common+0x7d/0xa0
[ 4039.477619]  [<ffffffff8108bf2c>] warn_slowpath_fmt+0x5c/0x80
[ 4039.477620]  [<ffffffffa0304645>] azx_update_rirb+0x1a5/0x220 [snd_hda_controller]
[ 4039.477622]  [<ffffffffa03048c9>] azx_interrupt+0x179/0x1c0 [snd_hda_controller]
[ 4039.477624]  [<ffffffff810e697e>] handle_irq_event_percpu+0x3e/0x1a0
[ 4039.477626]  [<ffffffff810e6b16>] handle_irq_event+0x36/0x60
[ 4039.477628]  [<ffffffff810e9ebc>] handle_fasteoi_irq+0x7c/0x140
[ 4039.477631]  [<ffffffff81015eff>] handle_irq+0xbf/0x150
[ 4039.477633]  [<ffffffff810b33fa>] ? atomic_notifier_call_chain+0x1a/0x20
[ 4039.477636]  [<ffffffff8170968f>] do_IRQ+0x4f/0xf0
[ 4039.477637]  [<ffffffff8170746d>] common_interrupt+0x6d/0x6d
[ 4039.477638]  <EOI>  [<ffffffff81597792>] ? cpuidle_enter_state+0x52/0xc0
[ 4039.477641]  [<ffffffff815978b7>] cpuidle_enter+0x17/0x20
[ 4039.477643]  [<ffffffff810d3035>] cpu_startup_entry+0x315/0x440
[ 4039.477646]  [<ffffffff816f1427>] rest_init+0x77/0x80
[ 4039.477649]  [<ffffffff81d280e1>] start_kernel+0x465/0x486
[ 4039.477651]  [<ffffffff81d27a85>] ? set_init_arg+0x53/0x53
[ 4039.477652]  [<ffffffff81d27120>] ? early_idt_handlers+0x120/0x120
[ 4039.477654]  [<ffffffff81d275ee>] x86_64_start_reservations+0x2a/0x2c
[ 4039.477655]  [<ffffffff81d2773d>] x86_64_start_kernel+0x14d/0x170
[ 4039.477656] ---[ end trace 63c0b6054db2a1eb ]---

Regards,
Vincent

#1 lore raw

At Sun, 3 Aug 2014 14:05:44 -0700,

Quoted 8 lines · Vincent Lejeune

Hi,

I just found this thread http://thread.gmane.org/gmane.linux.alsa.devel/116096
I'm trying to find what can make the CMI8888 not work in non single_cmd mode and it looks more and more like a DMA issue.
I don't have an "iommu mode" option in my bios like Geoffrey McRae, it looks like an AMD only option, and using bigger page size/alignement constraint didnt solve the issue. However I added some code to dump the content of the rirb buffer in the update_rirb() function and I copied it below.

Quoted 4 lines

The first command seems to be correctly handled the second time it is send to the hardware. As the AZX_DCAPS_*DELAY_RIRB doesnt change anything, I'm starting to think that the corb engine may require some delay to be processed.
Is there a way to spy the dma transfer request from the device point of view ? I'd like to know when the cmi8888 request a dma read from the corb buffer and when it requests a dma write to the rirb buffer to determine if it parses the corb buffer correctly or not.

Well, if the CORB RP is updated, it essentially means that the CORB has been updated. Did you already try snoop=false option? Also, AZX_DCAPS_RIRB_PRE_DELAY might be worth to try.

Quoted 2 lines

In addition the first value returned is very odd : 13f68888. The pci id of the phoebus is 13f6:5011. What does the 100f0001 cmd mean ? hda-decode-verb tells me the verb is "0x0"...

This is the codec IDs, which is often different from the PCI IDs.

thanks,

Takashi

#2 lore raw

Thanks, it almost works now !

Actually it requires the AZX_DCAPS_NO_MSI (otherwise dma doesnt work) and AZX_DCAPS_POSFIX_LPIB (otherwise sound is stuttered) and no snoop.
There is still an issue with the sound volume : it's very low, I have to put my speakers to 100% of their power to actually hear something. Otherwise sound is ok, no more crakling as with single_cmd mode.

Dmesg also complains about a db Mismatch, I suspect it's related to the issue. If I remove the patching ops in snd_hda_codec_build_controls the error goes away but there is no more sound and the digital output control disappear too. I dont know which patch is applied (cmedia ?).

[    2.483128] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.483238] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[    2.483282] snd_hda_intel 0000:01:00.1: irq 50 for MSI/MSI-X
[    2.483454] snd_hda_intel 0000:02:00.0: enabling device (0000 -> 0002)
[    2.483494] snd_hda_intel 0000:02:00.0: Disabling MSI
[    2.489701] snd_hda_intel 0000:01:00.1: no codecs initialized
[    2.511016] sound hdaudioC1D1: autoconfig: line_outs=4 (0xc/0xe/0xd/0xf/0x0) type:line
[    2.511018] sound hdaudioC1D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.511019] sound hdaudioC1D1:    hp_outs=1 (0x10/0x0/0x0/0x0/0x0)
[    2.511020] sound hdaudioC1D1:    mono: mono_out=0x0
[    2.511021] sound hdaudioC1D1:    dig-out=0x14/0x0
[    2.511021] sound hdaudioC1D1:    inputs:
[    2.511022] sound hdaudioC1D1:      Mic=0x12
[    2.511023] sound hdaudioC1D1:      Line=0x15
[    2.511024] sound hdaudioC1D1:      Aux=0x13
[    2.523844] ALSA sound/pci/hda/hda_codec.c:2792 hda_codec: Mismatching dB step for vmaster slave (-100!=1000)

Regards,
Vincent

Quoted 37 lines · Takashi Iwai

At Sun, 3 Aug 2014 14:05:44 -0700,

Quoted 8 lines · Vincent Lejeune

Hi,

I just found this thread http://thread.gmane.org/gmane.linux.alsa.devel/116096
I'm trying to find what can make the CMI8888 not work in non single_cmd mode and it looks more and more like a DMA issue.
I don't have an "iommu mode" option in my bios like Geoffrey McRae, it looks like an AMD only option, and using bigger page size/alignement constraint didnt solve the issue. However I added some code to dump the content of the rirb buffer in the update_rirb() function and I copied it below.

Quoted 4 lines

The first command seems to be correctly handled the second time it is send to the hardware. As the AZX_DCAPS_*DELAY_RIRB doesnt change anything, I'm starting to think that the corb engine may require some delay to be processed.
Is there a way to spy the dma transfer request from the device point of view ? I'd like to know when the cmi8888 request a dma read from the corb buffer and when it requests a dma write to the rirb buffer to determine if it parses the corb buffer correctly or not.

Well, if the CORB RP is updated, it essentially means that the CORB has been updated.  Did you already try snoop=false option? Also,  AZX_DCAPS_RIRB_PRE_DELAY might be worth to try.

Quoted 2 lines

In addition the first value returned is very odd : 13f68888. The pci id of the phoebus is 13f6:5011. What does the 100f0001 cmd mean ? hda-decode-verb tells me the verb is "0x0"...

This is the codec IDs, which is often different from the PCI IDs.

thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw

By the way the sound volume is correct with spif output. The issue only occur with analog outputs (either speakrs or headphone)

Quoted 9 lines · Vincent Lejeune

Thanks, it almost works now !

Actually it requires the AZX_DCAPS_NO_MSI (otherwise dma doesnt work) and AZX_DCAPS_POSFIX_LPIB (otherwise sound is stuttered) and no snoop.
There is still an issue with the sound volume : it's very low, I have to put my speakers to 100% of their power to actually hear something. Otherwise sound is ok, no more crakling as with single_cmd mode.

Quoted 7 lines

Dmesg also complains about a db Mismatch, I suspect it's related to the issue. If I remove the patching ops in snd_hda_codec_build_controls the error goes away but there is no more sound and the digital output control disappear too. I dont know which patch is applied (cmedia ?).

[    2.483128] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002) [    2.483238] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client [    2.483282] snd_hda_intel

0000:01:00.1: irq 50 for MSI/MSI-X

Quoted 9 lines

[    2.483454] snd_hda_intel 0000:02:00.0: enabling device (0000 -> 0002)
[    2.483494] snd_hda_intel 0000:02:00.0: Disabling MSI
[    2.489701] snd_hda_intel 0000:01:00.1: no codecs initialized
[    2.511016] sound hdaudioC1D1: autoconfig: line_outs=4 (0xc/0xe/0xd/0xf/0x0) type:line [    2.511018] sound hdaudioC1D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.511019] sound hdaudioC1D1:    hp_outs=1 (0x10/0x0/0x0/0x0/0x0)
[    2.511020] sound hdaudioC1D1:    mono: mono_out=0x0
[    2.511021] sound hdaudioC1D1:    dig-out=0x14/0x0
[

2.511021] sound hdaudioC1D1:    inputs:

Quoted 6 lines

[    2.511022] sound hdaudioC1D1:      Mic=0x12
[    2.511023] sound hdaudioC1D1:      Line=0x15
[    2.511024] sound hdaudioC1D1:      Aux=0x13
[    2.523844] ALSA sound/pci/hda/hda_codec.c:2792 hda_codec: Mismatching dB step for vmaster slave (-100!=1000)

Quoted 20 lines

Regards,
Vincent

Quoted 11 lines · Takashi Iwai

At Sun, 3 Aug 2014 14:05:44 -0700,

Quoted 7 lines · Vincent Lejeune

Hi,

I just found this thread http://thread.gmane.org/gmane.linux.alsa.devel/116096
I'm trying to find what can make the CMI8888 not work in non single_cmd mode and it looks more and more like a DMA issue.
I don't have an "iommu mode" option in my bios like Geoffrey McRae, it looks like an AMD only option, and using bigger page size/alignement constraint didnt solve the issue. However I added some code to dump the content of the rirb buffer in the update_rirb() function and I copied it

below.

Quoted 11 lines
Quoted 11 lines
Quoted 5 lines

The first command seems to be correctly handled the second time it is send to the hardware. As the AZX_DCAPS_*DELAY_RIRB doesnt change anything, I'm starting to think that the corb engine may require some delay to be processed.
Is there a way to spy the dma transfer request from the device point of view ? I'd like to know when the cmi8888 request a dma read from the corb buffer and when it requests a dma write to the rirb buffer to determine if it parses the corb buffer correctly or not.

Well, if the CORB RP is updated, it essentially means that the CORB has been updated.  Did you already try snoop=false option? Also,  AZX_DCAPS_RIRB_PRE_DELAY might be worth to try.

Quoted 1 line

In addition

the first value returned is very odd : 13f68888. The pci id of the phoebus is 13f6:5011.

Quoted 17 lines
Quoted 15 lines
Quoted 1 line

What does the 100f0001 cmd mean ? hda-decode-verb tells me the verb is "0x0"...

This is the codec IDs, which is often different from the PCI IDs.

thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#4 lore raw
In reply to Vincent Lejeune

At Mon, 4 Aug 2014 11:30:31 -0700,

Quoted 9 lines · Vincent Lejeune

Thanks, it almost works now !

Actually it requires the AZX_DCAPS_NO_MSI (otherwise dma doesnt work) and AZX_DCAPS_POSFIX_LPIB (otherwise sound is stuttered) and no snoop.
There is still an issue with the sound volume : it's very low, I have to put my speakers to 100% of their power to actually hear something. Otherwise sound is ok, no more crakling as with single_cmd mode.

Dmesg also complains about a db Mismatch, I suspect it's related to the issue. If I remove the patching ops in snd_hda_codec_build_controls the error goes away but there is no more sound and the digital output control disappear too. I dont know which patch is applied (cmedia ?).

Quoted 16 lines

[    2.483128] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.483238] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[    2.483282] snd_hda_intel 0000:01:00.1: irq 50 for MSI/MSI-X
[    2.483454] snd_hda_intel 0000:02:00.0: enabling device (0000 -> 0002)
[    2.483494] snd_hda_intel 0000:02:00.0: Disabling MSI
[    2.489701] snd_hda_intel 0000:01:00.1: no codecs initialized
[    2.511016] sound hdaudioC1D1: autoconfig: line_outs=4 (0xc/0xe/0xd/0xf/0x0) type:line
[    2.511018] sound hdaudioC1D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.511019] sound hdaudioC1D1:    hp_outs=1 (0x10/0x0/0x0/0x0/0x0)
[    2.511020] sound hdaudioC1D1:    mono: mono_out=0x0
[    2.511021] sound hdaudioC1D1:    dig-out=0x14/0x0
[    2.511021] sound hdaudioC1D1:    inputs:
[    2.511022] sound hdaudioC1D1:      Mic=0x12
[    2.511023] sound hdaudioC1D1:      Line=0x15
[    2.511024] sound hdaudioC1D1:      Aux=0x13
[    2.523844] ALSA sound/pci/hda/hda_codec.c:2792 hda_codec: Mismatching dB step for vmaster slave (-100!=1000)

Could you give alsa-info.sh output with the patched kernel and option? This should be rather the codec issue, and it's possibly a problem in the generic parser.

Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree. For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +7 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
 	AZX_DRIVER_TERA,
 	AZX_DRIVER_CTX,
 	AZX_DRIVER_CTHDA,
+	AZX_DRIVER_CMEDIA,
 	AZX_DRIVER_GENERIC,
 	AZX_NUM_DRIVERS, /* keep this as last entry */
 };
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
 	[AZX_DRIVER_TERA] = "HDA Teradici", 
 	[AZX_DRIVER_CTX] = "HDA Creative", 
 	[AZX_DRIVER_CTHDA] = "HDA Creative",
+	[AZX_DRIVER_CMEDIA] = "HDA C-Media",
 	[AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
 		snoop = false;
 		break;
 	case AZX_DRIVER_CTHDA:
+	case AZX_DRIVER_CMEDIA:
 		snoop = false;
 		break;
 	}
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {
 	  .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND |
 	  AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB },
 #endif
+	/* CM8888 */
+	{ PCI_DEVICE(0x13f6, 0x5011),
+	  .driver_data = AZX_DRIVER_CMEDIA |
+	  AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
 	/* Vortex86MX */
 	{ PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC },
 	/* VMware HDAudio */
sound/pci/hda/patch_cmedia.c +47 -0

62 lines not on this page · raw message

#7 lore raw

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Quoted 122 lines · Takashi Iwai

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.63
!!################################

!!Script ran on: Tue Aug 5 22:23:26 UTC 2014

!!Linux Distribution
!!------------------

Fedora release 20 (Heisenbug) Fedora release 20 (Heisenbug) NAME=Fedora ID=fedora PRETTY_NAME="Fedora 20 (Heisenbug)" CPE_NAME="cpe:/o:fedoraproject:fedora:20" HOME_URL="https://fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=20 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=20 Fedora release 20 (Heisenbug) Fedora release 20 (Heisenbug)

!!DMI Information
!!---------------

Manufacturer:      Gigabyte Technology Co., Ltd.
Product Name:      G1.Sniper Z97
Product Version:   To be filled by O.E.M.
Firmware Version:  F6

!!Kernel Information
!!------------------

Kernel release:    3.16.0-rc4+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes

!!ALSA Version
!!------------

Driver version:     k3.16.0-rc4+
Library version:    1.0.27.2
Utilities version:  1.0.27.2

!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_hda_intel

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)
Running - Yes

!!Soundcards recognised by ALSA
!!-----------------------------

0 [Generic ]: HDA-Intel - HD-Audio Generic

                      HD-Audio Generic at 0xf7e60000 irq 50
 1 [CMedia         ]: HDA-Intel - HDA C-Media
                      HDA C-Media at 0xf7d00000 irq 17

!!PCI Soundcards installed in the system
!!--------------------------------------

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aac8 02:00.0 Audio device: C-Media Electronics Inc CM8888 [Oxygen Express]

!!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------

01:00.1 0403: 1002:aac8

	Subsystem: 174b:aac8
--
02:00.0 0403: 13f6:5011
	Subsystem: 13f6:5011

!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel

	align_buffer_size : -1
	bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : Y

!!Module: snd_hda_intel

	align_buffer_size : -1
	bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : Y

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100500
No Modem Function Group found
Default PCM:

    rates [0x70]: 32000 44100 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D3 CLKSTOP EPSS
Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=1, channel=0
Digital: Enabled GenLevel
Digital category: 0x2
IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="ELD", index=0, device=3
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Connection: 1

     0x02

Node 0x04 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=7 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=1, device=0
Control: name="IEC958 Playback Pro Mask", index=1, device=0
Control: name="IEC958 Playback Default", index=1, device=0
Control: name="IEC958 Playback Switch", index=1, device=0
Control: name="ELD", index=0, device=7
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=02, enabled=1
Connection: 1

     0x04

Node 0x06 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=8 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=2, device=0
Control: name="IEC958 Playback Pro Mask", index=2, device=0
Control: name="IEC958 Playback Default", index=2, device=0
Control: name="IEC958 Playback Switch", index=2, device=0
Control: name="ELD", index=0, device=8
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=03, enabled=1
Connection: 1

     0x06

Node 0x08 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=9 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=3, device=0
Control: name="IEC958 Playback Pro Mask", index=3, device=0
Control: name="IEC958 Playback Default", index=3, device=0
Control: name="IEC958 Playback Switch", index=3, device=0
Control: name="ELD", index=0, device=9
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=04, enabled=1
Connection: 1

     0x08

Node 0x0a [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=10 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=4, device=0
Control: name="IEC958 Playback Pro Mask", index=4, device=0
Control: name="IEC958 Playback Default", index=4, device=0
Control: name="IEC958 Playback Switch", index=4, device=0
Control: name="ELD", index=0, device=10
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=05, enabled=1
Connection: 1

     0x0a

Node 0x0c [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=11 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=5, device=0
Control: name="IEC958 Playback Pro Mask", index=5, device=0
Control: name="IEC958 Playback Default", index=5, device=0
Control: name="IEC958 Playback Switch", index=5, device=0
Control: name="ELD", index=0, device=11
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=06, enabled=1
Connection: 1

     0x0c

Node 0x0e [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x0f [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1

     0x0e

Codec: C-Media CMI8888
Address: 1
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x13f68888
Subsystem Id: 0x104384d5
Revision Id: 0x101500
No Modem Function Group found
Default PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x2]: FLOAT

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3
Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=8, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Front Playback Volume", index=0, device=0

    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="CMI8888 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x03, mute=1
  Amp-Out vals:  [0x7f 0x7f]
  Converter: stream=4, channel=0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x03, mute=1
  Amp-Out vals:  [0x80 0x80]
  Converter: stream=4, channel=0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x03, mute=1
  Amp-Out vals:  [0x80 0x80]
  Converter: stream=4, channel=0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Side Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x03, mute=1
  Amp-Out vals:  [0x80 0x80]
  Converter: stream=4, channel=0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x9d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x6d, nsteps=0x6d, stepsize=0x03, mute=1
  Amp-Out vals:  [0x6d 0x6d]
  Converter: stream=4, channel=0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM

Unsolicited: tag=00, enabled=0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x08 [Audio Input] wcaps 0x10019b: Stereo Amp-In
Control: name="Mic Capture Volume", index=0, device=0

    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="CMI8888 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0xad 0xad]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x12
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Aux Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Aux Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Connection: 1
     0x13

Node 0x0a [Audio Output] wcaps 0x21d: Stereo Digital Amp-Out
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
Device: name="CMI8888 Digital", type="SPDIF", device=1 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Converter: stream=4, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x5]: PCM AC3
Node 0x0b [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Line Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Connection: 1
     0x15

Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
Control: name="Line Out Front Jack", index=0, device=0 Pincap 0x0000001c: OUT HP Detect
Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=05, enabled=1
Connection: 1

     0x02

Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
Control: name="Line Out CLFE Jack", index=0, device=0 Pincap 0x0000001c: OUT HP Detect
Pin Default 0x01016011: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Orange
DefAssociation = 0x1, Sequence = 0x1
Pin-ctls: 0x40: OUT
Unsolicited: tag=07, enabled=1
Connection: 1

     0x03

Node 0x0e [Pin Complex] wcaps 0x400181: Stereo
Control: name="Line Out Surround Jack", index=0, device=0 Pincap 0x0000001c: OUT HP Detect
Pin Default 0x01011012: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0x2
Pin-ctls: 0x40: OUT
Unsolicited: tag=06, enabled=1
Connection: 1

     0x04

Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
Control: name="Line Out Side Jack", index=0, device=0 Pincap 0x0000001c: OUT HP Detect
Pin Default 0x01012014: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Grey
DefAssociation = 0x1, Sequence = 0x4
Pin-ctls: 0x40: OUT
Unsolicited: tag=08, enabled=1
Connection: 1

     0x05
Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Amp Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x02, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x02214020: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x06
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0

Control: name="Mic Jack", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Pincap 0x00000024: IN Detect
Pin Default 0x02a19040: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x4, Sequence = 0x0
Pin-ctls: 0x20: IN
Unsolicited: tag=02, enabled=1
Node 0x13 [Pin Complex] wcaps 0x400001: Stereo
Control: name="Aux Phantom Jack", index=0, device=0 Pincap 0x00000020: IN
Pin Default 0x9097f170: [Fixed] Aux at Int N/A
Conn = Analog, Color = Other
DefAssociation = 0x7, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x14 [Pin Complex] wcaps 0x400300: Mono Digital
Control: name="SPDIF Phantom Jack", index=0, device=0 Pincap 0x00000010: OUT
Pin Default 0x0144f160: [Jack] SPDIF Out at Ext Rear
Conn = RCA, Color = Other
DefAssociation = 0x6, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1

     0x0a

Node 0x15 [Pin Complex] wcaps 0x400081: Stereo
Control: name="Line Jack", index=0, device=0 Pincap 0x00000024: IN Detect
Pin Default 0x01813050: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x5, Sequence = 0x0
Pin-ctls: 0x20: IN
Unsolicited: tag=03, enabled=1
--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  2 Aug  6 00:19 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 10 Aug  6 00:19 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  9 Aug  6 00:19 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 14 Aug  6 00:19 /dev/snd/hwC1D1
crw-rw----+ 1 root audio 116,  7 Aug  6 00:19 /dev/snd/pcmC0D10p
crw-rw----+ 1 root audio 116,  8 Aug  6 00:19 /dev/snd/pcmC0D11p
crw-rw----+ 1 root audio 116,  3 Aug  6 00:21 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  4 Aug  6 00:19 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116,  5 Aug  6 00:19 /dev/snd/pcmC0D8p
crw-rw----+ 1 root audio 116,  6 Aug  6 00:19 /dev/snd/pcmC0D9p
crw-rw----+ 1 root audio 116, 12 Aug  6 00:20 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116, 11 Aug  6 00:21 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116, 13 Aug  6 00:19 /dev/snd/pcmC1D1p
crw-rw----+ 1 root audio 116,  1 Aug  6 00:19 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Aug  6 00:19 /dev/snd/timer

/dev/snd/by-path:
total 0

drwxr-xr-x. 2 root root  80 Aug  6 00:19 .
drwxr-xr-x. 3 root root 360 Aug  6 00:19 ..
lrwxrwxrwx. 1 root root  12 Aug  6 00:19 pci-0000:01:00.1 -> ../controlC0
lrwxrwxrwx. 1 root root  12 Aug  6 00:19 pci-0000:02:00.0 -> ../controlC1

!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here... #

!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMedia [HDA C-Media], device 0: CMI8888 Analog [CMI8888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMedia [HDA C-Media], device 1: CMI8888 Digital [CMI8888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 1: CMedia [HDA C-Media], device 0: CMI8888 Analog [CMI8888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Generic]

Card hw:0 'Generic'/'HD-Audio Generic at 0xf7e60000 irq 50'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,00aa0100,00100500'
Controls : 43
Simple ctrls : 7
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',3
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',4
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958',5
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

!!-------Mixer controls for card 1 [CMedia]

Card hw:1 'CMedia'/'HDA C-Media at 0xf7d00000 irq 17'
Mixer name : 'C-Media CMI8888'
Components : 'HDA:13f68888,104384d5,00101500'
Controls : 41
Simple ctrls : 16
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 109
Mono:
Front Left: Playback 109 [100%] [0.00dB] [on] Front Right: Playback 109 [100%] [0.00dB] [on]
Simple mixer control 'Headphone Amp',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 2
Mono:
Front Left: Playback 0 [0%] [0.00dB]
Front Right: Playback 0 [0%] [0.00dB]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [on] Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 0 [0%] [-127.00dB] [off] Front Right: Playback 0 [0%] [-127.00dB] [off]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 0 [0%] [-127.00dB] [off]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 0 [0%] [-127.00dB] [off]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 0 [0%] [-127.00dB] [off] Front Right: Playback 0 [0%] [-127.00dB] [off]
Simple mixer control 'Line',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mic',0
Capabilities: cvolume cswitch cswitch-exclusive Capture exclusive group: 0
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 45 [98%] [29.00dB] [off] Front Right: Capture 45 [98%] [29.00dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Aux',0
Capabilities: cvolume cswitch cswitch-exclusive Capture exclusive group: 0
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'

!!Alsactl output
!!--------------

--startcollapse--

state.Generic {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0482000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface CARD
		name 'HDMI/DP,pcm=7 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface PCM
		device 7
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.13 {
		iface CARD
		name 'HDMI/DP,pcm=8 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface PCM
		device 8
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.19 {
		iface CARD
		name 'HDMI/DP,pcm=9 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.20 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 3
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.21 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 3
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 3
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 3
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		iface PCM
		device 9
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.25 {
		iface CARD
		name 'HDMI/DP,pcm=10 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 4
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 4
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 4
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 4
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface PCM
		device 10
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.31 {
		iface CARD
		name 'HDMI/DP,pcm=11 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 5
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.33 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 5
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.34 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 5
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.35 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 5
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface PCM
		device 11
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.37 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.38 {
		iface PCM
		device 7
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.39 {
		iface PCM
		device 8
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.40 {
		iface PCM
		device 9
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.41 {
		iface PCM
		device 10
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.42 {
		iface PCM
		device 11
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.43 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
state.CMedia {
	control.1 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 127
		value.1 127
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 127'
			dbmin -12700
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 127'
			dbmin -12700
			dbmax 0
			dbvalue.0 -12700
			dbvalue.1 -12700
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Center Playback Volume'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 127'
			dbmin -12700
			dbmax 0
			dbvalue.0 -12700
		}
	}
	control.6 {
		iface MIXER
		name 'LFE Playback Volume'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 127'
			dbmin -12700
			dbmax 0
			dbvalue.0 -12700
		}
	}
	control.7 {
		iface MIXER
		name 'Center Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'LFE Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'Side Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 127'
			dbmin -12700
			dbmax 0
			dbvalue.0 -12700
			dbvalue.1 -12700
		}
	}
	control.10 {
		iface MIXER
		name 'Side Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 109
		value.1 109
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 109'
			dbmin -10900
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.14 {
		iface MIXER
		name 'Capture Source'
		value Mic
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Mic
			item.1 Line
			item.2 Aux
		}
	}
	control.15 {
		iface MIXER
		name 'Mic Capture Volume'
		value.0 45
		value.1 45
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 2900
			dbvalue.1 2900
		}
	}
	control.16 {
		iface MIXER
		name 'Mic Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		iface MIXER
		name 'Line Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.18 {
		iface MIXER
		name 'Aux Capture Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1600
			dbmax 3000
			dbvalue.0 -1600
			dbvalue.1 -1600
		}
	}
	control.19 {
		iface MIXER
		name 'Aux Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.21 {
		iface MIXER
		name 'Headphone Amp Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 2'
			dbmin 0
			dbmax 2000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'Master Playback Volume'
		value 127
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 127'
			dbmin -12700
			dbmax 0
			dbvalue.0 0
		}
	}
	control.28 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface CARD
		name 'Mic Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Aux Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'Line Out Front Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out Surround Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Line Out CLFE Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Line Out Side Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access read
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.39 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.40 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.41 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}

--endcollapse--

!!All Loaded Modules
!!------------------

Module
tcp_lp
nls_utf8
isofs
fuse
ip6t_rpfilter
bnep
bluetooth
ip6t_REJECT
cfg80211
xt_conntrack
rfkill
ebtable_nat
ebtable_broute
bridge
stp
llc
ebtable_filter
ebtables
ip6table_nat
nf_conntrack_ipv6
nf_defrag_ipv6
nf_nat_ipv6
ip6table_mangle
ip6table_security
ip6table_raw
ip6table_filter
ip6_tables
iptable_nat
nf_conntrack_ipv4
nf_defrag_ipv4
nf_nat_ipv4
nf_nat
nf_conntrack
iptable_mangle
iptable_security
iptable_raw
snd_hda_codec_cmedia
x86_pkg_temp_thermal
snd_hda_codec_hdmi
snd_hda_codec_generic
coretemp
vfat
snd_hda_intel
kvm_intel
snd_hda_controller
kvm
snd_hda_codec
fat
snd_hwdep
snd_seq
mxm_wmi
snd_seq_device
snd_pcm
crct10dif_pclmul
crc32_pclmul
crc32c_intel
snd_timer
ghash_clmulni_intel
snd
mei_me
mei
microcode
joydev
serio_raw
pcspkr
soundcore
shpchp
i2c_hid
dw_dmac
i2c_designware_platform
acpi_pad
wmi
video
dw_dmac_core
i2c_designware_core
radeon
i2c_algo_bit
drm_kms_helper
ttm
drm
alx
sdhci_acpi
sdhci
mdio
mmc_core
i2c_core

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x03 0x185600f0
0x05 0x185600f0
0x07 0x185600f0
0x09 0x185600f0
0x0b 0x185600f0
0x0d 0x185600f0
0x0f 0x585600f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC1D1/init_pin_configs:
0x0c 0x01014010
0x0d 0x01016011
0x0e 0x01011012
0x0f 0x01012014
0x10 0x02214020
0x12 0x02a19040
0x13 0x9097f170
0x14 0x0144f160
0x15 0x01813050

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D1/hints:

!!ALSA/HDA dmesg
!!--------------

[    1.682865] [drm] Connector 1:
[    1.682866] [drm]   HDMI-A-1
[    1.682866] [drm]   HPD3
--
[    2.382609] alg: No test for crc32 (crc32-pclmul)
[    2.491657] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.491720] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[    2.491751] snd_hda_intel 0000:01:00.1: irq 50 for MSI/MSI-X
[    2.491788] snd_hda_intel 0000:02:00.0: enabling device (0000 -> 0002)
[    2.491819] snd_hda_intel 0000:02:00.0: Disabling MSI
[    2.491820] snd_hda_intel 0000:02:00.0: Force to non-snoop mode
[    2.511007] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
--
[    2.532017] SELinux: initialized (dev sda8, type ext4), uses xattr
[    2.534128] sound hdaudioC1D1: autoconfig: line_outs=4 (0xc/0xe/0xd/0xf/0x0) type:line
[    2.534131] sound hdaudioC1D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.534133] sound hdaudioC1D1:    hp_outs=1 (0x10/0x0/0x0/0x0/0x0)
[    2.534134] sound hdaudioC1D1:    mono: mono_out=0x0
[    2.534135] sound hdaudioC1D1:    dig-out=0x14/0x0
[    2.534137] sound hdaudioC1D1:    inputs:
[    2.534138] sound hdaudioC1D1:      Mic=0x12
[    2.534140] sound hdaudioC1D1:      Line=0x15
[    2.534141] sound hdaudioC1D1:      Aux=0x13
[    2.546869] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input13
[    2.546931] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input14
[    2.547026] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input15
[    2.547079] input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input16
[    2.547135] input: HD-Audio Generic HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input17
[    2.547245] input: HD-Audio Generic HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input18
[    2.549803] input: HDA C-Media Mic as /devices/pci0000:00/0000:00:01.1/0000:02:00.0/sound/card1/input19
[    2.549876] input: HDA C-Media Line as /devices/pci0000:00/0000:00:01.1/0000:02:00.0/sound/card1/input20
[    2.549928] input: HDA C-Media Line Out Front as /devices/pci0000:00/0000:00:01.1/0000:02:00.0/sound/card1/input21
[    2.549981] input: HDA C-Media Line Out Surround as /devices/pci0000:00/0000:00:01.1/0000:02:00.0/sound/card1/input22
[    2.550033] input: HDA C-Media Line Out CLFE as /devices/pci0000:00/0000:00:01.1/0000:02:00.0/sound/card1/input23
[    2.550085] input: HDA C-Media Line Out Side as /devices/pci0000:00/0000:00:01.1/0000:02:00.0/sound/card1/input24
[    2.550139] input: HDA C-Media Front Headphone as /devices/pci0000:00/0000:00:01.1/0000:02:00.0/sound/card1/input25
[    2.649574] Switched to clocksource tsc
--
[    4.262604] Bluetooth: BNEP socket layer initialized
[    5.044679] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.046024] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.048730] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.051017] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.053750] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.056016] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.058773] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.061007] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.062170] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[    5.064035] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.538983] fuse init (API version 7.23)
--
[   10.550424] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[   10.559091] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.560326] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.563852] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.565861] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.569312] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.571400] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.576027] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.577834] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.579424] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   10.581596] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   11.926049] ISO 9660 Extensions: Microsoft Joliet Level 3
--
[   12.208478] TCP: lp registered
[   82.684656] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
[   82.684957] ALSA sound/pci/hda/patch_hdmi.c:698 HDMI: select CA 0xb for 6-channel allocation: 
#8 lore raw

At Tue, 5 Aug 2014 15:26:20 -0700,

Quoted 3 lines · Vincent Lejeune

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Is the volume also low from the headphone output?
There is no EAPD control found in the codec pins, so the rest possibility is either GPIO or vendor-specific verbs. Try to adjust each GPIO pin on/off at first.

Takashi

Quoted 129 lines · Takashi Iwai
Quoted 124 lines

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 7 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#9 lore raw

At Wed, 06 Aug 2014 08:30:56 +0200,

Quoted 11 lines · Takashi Iwai

At Tue, 5 Aug 2014 15:26:20 -0700,

Quoted 3 lines · Vincent Lejeune

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Is the volume also low from the headphone output?
There is no EAPD control found in the codec pins, so the rest possibility is either GPIO or vendor-specific verbs. Try to adjust each GPIO pin on/off at first.

In anyway, I'm going to merge the fix patch as is. It's much better than nothing. Let's handle the too-low-volume problem separately.

Takashi

Quoted 133 lines

Takashi

Quoted 129 lines · Takashi Iwai
Quoted 124 lines

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#10 lore raw

Ok thank.

How can I change GPIOs value ? It looks like the option is not present anymore as hints string option in kernel 3.17. Looking in the realtek patch code suggest to use snd_hda_sequence_write in the patch_cmi8888 function.

Quoted 170 lines · Takashi Iwai

At Wed, 06 Aug 2014 08:30:56 +0200,

Quoted 11 lines · Takashi Iwai

At Tue, 5 Aug 2014 15:26:20 -0700,

Quoted 3 lines · Vincent Lejeune

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Is the volume also low from the headphone output?
There is no EAPD control found in the codec pins, so the rest possibility is either GPIO or vendor-specific verbs.  Try to adjust each GPIO pin on/off at first.

In anyway, I'm going to merge the fix patch as is.  It's much better than nothing.  Let's handle the too-low-volume problem separately.

Takashi

Quoted 133 lines

Takashi

Quoted 129 lines · Takashi Iwai

Quoted 122 lines

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#11 lore raw

At Wed, 6 Aug 2014 09:05:59 -0700,

Quoted 4 lines · Vincent Lejeune

Ok thank.

How can I change GPIOs value ? It looks like the option is not present anymore as hints string option in kernel 3.17. Looking in the realtek patch code suggest to use snd_hda_sequence_write in the patch_cmi8888 function.

Just use hda-verb or such to manipulate GPIO bits on the fly.

Takashi

Quoted 176 lines · Takashi Iwai
Quoted 158 lines

At Wed, 06 Aug 2014 08:30:56 +0200,

Quoted 11 lines · Takashi Iwai

At Tue, 5 Aug 2014 15:26:20 -0700,

Quoted 3 lines · Vincent Lejeune

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Is the volume also low from the headphone output?
There is no EAPD control found in the codec pins, so the rest possibility is either GPIO or vendor-specific verbs.  Try to adjust each GPIO pin on/off at first.

In anyway, I'm going to merge the fix patch as is.  It's much better than nothing.  Let's handle the too-low-volume problem separately.

Takashi

Quoted 133 lines

Takashi

Quoted 129 lines · Takashi Iwai

Quoted 122 lines

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 14 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Quoted 2 lines

[2 <text/html; iso-8859-1 (quoted-printable)>]

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#12 lore raw

It looks like GPIO mask is frozen, I don't know why :

[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 SET_GPIO_MASK 1 nid = 0x1, verb = 0x716, param = 0x1
value = 0x0
[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 GET_GPIO_MASK 1 nid = 0x1, verb = 0xf16, param = 0x1
value = 0x0
[vlj@localhost alsa]$

hwC1D1 is the phoebus  according to hda-verb /dev/snd/hwC1D1  0x1 PARAMETERS SUBSYSTEM_ID and it reports 8 input gpio

[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 PARAMETERS GPIO_CAP nid = 0x1, verb = 0xf00, param = 0x11
value = 0x80000

but with mask set to 0, I can't pass any data to them...

Quoted 200 lines · Takashi Iwai

At Wed, 6 Aug 2014 09:05:59 -0700,

Quoted 4 lines · Vincent Lejeune

Ok thank.

How can I change GPIOs value ? It looks like the option is not present anymore as hints string option in kernel 3.17. Looking in the realtek patch code suggest to use snd_hda_sequence_write in the patch_cmi8888 function.

Just use hda-verb or such to manipulate GPIO bits on the fly.

Takashi

Quoted 176 lines · Takashi Iwai

Quoted 156 lines

At Wed, 06 Aug 2014 08:30:56 +0200,

Quoted 11 lines · Takashi Iwai

At Tue, 5 Aug 2014 15:26:20 -0700,

Quoted 3 lines · Vincent Lejeune

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Is the volume also low from the headphone output?
There is no EAPD control found in the codec pins, so the rest possibility is either GPIO or vendor-specific verbs.  Try to adjust each GPIO pin on/off at first.

In anyway, I'm going to merge the fix patch as is.  It's much better than nothing.  Let's handle the too-low-volume problem separately.

Takashi

Quoted 133 lines

Takashi

Quoted 129 lines · Takashi Iwai

Quoted 122 lines

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 14 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Quoted 3 lines

[2  <text/html; iso-8859-1 (quoted-printable)>]

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#13 lore raw

At Wed, 6 Aug 2014 10:07:49 -0700,

Quoted 10 lines · Vincent Lejeune

It looks like GPIO mask is frozen, I don't know why :

[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 SET_GPIO_MASK 1 nid = 0x1, verb = 0x716, param = 0x1
value = 0x0
[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 GET_GPIO_MASK 1 nid = 0x1, verb = 0xf16, param = 0x1
value = 0x0
[vlj@localhost alsa]$

What about other bits, e.g. 0x02, 0x04, 0x08, ... 0x80?

Quoted 7 lines

hwC1D1 is the phoebus  according to hda-verb /dev/snd/hwC1D1  0x1 PARAMETERS SUBSYSTEM_ID and it reports 8 input gpio

[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 PARAMETERS GPIO_CAP nid = 0x1, verb = 0xf00, param = 0x11
value = 0x80000

I thought of the false value (-1), but the GPIO_COUNT mask is 0xff, so 0x0f must be a valid response from the codec.

Quoted 1 line

but with mask set to 0, I can't pass any data to them...

Yep.

Another thing to check is to listen from the headphone output jack. The line out jacks are set up without the headphone amp bit while the HP jack is set up with it. It might be that the HP amp bit is mandatory on this board.

Takashi

Quoted 198 lines · Takashi Iwai
Quoted 195 lines

At Wed, 6 Aug 2014 09:05:59 -0700,

Quoted 4 lines · Vincent Lejeune

Ok thank.

How can I change GPIOs value ? It looks like the option is not present anymore as hints string option in kernel 3.17. Looking in the realtek patch code suggest to use snd_hda_sequence_write in the patch_cmi8888 function.

Just use hda-verb or such to manipulate GPIO bits on the fly.

Takashi

Quoted 179 lines · Takashi Iwai

Quoted 156 lines

At Wed, 06 Aug 2014 08:30:56 +0200,

Quoted 11 lines · Takashi Iwai

At Tue, 5 Aug 2014 15:26:20 -0700,

Quoted 3 lines · Vincent Lejeune

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Is the volume also low from the headphone output?
There is no EAPD control found in the codec pins, so the rest possibility is either GPIO or vendor-specific verbs.  Try to adjust each GPIO pin on/off at first.

In anyway, I'm going to merge the fix patch as is.  It's much better than nothing.  Let's handle the too-low-volume problem separately.

Takashi

Quoted 133 lines

Takashi

Quoted 129 lines · Takashi Iwai

Quoted 122 lines

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 14 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[2  <text/html; iso-8859-1 (quoted-printable)>]

Quoted 9 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[2 <text/html; iso-8859-1 (quoted-printable)>]

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#14 lore raw

I tried with several mask (1, 0x2, 0x3, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80, 127 and 255) and with several node id (from 0x1 to 0x8), no changes.
I tried to changes some value in hda-analyzer but it doesnt look to do anything at all (I tried setting "HP" here). Some values are even reverted when I close/reopen hda-analyzer (but not HP, which stay on their enabled/disabled state) hdajackretask doest in "apply now" mode, I need to apply the boot override to remap channel, and the remapping is quite random : if I swap headphone and line out, I get front speaker output redirected on the back for instance, and nothing comes from my front speakers/headphones. I don't really understand what's going on, I doubt Windows drivers uses vendor specific verb to communicate with the device.

Vincent

Quoted 255 lines · Takashi Iwai

At Wed, 6 Aug 2014 10:07:49 -0700,

Quoted 10 lines · Vincent Lejeune

It looks like GPIO mask is frozen, I don't know why :

[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 SET_GPIO_MASK 1 nid = 0x1, verb = 0x716, param = 0x1
value = 0x0
[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 GET_GPIO_MASK 1 nid = 0x1, verb = 0xf16, param = 0x1
value = 0x0
[vlj@localhost alsa]$

What about other bits, e.g. 0x02, 0x04, 0x08, ... 0x80?

Quoted 7 lines

hwC1D1 is the phoebus  according to hda-verb /dev/snd/hwC1D1  0x1 PARAMETERS SUBSYSTEM_ID and it reports 8 input gpio

[vlj@localhost alsa]$ hda-verb /dev/snd/hwC1D1  0x1 PARAMETERS GPIO_CAP nid = 0x1, verb = 0xf00, param = 0x11
value = 0x80000

I thought of the false value (-1), but the GPIO_COUNT mask is 0xff, so 0x0f must be a valid response from the codec.

Quoted 1 line

but with mask set to 0, I can't pass any data to them...

Yep.

Another thing to check is to listen from the headphone output jack. The line out jacks are set up without the headphone amp bit while the HP jack is set up with it.  It might be that the HP amp bit is mandatory on this board.

Takashi

Quoted 199 lines · Takashi Iwai

Quoted 194 lines

At Wed, 6 Aug 2014 09:05:59 -0700,

Quoted 4 lines · Vincent Lejeune

Ok thank.

How can I change GPIOs value ? It looks like the option is not present anymore as hints string option in kernel 3.17. Looking in the realtek patch code suggest to use snd_hda_sequence_write in the patch_cmi8888 function.

Just use hda-verb or such to manipulate GPIO bits on the fly.

Takashi

Quoted 180 lines · Takashi Iwai

Quoted 156 lines

At Wed, 06 Aug 2014 08:30:56 +0200,

Quoted 11 lines · Takashi Iwai

At Tue, 5 Aug 2014 15:26:20 -0700,

Quoted 3 lines · Vincent Lejeune

With this patch, volume is still low but the error message in dmesg disappeared.
I attached an updated alsa-info.txt report. I removed the probe_mask in modprobe.conf.d file so the hdmi output of my video card also appears now.

Is the volume also low from the headphone output?
There is no EAPD control found in the codec pins, so the rest possibility is either GPIO or vendor-specific verbs.  Try to adjust each GPIO pin on/off at first.

In anyway, I'm going to merge the fix patch as is.  It's much better than nothing.  Let's handle the too-low-volume problem separately.

Takashi

Quoted 133 lines

Takashi

Quoted 129 lines · Takashi Iwai

Quoted 122 lines

At Mon, 4 Aug 2014 12:44:00 -0700,

Quoted 2 lines · Vincent Lejeune

Here it is.

OK, blow is an untested fix patch, based on the latest sound git tree.  For applying to the older kernels, you may need some manual adjustment.

Takashi

---

sound/pci/hda/hda_intel.c +1 -0
index 5db1948699d8..aa302fb03fc5 100644
@@ -265,6 +265,7 @@ enum {
     AZX_DRIVER_TERA,
     AZX_DRIVER_CTX,
     AZX_DRIVER_CTHDA,
+    AZX_DRIVER_CMEDIA,
     AZX_DRIVER_GENERIC,

    AZX_NUM_DRIVERS, /* keep this as last entry */ };

sound/pci/hda/hda_intel.c +1 -0
@@ -330,6 +331,7 @@ static char *driver_short_names[] = {
     [AZX_DRIVER_TERA] = "HDA Teradici", 
     [AZX_DRIVER_CTX] = "HDA Creative", 
     [AZX_DRIVER_CTHDA] = "HDA Creative",
+    [AZX_DRIVER_CMEDIA] = "HDA C-Media",
     [AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -1373,6 +1375,7 @@ static void azx_check_snoop_available(struct azx *chip)
         snoop = false;
         break;

    case AZX_DRIVER_CTHDA:
+    case AZX_DRIVER_CMEDIA:
        snoop = false;
        break;
    }

sound/pci/hda/hda_intel.c +0 -0
@@ -2154,6 +2157,10 @@ static const struct pci_device_id azx_ids[] = {

      .driver_data = AZX_DRIVER_CTX | AZX_DCAPS_CTX_WORKAROUND | AZX_DCAPS_RIRB_PRE_DELAY | AZX_DCAPS_POSFIX_LPIB }, #endif
+    /* CM8888 */
+    { PCI_DEVICE(0x13f6, 0x5011),
+      .driver_data = AZX_DRIVER_CMEDIA |
+      AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB },
    /* Vortex86MX */
    { PCI_DEVICE(0x17f3, 0x3010), .driver_data = AZX_DRIVER_GENERIC }, /* VMware HDAudio */

sound/pci/hda/patch_cmedia.c +46 -0
index ed3d133ffbb6..3ed5d5613bc1 100644
@@ -75,15 +75,62 @@ static int patch_cmi9880(struct hda_codec *codec)
     return err;
 }
 
+static int patch_cmi8888(struct hda_codec *codec)
+{
+    struct cmi_spec *spec;
+    struct auto_pin_cfg *cfg;
+    int err;
+
+    spec = kzalloc(sizeof(*spec), GFP_KERNEL);
+    if (!spec)
+        return -ENOMEM;
+
+    codec->spec = spec;
+    cfg = &spec->gen.autocfg;
+    snd_hda_gen_spec_init(&spec->gen);
+
+    /* mask NID 0x10 from the playback volume selection;
+     * it's a headphone boost volume handled manually below
+     */
+    spec->gen.out_vol_mask = (1ULL << 0x10);
+
+    err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0);
+    if (err < 0)
+        goto error;
+    err = snd_hda_gen_parse_auto_config(codec, cfg);
+    if (err < 0)
+        goto error;
+
+    if (get_defcfg_device(snd_hda_codec_get_pincfg(codec, 0x10)) ==
+        AC_JACK_HP_OUT) {
+        static const struct snd_kcontrol_new amp_kctl =
+            HDA_CODEC_VOLUME("Headphone Amp Playback Volume",
+                     0x10, 0, HDA_OUTPUT);
+        if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &amp_kctl)) {
+            err = -ENOMEM;
+            goto error;
+        }
+    }
+
+    codec->patch_ops = cmi_auto_patch_ops;
+    return 0;
+
+ error:
+    snd_hda_gen_free(codec);
+    return err;
+}
+
 /*
   * patch entries
   */
 static const struct hda_codec_preset snd_hda_preset_cmedia[] = {
+    { .id = 0x13f68888, .name = "CMI8888", .patch = patch_cmi8888 },
     { .id = 0x13f69880, .name = "CMI9880", .patch = patch_cmi9880 },
       { .id = 0x434d4980, .name = "CMI9880", .patch = patch_cmi9880 },

    {} /* terminator */
};

+MODULE_ALIAS("snd-hda-codec-id:13f68888");
MODULE_ALIAS("snd-hda-codec-id:13f69880");
MODULE_ALIAS("snd-hda-codec-id:434d4980");

Quoted 14 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[2  <text/html; iso-8859-1 (quoted-printable)>]

Quoted 9 lines
Quoted 7 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[2  <text/html; iso-8859-1 (quoted-printable)>]

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel