pinephone-pro: ship megi's rt5640 driver

longer term, i should switch back to the kernel driver, but first i gotta figure out why it fails...
This commit is contained in:
2025-07-19 03:40:30 +00:00
parent 88454ff073
commit d37543e9e9

View File

@@ -183,7 +183,11 @@ in
boot.extraModulePackages = [
config.boot.kernelPackages.rk818-charger #< rk818 battery/charger isn't mainline as of 2024-10-01
config.boot.kernelPackages.imx258 #< mainline imx258 camera driver has some power-on issues on PPP (imx258 1-001a: Error reading reg 0x0016: -6)
# config.boot.kernelPackages.rt5640 #< optionally use megi's rt5640 sound driver, but mainline driver seems to mostly play nice with imx258 these days
#v optionally use megi's rt5640 sound driver;
#v XXX(2025-07-18): mainline driver errors: `rt5640: 1-001c: ASoC error (-22): at snd_soc_dai_set_sysclk() on rt5640-aif1`
#v prior to this mainline driver was working fine, alongside camera/imx258, for half a year.
#v although this fixes the dmesg errors, it causes pipewire/wireplumber to crash-loop.
config.boot.kernelPackages.rt5640
];
# default nixos behavior is to error if a kernel module is provided by more than one package.