BayTrail的坑

[    3.420663] byt-max98090 byt-max98090: ASoC: CPU DAI baytrail-pcm-audio not registered
[    3.420667] byt-max98090 byt-max98090: snd_soc_register_card failed -517
[    3.505207] max98090 i2c-193C9890:00: MAX98090 REVID=0x43
[    3.508171] max98090 i2c-193C9890:00: use default 2.8v micbias
[    3.510002] byt-max98090 byt-max98090: ASoC: failed to init Baytrail Audio: -2
[    3.510004] byt-max98090 byt-max98090: ASoC: failed to instantiate card -2
[    3.510110] byt-max98090 byt-max98090: snd_soc_register_card failed -2
[    3.510119] byt-max98090: probe of byt-max98090 failed with error -2
[    5.982367] mei_txe 0000:00:1a.0: reset: reached maximal consecutive resets: disabling the device

只会出现在4.5以上,Arch改了编译参数取消了这个驱动,是个bug。FS#48936


P.S. 尽管Archwiki 在Toshiba Chromebook 2页面中提到了开启CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH编译参数,然而经过多次测试(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH=m)最终仍会复现如上的bug。(如有错误欢迎指出)。


P.P.S.关于编译内核:修改abs的PKGBUILD文件,prepare中取消注释make menuconfig/make xconfig/make gconfig中的任意一个,不要直接修改config.x86_64文件(此文件有SHA256校验并且复制后会被修改),也可在最后的build中添加-jn以加快编译速度(打死