Gah0 / android_kernel_xiaomi_libra

//2019.7-Backport EAS-sched governor //2020.1-Backport 3.18.y & f2fs-4.18.y //2021.2-split device tree attempt to rebase on upstream 5.11.y for support //Above in 2020.1 work now apply in Mi-4c (Libra) with **MSM8992 geekbench5 highEST score KERNEL**, arthor by byzyb!
https://browser.geekbench.com/v5/cpu/12459394
Other
8 stars 3 forks source link

bug: wcd9330 dosen't work on miui #8

Open Gah0 opened 4 years ago

Gah0 commented 4 years ago

branch of miui-n

miui-n base on cafest

all device was booted 29 days ago,but sound couldn't work...

logcat

11-22 04:23:56.701 W/WiredAccessoryManager( 1177): This kernel does not have usb audio support
11-22 04:23:56.701 W/WiredAccessoryManager( 1177): This kernel does not have HDMI audio support
11-22 04:33:38.644 D/AudioDaemon(  596): Opening sound card state : /proc/asound/card---/state
11-22 04:33:38.645 E/AudioDaemon(  596): Open /proc/asound/card---/state failed : No such file or directory
11-22 04:33:38.645 V/AudioDaemon(  596): bool android::AudioDaemon::getStateFDs(std::vector<std::pair<int, int> > &): 0 sound cards detected
11-22 04:33:38.645 E/AudioDaemon(  596): Sleeping for 100 ms

dmesg

[    7.818669] msm8994-asoc-snd fe034000.sound: ASoC: CODEC tomtom_codec not registered
[    7.818722] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral

kmsg

[    5.299813] msm8994-asoc-snd fe034000.sound: ASoC: CODEC tomtom_codec not registered
[    5.323892]   No soundcards found.

defconfig

CONFIG_SND_SOC_MSM8992=y CONFIG_SND_SOC_CPE=y CONFIG_SND_SOC_MSM_HOSTLESS_PCM=y CONFIG_SND_SOC_WCD9330=y CONFIG_SND_SOC_WCD9XXX=y CONFIG_SND_SOC_WCD_CPE=y CONFIG_SND_SOC_MSM_STUB=y CONFIG_SND_SOC_MSM_HDMI_CODEC_RX=y

NOT Related commit

threader commented 3 years ago

I'm trying to bring up LA.BR.1.3.7.c25 added to xperia's so called unified kernel (z1 8974 to z5 8994) LA.BR.1.3.3, so far i've got the same issue, i also found that: 505510e59c86ff283a2eb743f679debc6698d1ed 'clocksource: arch_timer: make virtual counter access configurable' caused

<6>[ 10.479964] init[1]: undefined instruction: pc=0000007fa4d704c8' at least trying aosp 7.1 that f2fs patch doesn't apply to the revision currently though ;(
Gah0 commented 2 years ago

I'm trying to bring up LA.BR.1.3.7.c25 added to xperia's so called unified kernel (z1 8974 to z5 8994) LA.BR.1.3.3, so far i've got the same issue, i also found that: 505510e 'clocksource: arch_timer: make virtual counter access configurable' caused <6>[ 10.479964] init[1]: undefined instruction: pc=0000007fa4d704c8' at least trying aosp 7.1 that f2fs patch doesn't apply to the revision currently though ;(

According to your describe,kernel message early print

"undefined instruction: pc=%p\n"

may come from kernel arch timer startup phase.

As for f2fs, you‘d better watching the f2fs upstream history and modify your kernel side. This repository is not a general backport. It has changed pick a lot from kernel upstream with my changes...