aarch64-laptops / build

Build an Linux OS based image
234 stars 55 forks source link

kernel 5.7.6 breaks sound #48

Open bm16ton opened 4 years ago

bm16ton commented 4 years ago

I saw a diff new? set ucm2 files at https://github.com/Srinivas-Kandagatla/alsa-ucm-conf/tree/C630 tried those but no help; error;

msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <-> MultiMedia1 mapping ok msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <-> MultiMedia2 mapping ok msm-snd-sdm845 soc@0:sound: CPU DAI SLIMBUS_0_RX for rtd SLIM Playback does not support capture msm-snd-sdm845 soc@0:sound: ASoC: can't create pcm SLIM Playback :-22 msm-snd-sdm845 soc@0:sound: Sound card registration failed msm-snd-sdm845: probe of soc@0:sound failed with error -22

removed checks from sound/soc/soc-pcm.c and sound/soc/sof/nocodec.c and i have sound again. still need to boot with /var/lib/alsa/asound.state set to headphones out to have sound on everyboot.

unrelated to sound needed to change; drivers/net/wireless/ath/regd.c ; if (reg->current_rd != COUNTRY_ERD_FLAG && reg->current_rd != 0) to if (reg->current_rd != COUNTRY_ERD_FLAG) or id have strange reg domain issues that could even lead to firmware crashes in certain situations.

my current kernel with horrible git commits (just earning git) and directions files for sound etc https://github.com/bm16ton/yoga-c630-linux-kernel